zeekay
74627ec1a2
Fork huandu/go-sqlbuilder v1.39.1 to hanzoai/sqlbuilder; debrand ClickHouse flavor -> Datastore
...
- go.mod module path -> github.com/hanzoai/sqlbuilder (package name kept: sqlbuilder)
- Rename exported Flavor constant ClickHouse -> Datastore (same iota ordinal 6,
behavior byte-identical): const decl, all case labels (Interpolate/Quote/
PrepareInsertIgnore/args/select/union), Flavor.String() literal "ClickHouse"
-> "Datastore", and the name<->flavor test map.
- Rename unexported dialect helper clickhouseInterpolate -> datastoreInterpolate.
- Rename example ExampleInsertBuilder_insertIgnore_clickhouse -> _datastore.
- Update tests + README flavor list to Datastore.
- Keep upstream MIT LICENSE; add NOTICE recording the fork + rename.
Dialect SQL output unchanged; only the identifier is renamed.
2026-07-12 18:00:41 -07:00