Skip to main content

Module database_sql

Module database_sql 

Source

Structs§

DatabaseSqlGenerator

Enums§

DatabaseSqlBackend
Go’s database/sql package is driver-agnostic — any third-party driver can plug into the same interface. The generated code is identical across backends; only the SQL placeholder style differs (Postgres uses $1, $2, ...; MySQL and SQLite use ?). DatabaseSqlBackend parameterizes which placeholder style the generated SQL constant uses.