Categorygithub.com/miyamo2/sqldav
repositorypackage
0.2.1
Repository: https://github.com/miyamo2/sqldav.git
Documentation: pkg.go.dev

# README

sqldav

Go Reference GitHub go.mod Go version (subdirectory of monorepo) GitHub release (latest by date) codecov Go Report Card GitHub License

"sql.Scanner"/"driver.Valuer" for DynamoDB PartiQL (And its Tooltip)

Types

sqldav implements the following sql.Scanner, driver.Valuer

  • sqldav.Set[string | int | float64 | []byte], the Defined Type of []string, []int, []float64, [][]byte. Converted to set in DynamoDB.

  • sqldav.List, the Defined Type of []interface{}. Converted to list in DynamoDB.

  • sqldav.Map, the Defined Type of map[string]interface{}. Converted to map in DynamoDB.

  • sqldav.TypedList[T], the Defined Type of []T. Converted to list in DynamoDB.

Contributing

Feel free to open a PR or an Issue.

However, you must promise to follow our Code of Conduct.

License

sqldav released under the MIT License