Documentation ¶
Index ¶
- Constants
- Variables
- func AdminID(v int) predicate.Community
- func AdminIDEQ(v int) predicate.Community
- func AdminIDGT(v int) predicate.Community
- func AdminIDGTE(v int) predicate.Community
- func AdminIDIn(vs ...int) predicate.Community
- func AdminIDLT(v int) predicate.Community
- func AdminIDLTE(v int) predicate.Community
- func AdminIDNEQ(v int) predicate.Community
- func AdminIDNotIn(vs ...int) predicate.Community
- func And(predicates ...predicate.Community) predicate.Community
- func AreaID(v int) predicate.Community
- func AreaIDEQ(v int) predicate.Community
- func AreaIDGT(v int) predicate.Community
- func AreaIDGTE(v int) predicate.Community
- func AreaIDIn(vs ...int) predicate.Community
- func AreaIDLT(v int) predicate.Community
- func AreaIDLTE(v int) predicate.Community
- func AreaIDNEQ(v int) predicate.Community
- func AreaIDNotIn(vs ...int) predicate.Community
- func AreaNum(v int) predicate.Community
- func AreaNumEQ(v int) predicate.Community
- func AreaNumGT(v int) predicate.Community
- func AreaNumGTE(v int) predicate.Community
- func AreaNumIn(vs ...int) predicate.Community
- func AreaNumLT(v int) predicate.Community
- func AreaNumLTE(v int) predicate.Community
- func AreaNumNEQ(v int) predicate.Community
- func AreaNumNotIn(vs ...int) predicate.Community
- func CityID(v int) predicate.Community
- func CityIDEQ(v int) predicate.Community
- func CityIDGT(v int) predicate.Community
- func CityIDGTE(v int) predicate.Community
- func CityIDIn(vs ...int) predicate.Community
- func CityIDLT(v int) predicate.Community
- func CityIDLTE(v int) predicate.Community
- func CityIDNEQ(v int) predicate.Community
- func CityIDNotIn(vs ...int) predicate.Community
- func CommNumber(v int) predicate.Community
- func CommNumberEQ(v int) predicate.Community
- func CommNumberGT(v int) predicate.Community
- func CommNumberGTE(v int) predicate.Community
- func CommNumberIn(vs ...int) predicate.Community
- func CommNumberLT(v int) predicate.Community
- func CommNumberLTE(v int) predicate.Community
- func CommNumberNEQ(v int) predicate.Community
- func CommNumberNotIn(vs ...int) predicate.Community
- func CreatedAt(v time.Time) predicate.Community
- func CreatedAtEQ(v time.Time) predicate.Community
- func CreatedAtGT(v time.Time) predicate.Community
- func CreatedAtGTE(v time.Time) predicate.Community
- func CreatedAtIn(vs ...time.Time) predicate.Community
- func CreatedAtLT(v time.Time) predicate.Community
- func CreatedAtLTE(v time.Time) predicate.Community
- func CreatedAtNEQ(v time.Time) predicate.Community
- func CreatedAtNotIn(vs ...time.Time) predicate.Community
- func DeletedAt(v time.Time) predicate.Community
- func DeletedAtEQ(v time.Time) predicate.Community
- func DeletedAtGT(v time.Time) predicate.Community
- func DeletedAtGTE(v time.Time) predicate.Community
- func DeletedAtIn(vs ...time.Time) predicate.Community
- func DeletedAtLT(v time.Time) predicate.Community
- func DeletedAtLTE(v time.Time) predicate.Community
- func DeletedAtNEQ(v time.Time) predicate.Community
- func DeletedAtNotIn(vs ...time.Time) predicate.Community
- func EndTime(v time.Time) predicate.Community
- func EndTimeEQ(v time.Time) predicate.Community
- func EndTimeGT(v time.Time) predicate.Community
- func EndTimeGTE(v time.Time) predicate.Community
- func EndTimeIn(vs ...time.Time) predicate.Community
- func EndTimeLT(v time.Time) predicate.Community
- func EndTimeLTE(v time.Time) predicate.Community
- func EndTimeNEQ(v time.Time) predicate.Community
- func EndTimeNotIn(vs ...time.Time) predicate.Community
- func ID(id int) predicate.Community
- func IDEQ(id int) predicate.Community
- func IDGT(id int) predicate.Community
- func IDGTE(id int) predicate.Community
- func IDIn(ids ...int) predicate.Community
- func IDLT(id int) predicate.Community
- func IDLTE(id int) predicate.Community
- func IDNEQ(id int) predicate.Community
- func IDNotIn(ids ...int) predicate.Community
- func Name(v string) predicate.Community
- func NameContains(v string) predicate.Community
- func NameContainsFold(v string) predicate.Community
- func NameEQ(v string) predicate.Community
- func NameEqualFold(v string) predicate.Community
- func NameGT(v string) predicate.Community
- func NameGTE(v string) predicate.Community
- func NameHasPrefix(v string) predicate.Community
- func NameHasSuffix(v string) predicate.Community
- func NameIn(vs ...string) predicate.Community
- func NameLT(v string) predicate.Community
- func NameLTE(v string) predicate.Community
- func NameNEQ(v string) predicate.Community
- func NameNotIn(vs ...string) predicate.Community
- func Not(p predicate.Community) predicate.Community
- func Or(predicates ...predicate.Community) predicate.Community
- func ProvinceID(v int) predicate.Community
- func ProvinceIDEQ(v int) predicate.Community
- func ProvinceIDGT(v int) predicate.Community
- func ProvinceIDGTE(v int) predicate.Community
- func ProvinceIDIn(vs ...int) predicate.Community
- func ProvinceIDLT(v int) predicate.Community
- func ProvinceIDLTE(v int) predicate.Community
- func ProvinceIDNEQ(v int) predicate.Community
- func ProvinceIDNotIn(vs ...int) predicate.Community
- func StartTime(v time.Time) predicate.Community
- func StartTimeEQ(v time.Time) predicate.Community
- func StartTimeGT(v time.Time) predicate.Community
- func StartTimeGTE(v time.Time) predicate.Community
- func StartTimeIn(vs ...time.Time) predicate.Community
- func StartTimeLT(v time.Time) predicate.Community
- func StartTimeLTE(v time.Time) predicate.Community
- func StartTimeNEQ(v time.Time) predicate.Community
- func StartTimeNotIn(vs ...time.Time) predicate.Community
- func State(v int) predicate.Community
- func StateEQ(v int) predicate.Community
- func StateGT(v int) predicate.Community
- func StateGTE(v int) predicate.Community
- func StateIn(vs ...int) predicate.Community
- func StateLT(v int) predicate.Community
- func StateLTE(v int) predicate.Community
- func StateNEQ(v int) predicate.Community
- func StateNotIn(vs ...int) predicate.Community
- func UpdatedAt(v time.Time) predicate.Community
- func UpdatedAtEQ(v time.Time) predicate.Community
- func UpdatedAtGT(v time.Time) predicate.Community
- func UpdatedAtGTE(v time.Time) predicate.Community
- func UpdatedAtIn(vs ...time.Time) predicate.Community
- func UpdatedAtLT(v time.Time) predicate.Community
- func UpdatedAtLTE(v time.Time) predicate.Community
- func UpdatedAtNEQ(v time.Time) predicate.Community
- func UpdatedAtNotIn(vs ...time.Time) predicate.Community
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the community type in the database. Label = "community" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldProvinceID holds the string denoting the province_id field in the database. FieldProvinceID = "province_id" // FieldCityID holds the string denoting the city_id field in the database. FieldCityID = "city_id" // FieldAreaID holds the string denoting the area_id field in the database. FieldAreaID = "area_id" // FieldAreaNum holds the string denoting the area_num field in the database. FieldAreaNum = "area_num" // FieldAdminID holds the string denoting the admin_id field in the database. FieldAdminID = "admin_id" // FieldCommNumber holds the string denoting the comm_number field in the database. FieldCommNumber = "comm_number" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldStartTime holds the string denoting the start_time field in the database. FieldStartTime = "start_time" // FieldEndTime holds the string denoting the end_time field in the database. FieldEndTime = "end_time" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // Table holds the table name of the community in the database. Table = "communities" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldProvinceID, FieldCityID, FieldAreaID, FieldAreaNum, FieldAdminID, FieldCommNumber, FieldState, FieldStartTime, FieldEndTime, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, }
Columns holds all SQL columns for community fields.
Functions ¶
func AdminID ¶
AdminID applies equality check predicate on the "admin_id" field. It's identical to AdminIDEQ.
func AdminIDGTE ¶
AdminIDGTE applies the GTE predicate on the "admin_id" field.
func AdminIDLTE ¶
AdminIDLTE applies the LTE predicate on the "admin_id" field.
func AdminIDNEQ ¶
AdminIDNEQ applies the NEQ predicate on the "admin_id" field.
func AdminIDNotIn ¶
AdminIDNotIn applies the NotIn predicate on the "admin_id" field.
func AreaID ¶
AreaID applies equality check predicate on the "area_id" field. It's identical to AreaIDEQ.
func AreaIDNotIn ¶
AreaIDNotIn applies the NotIn predicate on the "area_id" field.
func AreaNum ¶
AreaNum applies equality check predicate on the "area_num" field. It's identical to AreaNumEQ.
func AreaNumGTE ¶
AreaNumGTE applies the GTE predicate on the "area_num" field.
func AreaNumLTE ¶
AreaNumLTE applies the LTE predicate on the "area_num" field.
func AreaNumNEQ ¶
AreaNumNEQ applies the NEQ predicate on the "area_num" field.
func AreaNumNotIn ¶
AreaNumNotIn applies the NotIn predicate on the "area_num" field.
func CityID ¶
CityID applies equality check predicate on the "city_id" field. It's identical to CityIDEQ.
func CityIDNotIn ¶
CityIDNotIn applies the NotIn predicate on the "city_id" field.
func CommNumber ¶
CommNumber applies equality check predicate on the "comm_number" field. It's identical to CommNumberEQ.
func CommNumberEQ ¶
CommNumberEQ applies the EQ predicate on the "comm_number" field.
func CommNumberGT ¶
CommNumberGT applies the GT predicate on the "comm_number" field.
func CommNumberGTE ¶
CommNumberGTE applies the GTE predicate on the "comm_number" field.
func CommNumberIn ¶
CommNumberIn applies the In predicate on the "comm_number" field.
func CommNumberLT ¶
CommNumberLT applies the LT predicate on the "comm_number" field.
func CommNumberLTE ¶
CommNumberLTE applies the LTE predicate on the "comm_number" field.
func CommNumberNEQ ¶
CommNumberNEQ applies the NEQ predicate on the "comm_number" field.
func CommNumberNotIn ¶
CommNumberNotIn applies the NotIn predicate on the "comm_number" field.
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 DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func EndTime ¶
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeGTE ¶
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeLTE ¶
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
EndTimeNotIn applies the NotIn predicate on the "end_time" 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 ProvinceID ¶
ProvinceID applies equality check predicate on the "province_id" field. It's identical to ProvinceIDEQ.
func ProvinceIDEQ ¶
ProvinceIDEQ applies the EQ predicate on the "province_id" field.
func ProvinceIDGT ¶
ProvinceIDGT applies the GT predicate on the "province_id" field.
func ProvinceIDGTE ¶
ProvinceIDGTE applies the GTE predicate on the "province_id" field.
func ProvinceIDIn ¶
ProvinceIDIn applies the In predicate on the "province_id" field.
func ProvinceIDLT ¶
ProvinceIDLT applies the LT predicate on the "province_id" field.
func ProvinceIDLTE ¶
ProvinceIDLTE applies the LTE predicate on the "province_id" field.
func ProvinceIDNEQ ¶
ProvinceIDNEQ applies the NEQ predicate on the "province_id" field.
func ProvinceIDNotIn ¶
ProvinceIDNotIn applies the NotIn predicate on the "province_id" field.
func StartTime ¶
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeEQ ¶
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeGT ¶
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeIn ¶
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeLT ¶
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
StartTimeNotIn applies the NotIn predicate on the "start_time" field.
func State ¶
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateNotIn ¶
StateNotIn applies the NotIn predicate on the "state" 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 ¶
This section is empty.