Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SyncState) predicate.SyncState
- func ID(id string) predicate.SyncState
- func IDEQ(id string) predicate.SyncState
- func IDGT(id string) predicate.SyncState
- func IDGTE(id string) predicate.SyncState
- func IDIn(ids ...string) predicate.SyncState
- func IDLT(id string) predicate.SyncState
- func IDLTE(id string) predicate.SyncState
- func IDNEQ(id string) predicate.SyncState
- func IDNotIn(ids ...string) predicate.SyncState
- func Not(p predicate.SyncState) predicate.SyncState
- func Or(predicates ...predicate.SyncState) predicate.SyncState
- func StartBlock(v uint64) predicate.SyncState
- func StartBlockEQ(v uint64) predicate.SyncState
- func StartBlockGT(v uint64) predicate.SyncState
- func StartBlockGTE(v uint64) predicate.SyncState
- func StartBlockIn(vs ...uint64) predicate.SyncState
- func StartBlockLT(v uint64) predicate.SyncState
- func StartBlockLTE(v uint64) predicate.SyncState
- func StartBlockNEQ(v uint64) predicate.SyncState
- func StartBlockNotIn(vs ...uint64) predicate.SyncState
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the syncstate type in the database. Label = "sync_state" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldStartBlock holds the string denoting the start_block field in the database. FieldStartBlock = "start_block" // Table holds the table name of the syncstate in the database. Table = "sync_states" )
Variables ¶
var Columns = []string{ FieldID, FieldStartBlock, }
Columns holds all SQL columns for syncstate fields.
Functions ¶
func StartBlock ¶
StartBlock applies equality check predicate on the "start_block" field. It's identical to StartBlockEQ.
func StartBlockEQ ¶
StartBlockEQ applies the EQ predicate on the "start_block" field.
func StartBlockGT ¶
StartBlockGT applies the GT predicate on the "start_block" field.
func StartBlockGTE ¶
StartBlockGTE applies the GTE predicate on the "start_block" field.
func StartBlockIn ¶
StartBlockIn applies the In predicate on the "start_block" field.
func StartBlockLT ¶
StartBlockLT applies the LT predicate on the "start_block" field.
func StartBlockLTE ¶
StartBlockLTE applies the LTE predicate on the "start_block" field.
func StartBlockNEQ ¶
StartBlockNEQ applies the NEQ predicate on the "start_block" field.
func StartBlockNotIn ¶
StartBlockNotIn applies the NotIn predicate on the "start_block" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.