Documentation ¶
Index ¶
- type BaseQuery
- func (m *BaseQuery) Delete(tx *sqlx.Tx, table string, id string) (rows int64, err error)
- func (m *BaseQuery) DeleteConstrained(tx *sqlx.Tx, table string, orgID, id string) (rows int64, err error)
- func (m *BaseQuery) DeleteConstrainedWithID(tx *sqlx.Tx, table string, orgID, id string) (rows int64, err error)
- func (m *BaseQuery) DeleteWhere(tx *sqlx.Tx, statement string) (rows int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseQuery ¶
type BaseQuery struct { }
BaseQuery provides common MySQL methods.
func (*BaseQuery) DeleteConstrained ¶
func (m *BaseQuery) DeleteConstrained(tx *sqlx.Tx, table string, orgID, id string) (rows int64, err error)
DeleteConstrained record constrained to Organization using refid.
Click to show internal directories.
Click to hide internal directories.