Documentation
¶
Overview ¶
Package query assists in building SQL queries.
Index ¶
- type Update
- func (u *Update) Append(v interface{})
- func (u *Update) Set(v, property string) *Update
- func (u *Update) SetBoolPtr(v *bool, property string) *Update
- func (u *Update) SetBytes(v []byte, property string) *Update
- func (u *Update) SetIntPtr(v *int, property string) *Update
- func (u *Update) SetNullBool(v *sql.NullBool, property string) *Update
- func (u *Update) SetNullString(v *sql.NullString, property string) *Update
- func (u *Update) SetStringPtr(v *string, property string) *Update
- func (u *Update) Where(condition string, params ...interface{}) *Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Update ¶
type Update struct {
Updates, Conditions string
Params []interface{}
// contains filtered or unexported fields
}
func (*Update) SetNullString ¶
func (u *Update) SetNullString(v *sql.NullString, property string) *Update
Click to show internal directories.
Click to hide internal directories.