Documentation
¶
Index ¶
- func IntPtr(i int) *int
- type SqliteExecutor
- func (e *SqliteExecutor) Execute(ctx context.Context, tableName string, dsl *querydsl.QueryDSL) (*querydsl.QueryResult, error)
- func (e *SqliteExecutor) RegisterComputeFunction(name string, fn querydsl.GoComputeFunction)
- func (e *SqliteExecutor) RegisterFilterFunction(operator querydsl.ComparisonOperator, fn querydsl.GoFilterFunction)
- type SqliteQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SqliteExecutor ¶
type SqliteExecutor struct {
// contains filtered or unexported fields
}
SqliteExecutor implements the QueryExecutor interface for SQLite databases.
func NewSqliteExecutor ¶
func NewSqliteExecutor(db *sql.DB) *SqliteExecutor
NewSqliteExecutor creates a new SqliteExecutor instance.
func (*SqliteExecutor) Execute ¶
func (e *SqliteExecutor) Execute(ctx context.Context, tableName string, dsl *querydsl.QueryDSL) (*querydsl.QueryResult, error)
Execute runs a query against the database based on the provided QueryDSL.
func (*SqliteExecutor) RegisterComputeFunction ¶
func (e *SqliteExecutor) RegisterComputeFunction(name string, fn querydsl.GoComputeFunction)
RegisterComputeFunction registers a Go function that can be used to compute new fields based on existing row data.
func (*SqliteExecutor) RegisterFilterFunction ¶
func (e *SqliteExecutor) RegisterFilterFunction(operator querydsl.ComparisonOperator, fn querydsl.GoFilterFunction)
RegisterFilterFunction registers a Go function that can be used as a custom comparison operator for filtering rows.
type SqliteQuery ¶
type SqliteQuery struct{}
func NewSqliteQuery ¶
func NewSqliteQuery() *SqliteQuery
Click to show internal directories.
Click to hide internal directories.