Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryBuilder ¶
type QueryBuilder interface { // WithFields selects the specified fields WithFields(...string) // Where allows adding conditions to filter data Where(string, interface{}) // Fields returns the selected fields Fields() []string // Filters returns all conditions to filter data Filters() map[string]interface{} }
QueryBuilder allows to create queries dynamically/programmatically
func NewQueryBuilder ¶ added in v1.28.0
func NewQueryBuilder() QueryBuilder
NewQueryBuilder creates a new instance of QueryBuilder
Click to show internal directories.
Click to hide internal directories.