Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.SchemaB) predicate.SchemaB
- func ID(id int64) predicate.SchemaB
- func IDEQ(id int64) predicate.SchemaB
- func IDGT(id int64) predicate.SchemaB
- func IDGTE(id int64) predicate.SchemaB
- func IDIn(ids ...int64) predicate.SchemaB
- func IDLT(id int64) predicate.SchemaB
- func IDLTE(id int64) predicate.SchemaB
- func IDNEQ(id int64) predicate.SchemaB
- func IDNotIn(ids ...int64) predicate.SchemaB
- func Not(p predicate.SchemaB) predicate.SchemaB
- func Or(predicates ...predicate.SchemaB) predicate.SchemaB
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
View Source
const ( // Label holds the string label denoting the schemab type in the database. Label = "schemab" // FieldID holds the string denoting the id field in the database. FieldID = "id" // Table holds the table name of the schemab in the database. Table = "schema_bs" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for schemab fields.
View Source
var ForeignKeys = []string{
"schemaa_edge_schemab",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "schema_bs" table and are not defined as standalone fields in the schema.
Functions ¶
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the SchemaB queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
Click to show internal directories.
Click to hide internal directories.