Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Isps) predicate.Isps
- func CreatedAt(v time.Time) predicate.Isps
- func CreatedAtEQ(v time.Time) predicate.Isps
- func CreatedAtGT(v time.Time) predicate.Isps
- func CreatedAtGTE(v time.Time) predicate.Isps
- func CreatedAtIn(vs ...time.Time) predicate.Isps
- func CreatedAtLT(v time.Time) predicate.Isps
- func CreatedAtLTE(v time.Time) predicate.Isps
- func CreatedAtNEQ(v time.Time) predicate.Isps
- func CreatedAtNotIn(vs ...time.Time) predicate.Isps
- func HasIspBlocks() predicate.Isps
- func HasIspBlocksWith(preds ...predicate.Blocks) predicate.Isps
- func ID(id int) predicate.Isps
- func IDEQ(id int) predicate.Isps
- func IDGT(id int) predicate.Isps
- func IDGTE(id int) predicate.Isps
- func IDIn(ids ...int) predicate.Isps
- func IDLT(id int) predicate.Isps
- func IDLTE(id int) predicate.Isps
- func IDNEQ(id int) predicate.Isps
- func IDNotIn(ids ...int) predicate.Isps
- func Latitude(v float64) predicate.Isps
- func LatitudeEQ(v float64) predicate.Isps
- func LatitudeGT(v float64) predicate.Isps
- func LatitudeGTE(v float64) predicate.Isps
- func LatitudeIn(vs ...float64) predicate.Isps
- func LatitudeLT(v float64) predicate.Isps
- func LatitudeLTE(v float64) predicate.Isps
- func LatitudeNEQ(v float64) predicate.Isps
- func LatitudeNotIn(vs ...float64) predicate.Isps
- func Longitude(v float64) predicate.Isps
- func LongitudeEQ(v float64) predicate.Isps
- func LongitudeGT(v float64) predicate.Isps
- func LongitudeGTE(v float64) predicate.Isps
- func LongitudeIn(vs ...float64) predicate.Isps
- func LongitudeLT(v float64) predicate.Isps
- func LongitudeLTE(v float64) predicate.Isps
- func LongitudeNEQ(v float64) predicate.Isps
- func LongitudeNotIn(vs ...float64) predicate.Isps
- func Name(v string) predicate.Isps
- func NameContains(v string) predicate.Isps
- func NameContainsFold(v string) predicate.Isps
- func NameEQ(v string) predicate.Isps
- func NameEqualFold(v string) predicate.Isps
- func NameGT(v string) predicate.Isps
- func NameGTE(v string) predicate.Isps
- func NameHasPrefix(v string) predicate.Isps
- func NameHasSuffix(v string) predicate.Isps
- func NameIn(vs ...string) predicate.Isps
- func NameLT(v string) predicate.Isps
- func NameLTE(v string) predicate.Isps
- func NameNEQ(v string) predicate.Isps
- func NameNotIn(vs ...string) predicate.Isps
- func Not(p predicate.Isps) predicate.Isps
- func Or(predicates ...predicate.Isps) predicate.Isps
- func UpdatedAt(v time.Time) predicate.Isps
- func UpdatedAtEQ(v time.Time) predicate.Isps
- func UpdatedAtGT(v time.Time) predicate.Isps
- func UpdatedAtGTE(v time.Time) predicate.Isps
- func UpdatedAtIn(vs ...time.Time) predicate.Isps
- func UpdatedAtLT(v time.Time) predicate.Isps
- func UpdatedAtLTE(v time.Time) predicate.Isps
- func UpdatedAtNEQ(v time.Time) predicate.Isps
- func UpdatedAtNotIn(vs ...time.Time) predicate.Isps
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIspBlocks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIspBlocksCount(opts ...sql.OrderTermOption) OrderOption
- func ByLatitude(opts ...sql.OrderTermOption) OrderOption
- func ByLongitude(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the isps type in the database. Label = "isps" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldLatitude holds the string denoting the latitude field in the database. FieldLatitude = "latitude" // FieldLongitude holds the string denoting the longitude field in the database. FieldLongitude = "longitude" // FieldName holds the string denoting the name field in the database. FieldName = "name" // EdgeIspBlocks holds the string denoting the isp_blocks edge name in mutations. EdgeIspBlocks = "isp_blocks" // Table holds the table name of the isps in the database. Table = "isps" // IspBlocksTable is the table that holds the isp_blocks relation/edge. IspBlocksTable = "blocks" // IspBlocksInverseTable is the table name for the Blocks entity. // It exists in this package in order to avoid circular dependency with the "blocks" package. IspBlocksInverseTable = "blocks" // IspBlocksColumn is the table column denoting the isp_blocks relation/edge. IspBlocksColumn = "isp_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldLatitude, FieldLongitude, FieldName, }
Columns holds all SQL columns for isps fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasIspBlocks ¶
HasIspBlocks applies the HasEdge predicate on the "isp_blocks" edge.
func HasIspBlocksWith ¶
HasIspBlocksWith applies the HasEdge predicate on the "isp_blocks" edge with a given conditions (other predicates).
func Latitude ¶
Latitude applies equality check predicate on the "latitude" field. It's identical to LatitudeEQ.
func LatitudeEQ ¶
LatitudeEQ applies the EQ predicate on the "latitude" field.
func LatitudeGT ¶
LatitudeGT applies the GT predicate on the "latitude" field.
func LatitudeGTE ¶
LatitudeGTE applies the GTE predicate on the "latitude" field.
func LatitudeIn ¶
LatitudeIn applies the In predicate on the "latitude" field.
func LatitudeLT ¶
LatitudeLT applies the LT predicate on the "latitude" field.
func LatitudeLTE ¶
LatitudeLTE applies the LTE predicate on the "latitude" field.
func LatitudeNEQ ¶
LatitudeNEQ applies the NEQ predicate on the "latitude" field.
func LatitudeNotIn ¶
LatitudeNotIn applies the NotIn predicate on the "latitude" field.
func Longitude ¶
Longitude applies equality check predicate on the "longitude" field. It's identical to LongitudeEQ.
func LongitudeEQ ¶
LongitudeEQ applies the EQ predicate on the "longitude" field.
func LongitudeGT ¶
LongitudeGT applies the GT predicate on the "longitude" field.
func LongitudeGTE ¶
LongitudeGTE applies the GTE predicate on the "longitude" field.
func LongitudeIn ¶
LongitudeIn applies the In predicate on the "longitude" field.
func LongitudeLT ¶
LongitudeLT applies the LT predicate on the "longitude" field.
func LongitudeLTE ¶
LongitudeLTE applies the LTE predicate on the "longitude" field.
func LongitudeNEQ ¶
LongitudeNEQ applies the NEQ predicate on the "longitude" field.
func LongitudeNotIn ¶
LongitudeNotIn applies the NotIn predicate on the "longitude" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
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 Isps queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIspBlocks ¶
func ByIspBlocks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIspBlocks orders the results by isp_blocks terms.
func ByIspBlocksCount ¶
func ByIspBlocksCount(opts ...sql.OrderTermOption) OrderOption
ByIspBlocksCount orders the results by isp_blocks count.
func ByLatitude ¶
func ByLatitude(opts ...sql.OrderTermOption) OrderOption
ByLatitude orders the results by the latitude field.
func ByLongitude ¶
func ByLongitude(opts ...sql.OrderTermOption) OrderOption
ByLongitude orders the results by the longitude field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.