Documentation ¶
Index ¶
- func Func[T any](f func(a sq.QueryModApply[T])) sq.QueryMod[T]
- type DefaultQuery
- func (s *DefaultQuery[T]) AddQueryClause(q litsql.QueryClause)
- func (s *DefaultQuery[T]) Apply(mods ...sq.QueryMod[T])
- func (s *DefaultQuery[T]) Build(writerOptions ...sq.WriterOption) (string, sq.Args, error)
- func (s *DefaultQuery[T]) Dialect() litsql.Dialect
- func (s *DefaultQuery[T]) WriteQuery(w litsql.Writer, start int) ([]any, error)
- func (s *DefaultQuery[T]) WriteSQL(w litsql.Writer, _ litsql.Dialect, start int) ([]any, error)
- type Query
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultQuery ¶
type DefaultQuery[T any] struct { // contains filtered or unexported fields }
func NewDefaultQuery ¶
func (*DefaultQuery[T]) AddQueryClause ¶ added in v0.4.0
func (s *DefaultQuery[T]) AddQueryClause(q litsql.QueryClause)
func (*DefaultQuery[T]) Apply ¶
func (s *DefaultQuery[T]) Apply(mods ...sq.QueryMod[T])
func (*DefaultQuery[T]) Build ¶
func (s *DefaultQuery[T]) Build(writerOptions ...sq.WriterOption) (string, sq.Args, error)
func (*DefaultQuery[T]) Dialect ¶ added in v0.4.0
func (s *DefaultQuery[T]) Dialect() litsql.Dialect
func (*DefaultQuery[T]) WriteQuery ¶
Click to show internal directories.
Click to hide internal directories.