Documentation ¶
Index ¶
- type EqualStr
- type PostgresDB
- type RepoTx
- type Squirrel
- func (s *Squirrel) Alias(expr squirrel.Sqlizer, alias string) squirrel.Sqlizer
- func (s *Squirrel) And(cond ...squirrel.Sqlizer) squirrel.And
- func (s *Squirrel) Equal(key string, value interface{}) squirrel.Eq
- func (s *Squirrel) EqualMany(clauses map[string]interface{}) squirrel.Eq
- func (s *Squirrel) EqualStr(key string) EqualStr
- func (s *Squirrel) Expr(sql string, args ...interface{}) squirrel.Sqlizer
- func (s *Squirrel) Gt(key string, value interface{}) squirrel.Gt
- func (s *Squirrel) ILike(key string, value interface{}) squirrel.ILike
- func (s *Squirrel) JSONPathWhere(fieldName, jsonbOp, searchField, value string) (string, error)
- func (s *Squirrel) Lt(key string, value interface{}) squirrel.Lt
- func (s *Squirrel) NotEqual(key string, value interface{}) squirrel.NotEq
- func (s *Squirrel) Or(cond ...squirrel.Sqlizer) squirrel.Or
- type Tx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresDB ¶
func (*PostgresDB) Close ¶
func (p *PostgresDB) Close()
func (*PostgresDB) ErrSQLBuild ¶
func (p *PostgresDB) ErrSQLBuild(err error, message string) error
func (*PostgresDB) Error ¶
func (p *PostgresDB) Error(err error) error
type Squirrel ¶
type Squirrel struct {
Builder squirrel.StatementBuilderType
}
Squirrel provides wrapper around squirrel package
func NewSquirrel ¶
func NewSquirrel() *Squirrel
func (*Squirrel) JSONPathWhere ¶
Click to show internal directories.
Click to hide internal directories.