- New feature: sql.Open with aws.Config
- Fix #146: Columns are not sorted in the order of selection.
- Refactor transaction support
- Fix: empty transaction should be committed successfully
- Fix: result returned from a SELECT can be paged if too big
- Add function WaitForTableStatus
- Add function WaitForGSIStatus
- Add method TransformInsertStmToPartiQL
- Fix: empty LSI should be nil
- BREAKING: bump Go version to 1.18
- Refactor to follow go-module-template structure
- Fix GoLint
- Fix CodeQL alerts
- Support
ConsistentRead
option forSELECT
query.
- Fix: placeholder parsing.
ColumnTypeDatabaseTypeName
returns DynamoDB's native data types (e.g.B
,N
,S
,SS
,NS
,BS
,BOOL
,L
,M
,NULL
).RowsDescribeTable.ColumnTypeScanType
andRowsDescribeIndex.ColumnTypeScanType
return correct Go types based on DynamoDB spec.- Support
LIMIT
clause forSELECT
query.
- Add transaction support.
- Driver for
database/sql
, supported statements:- Table:
CREATE TABLE
,LIST TABLES
,DESCRIBE TABLE
,ALTER TABLE
,DROP TABLE
. - Index:
DESCRIBE LSI
,CREATE GSI
,DESCRIBE GSI
,ALTER GSI
,DROP GSI
. - Document:
INSERT
,SELECT
,UPDATE
,DELETE
.
- Table: