arthurkushman/buildsqlx
Go database query builder library for PostgreSQL
30 Releases
Latest: 2y ago
#54: Add RenameIndex method + testsv1.0.6Latest
Fix shadowing by renaming constants in builder.gov1.0.5
Change Pluck/PluckMap to return slice/map of structsv1.0.4
#102: Change Chunk method to accept struct and returning slice of those structsv1.0.3
#102: Change Chunk method to accept struct and returning slice of those structs Add common abstract method with EachToStruct processing data Add more tests to cover errs
#100: Change First/Value/Find to accept structsv1.0.2
📋 Changes
- Change First/Value/Find to accept structs
- Fix column name misspelling if in upper-case (ID, URL etc)
#98: Change `InsertBatch` to accept slice of structsv1.0.1
Add ScanStruct and EachToStruct/Next to parse SQL-query results into custom structsv1.0.0
📋 Changes
- Add ScanStruct and EachToStruct/Next to parse SQL-query results
- Change Insert/Update to accept structs with data
Fix transaction dependant behaviourv0.8.9
#91: Change interface{} to any, version 1.17 -> 1.18 + test for TestNewConnectionFromDBv0.8.8
Add NewConnectionFromDb constructor to pass *sql.DB handlev0.8.7
Change BETWEEN and IS to pass through bindingsv0.8.6
Fix Union/UnionAll methodsv0.8.5
Change errors from const strings to vars, DropIfExists to accept n+1 tblsv0.8.4
Add nil type support for DMLv0.8.3
Add include stmtv0.8.2
Add CONCURRENTLY statement to add indices without lockingv0.8.1
Add SchemaIfNotExists, IfExists/IfNotExists statementsv0.8.0
Escaping table namesv0.7.9
Add return err from Schema() in fn func(table *Table) errorv0.7.8
Add boolean type column creation abilityv0.7.7
Add Find() method to retrieve a single row by its id column valuev0.7.6
Fix incorrect bindings on stringsv0.7.5
Fix module name in go.mod + readmev0.7.4
Add chunking results processing ability with Chunk method0.7.3
Add Rename column, Collation, create index on existing columnv0.7.2
Columns addition/modification/deletion + WhereBetween/WhereNotBetweenv0.7.1
Add point/polygon and json/jsonb types + minor fixesv0.6.3
Create index/unique/foreign keys, comments for col/tbl, vectors etcv0.6.2
📋 Changes
- index/unique/foreign column keys
- comments for columns/table
- tsvector/tsquery types for table
- date/time/timestamp(datetime)/tz types
CreateTable with column specific definitions + InRandomOrderv0.6.1
Fix orderBy mixing based on hash-table keys hashingv0.5.4
