Versions in this module Expand all Collapse all v0 v0.1.0 Oct 24, 2025 Changes in this version + func NewExecutor(dialectType database.SQLDialectType) (database.SQL, error) + type Executor struct + func New(dsn database.DataSourceNamer) (*Executor, error) + func (e *Executor) Close(_ context.Context) error + func (e *Executor) Dialect() database.SQLDialect + func (e *Executor) IsClosed() bool + func (e *Executor) Open(ctx context.Context) error + func (e *Executor) Ping(ctx context.Context) error + func (e *Executor) Request(ctx context.Context, request database.Request) (any, error) + func (e *Executor) Type() database.Type + type Keyword int + const All + const And + const Any + const As + const Asc + const Between + const Call + const Check + const CrossJoin + const Default + const Delete + const Desc + const Except + const ExceptAll + const Exec + const Execute + const Exists + const False + const ForeignKey + const From + const FullJoin + const GroupBy + const Having + const Ilike + const In + const InnerJoin + const Insert + const Intersect + const IntersectAll + const IsDistinctFrom + const IsFalse + const IsNotDistinctFrom + const IsNotNull + const IsNull + const IsTrue + const IsUnknown + const Join + const LeftJoin + const Like + const Limit + const Not + const NotIlike + const NotLike + const Null + const Offset + const On + const Or + const OrderBy + const OuterJoin + const Pragma + const PrimaryKey + const RightJoin + const Select + const Set + const Some + const True + const Union + const UnionAll + const Unique + const Unknown + const Update + const Values + const Where + func (i Keyword) String() string + type Prefab struct + Columns func(tableName string) database.Request + CurrentDatabase database.Request + Databases database.Request + Tables database.Request + func CreateMsSQLPrefabs() *Prefab + func CreateMySQLPrefabs() *Prefab + func CreateOraclePrefabs() *Prefab + func CreatePostgresPrefabs() *Prefab + func CreateSQLServerPrefabs() *Prefab + func CreateSQLitePrefabs() *Prefab + type QueryPrefab struct + MsSQL *Prefab + MySQL *Prefab + Oracle *Prefab + Postgres *Prefab + SQLServer *Prefab + SQLite3 *Prefab + var Prefabs *QueryPrefab = CreateQueryPrefabs() + func CreateQueryPrefabs() *QueryPrefab