ozzo-dbx
ozzo-dbx copied to clipboard
A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities.
- LogSQLFunc type - Added type to DB & Query - Moved default functionality into public DefaultLogSQLFunc() - Created new Bin2HexLogSQLFunc() with similar behavior, except it hex-encodes []byte values Addresses...
Hi @qiangxue, I'm currently using ozzo-dbx as part of another open source project that I'm soon planning to release and therefore I'm asking for the maintenance status of the package...
The noncgo sqlite driver (https://pkg.go.dev/modernc.org/sqlite) uses `sqlite` as driver key. This PR adds the key to the `db.BuilderFuncMap`, so that users don't have to do: ```go func init() { dbx.BuilderFuncMap["sqlite"]...
My code is like this: ``` var rows []*Row db.Select().All(&rows) ``` and i got an error: `Invalid variable type: must be a slice of struct or NullStringMap` But a lot...
SQLite 3 has ALTER TABLE support for most of the schema modify operations - https://www.sqlite.org/lang_altertable.html This PR enables in the `builder_sqlite.go`: - `RenameTable` - `RenameColumn` (the same syntax as the...
This PR adds support and tests for scanning slice of pointers (see issue #48).
Hi! I can't see `Upsert` method in the model query. Is it possible to add it to this type of query? Thanks! https://github.com/go-ozzo/ozzo-dbx/issues/5