Versions in this module Expand all Collapse all v0 v0.1.5 Jun 2, 2024 Changes in this version + func ClearDBDialectCache(db *sql.DB) bool + func GetDBDriverName(db *sql.DB) string + func GetDBPlaceholder(db *sql.DB) protosql.SQLPlaceholder + type TDBDialect int + const Mysql + const Oracle + const Postgres + const SQLite + const Unknown + func GetDBDialect(db *sql.DB) (dialect TDBDialect) + func (this TDBDialect) Placeholder() protosql.SQLPlaceholder + type TDBDialectCacheItem struct + CacheTime time.Time + DB *sql.DB + Placeholder protosql.SQLPlaceholder + func GetDBPlaceholderCache(db *sql.DB) (protosql.SQLPlaceholder, TDBDialectCacheItem)