community

package
v0.0.0-...-31c84d2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for community fields.

Functions

func AdminID

func AdminID(v int) predicate.Community

AdminID applies equality check predicate on the "admin_id" field. It's identical to AdminIDEQ.

func AdminIDEQ

func AdminIDEQ(v int) predicate.Community

AdminIDEQ applies the EQ predicate on the "admin_id" field.

func AdminIDGT

func AdminIDGT(v int) predicate.Community

AdminIDGT applies the GT predicate on the "admin_id" field.

func AdminIDGTE

func AdminIDGTE(v int) predicate.Community

AdminIDGTE applies the GTE predicate on the "admin_id" field.

func AdminIDIn

func AdminIDIn(vs ...int) predicate.Community

AdminIDIn applies the In predicate on the "admin_id" field.

func AdminIDLT

func AdminIDLT(v int) predicate.Community

AdminIDLT applies the LT predicate on the "admin_id" field.

func AdminIDLTE

func AdminIDLTE(v int) predicate.Community

AdminIDLTE applies the LTE predicate on the "admin_id" field.

func AdminIDNEQ

func AdminIDNEQ(v int) predicate.Community

AdminIDNEQ applies the NEQ predicate on the "admin_id" field.

func AdminIDNotIn

func AdminIDNotIn(vs ...int) predicate.Community

AdminIDNotIn applies the NotIn predicate on the "admin_id" field.

func And

func And(predicates ...predicate.Community) predicate.Community

And groups predicates with the AND operator between them.

func AreaID

func AreaID(v int) predicate.Community

AreaID applies equality check predicate on the "area_id" field. It's identical to AreaIDEQ.

func AreaIDEQ

func AreaIDEQ(v int) predicate.Community

AreaIDEQ applies the EQ predicate on the "area_id" field.

func AreaIDGT

func AreaIDGT(v int) predicate.Community

AreaIDGT applies the GT predicate on the "area_id" field.

func AreaIDGTE

func AreaIDGTE(v int) predicate.Community

AreaIDGTE applies the GTE predicate on the "area_id" field.

func AreaIDIn

func AreaIDIn(vs ...int) predicate.Community

AreaIDIn applies the In predicate on the "area_id" field.

func AreaIDLT

func AreaIDLT(v int) predicate.Community

AreaIDLT applies the LT predicate on the "area_id" field.

func AreaIDLTE

func AreaIDLTE(v int) predicate.Community

AreaIDLTE applies the LTE predicate on the "area_id" field.

func AreaIDNEQ

func AreaIDNEQ(v int) predicate.Community

AreaIDNEQ applies the NEQ predicate on the "area_id" field.

func AreaIDNotIn

func AreaIDNotIn(vs ...int) predicate.Community

AreaIDNotIn applies the NotIn predicate on the "area_id" field.

func AreaNum

func AreaNum(v int) predicate.Community

AreaNum applies equality check predicate on the "area_num" field. It's identical to AreaNumEQ.

func AreaNumEQ

func AreaNumEQ(v int) predicate.Community

AreaNumEQ applies the EQ predicate on the "area_num" field.

func AreaNumGT

func AreaNumGT(v int) predicate.Community

AreaNumGT applies the GT predicate on the "area_num" field.

func AreaNumGTE

func AreaNumGTE(v int) predicate.Community

AreaNumGTE applies the GTE predicate on the "area_num" field.

func AreaNumIn

func AreaNumIn(vs ...int) predicate.Community

AreaNumIn applies the In predicate on the "area_num" field.

func AreaNumLT

func AreaNumLT(v int) predicate.Community

AreaNumLT applies the LT predicate on the "area_num" field.

func AreaNumLTE

func AreaNumLTE(v int) predicate.Community

AreaNumLTE applies the LTE predicate on the "area_num" field.

func AreaNumNEQ

func AreaNumNEQ(v int) predicate.Community

AreaNumNEQ applies the NEQ predicate on the "area_num" field.

func AreaNumNotIn

func AreaNumNotIn(vs ...int) predicate.Community

AreaNumNotIn applies the NotIn predicate on the "area_num" field.

func CityID

func CityID(v int) predicate.Community

CityID applies equality check predicate on the "city_id" field. It's identical to CityIDEQ.

func CityIDEQ

func CityIDEQ(v int) predicate.Community

CityIDEQ applies the EQ predicate on the "city_id" field.

func CityIDGT

func CityIDGT(v int) predicate.Community

CityIDGT applies the GT predicate on the "city_id" field.

func CityIDGTE

func CityIDGTE(v int) predicate.Community

CityIDGTE applies the GTE predicate on the "city_id" field.

func CityIDIn

func CityIDIn(vs ...int) predicate.Community

CityIDIn applies the In predicate on the "city_id" field.

func CityIDLT

func CityIDLT(v int) predicate.Community

CityIDLT applies the LT predicate on the "city_id" field.

func CityIDLTE

func CityIDLTE(v int) predicate.Community

CityIDLTE applies the LTE predicate on the "city_id" field.

func CityIDNEQ

func CityIDNEQ(v int) predicate.Community

CityIDNEQ applies the NEQ predicate on the "city_id" field.

func CityIDNotIn

func CityIDNotIn(vs ...int) predicate.Community

CityIDNotIn applies the NotIn predicate on the "city_id" field.

func CommNumber

func CommNumber(v int) predicate.Community

CommNumber applies equality check predicate on the "comm_number" field. It's identical to CommNumberEQ.

func CommNumberEQ

func CommNumberEQ(v int) predicate.Community

CommNumberEQ applies the EQ predicate on the "comm_number" field.

func CommNumberGT

func CommNumberGT(v int) predicate.Community

CommNumberGT applies the GT predicate on the "comm_number" field.

func CommNumberGTE

func CommNumberGTE(v int) predicate.Community

CommNumberGTE applies the GTE predicate on the "comm_number" field.

func CommNumberIn

func CommNumberIn(vs ...int) predicate.Community

CommNumberIn applies the In predicate on the "comm_number" field.

func CommNumberLT

func CommNumberLT(v int) predicate.Community

CommNumberLT applies the LT predicate on the "comm_number" field.

func CommNumberLTE

func CommNumberLTE(v int) predicate.Community

CommNumberLTE applies the LTE predicate on the "comm_number" field.

func CommNumberNEQ

func CommNumberNEQ(v int) predicate.Community

CommNumberNEQ applies the NEQ predicate on the "comm_number" field.

func CommNumberNotIn

func CommNumberNotIn(vs ...int) predicate.Community

CommNumberNotIn applies the NotIn predicate on the "comm_number" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Community

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Community

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Community

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Community

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Community

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Community

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Community

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Community

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Community

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Community

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Community

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Community

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Community

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Community

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Community

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Community

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Community

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Community

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func EndTime

func EndTime(v time.Time) predicate.Community

EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.

func EndTimeEQ

func EndTimeEQ(v time.Time) predicate.Community

EndTimeEQ applies the EQ predicate on the "end_time" field.

func EndTimeGT

func EndTimeGT(v time.Time) predicate.Community

EndTimeGT applies the GT predicate on the "end_time" field.

func EndTimeGTE

func EndTimeGTE(v time.Time) predicate.Community

EndTimeGTE applies the GTE predicate on the "end_time" field.

func EndTimeIn

func EndTimeIn(vs ...time.Time) predicate.Community

EndTimeIn applies the In predicate on the "end_time" field.

func EndTimeLT

func EndTimeLT(v time.Time) predicate.Community

EndTimeLT applies the LT predicate on the "end_time" field.

func EndTimeLTE

func EndTimeLTE(v time.Time) predicate.Community

EndTimeLTE applies the LTE predicate on the "end_time" field.

func EndTimeNEQ

func EndTimeNEQ(v time.Time) predicate.Community

EndTimeNEQ applies the NEQ predicate on the "end_time" field.

func EndTimeNotIn

func EndTimeNotIn(vs ...time.Time) predicate.Community

EndTimeNotIn applies the NotIn predicate on the "end_time" field.

func ID

func ID(id int) predicate.Community

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Community

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Community

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Community

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Community

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Community

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Community

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Community

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Community

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Community

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Community

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Community

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Community

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Community

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Community

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Community

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Community

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Community

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Community

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Community

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Community

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Community

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Community

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Community) predicate.Community

Or groups predicates with the OR operator between them.

func ProvinceID

func ProvinceID(v int) predicate.Community

ProvinceID applies equality check predicate on the "province_id" field. It's identical to ProvinceIDEQ.

func ProvinceIDEQ

func ProvinceIDEQ(v int) predicate.Community

ProvinceIDEQ applies the EQ predicate on the "province_id" field.

func ProvinceIDGT

func ProvinceIDGT(v int) predicate.Community

ProvinceIDGT applies the GT predicate on the "province_id" field.

func ProvinceIDGTE

func ProvinceIDGTE(v int) predicate.Community

ProvinceIDGTE applies the GTE predicate on the "province_id" field.

func ProvinceIDIn

func ProvinceIDIn(vs ...int) predicate.Community

ProvinceIDIn applies the In predicate on the "province_id" field.

func ProvinceIDLT

func ProvinceIDLT(v int) predicate.Community

ProvinceIDLT applies the LT predicate on the "province_id" field.

func ProvinceIDLTE

func ProvinceIDLTE(v int) predicate.Community

ProvinceIDLTE applies the LTE predicate on the "province_id" field.

func ProvinceIDNEQ

func ProvinceIDNEQ(v int) predicate.Community

ProvinceIDNEQ applies the NEQ predicate on the "province_id" field.

func ProvinceIDNotIn

func ProvinceIDNotIn(vs ...int) predicate.Community

ProvinceIDNotIn applies the NotIn predicate on the "province_id" field.

func StartTime

func StartTime(v time.Time) predicate.Community

StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.

func StartTimeEQ

func StartTimeEQ(v time.Time) predicate.Community

StartTimeEQ applies the EQ predicate on the "start_time" field.

func StartTimeGT

func StartTimeGT(v time.Time) predicate.Community

StartTimeGT applies the GT predicate on the "start_time" field.

func StartTimeGTE

func StartTimeGTE(v time.Time) predicate.Community

StartTimeGTE applies the GTE predicate on the "start_time" field.

func StartTimeIn

func StartTimeIn(vs ...time.Time) predicate.Community

StartTimeIn applies the In predicate on the "start_time" field.

func StartTimeLT

func StartTimeLT(v time.Time) predicate.Community

StartTimeLT applies the LT predicate on the "start_time" field.

func StartTimeLTE

func StartTimeLTE(v time.Time) predicate.Community

StartTimeLTE applies the LTE predicate on the "start_time" field.

func StartTimeNEQ

func StartTimeNEQ(v time.Time) predicate.Community

StartTimeNEQ applies the NEQ predicate on the "start_time" field.

func StartTimeNotIn

func StartTimeNotIn(vs ...time.Time) predicate.Community

StartTimeNotIn applies the NotIn predicate on the "start_time" field.

func State

func State(v int) predicate.Community

State applies equality check predicate on the "state" field. It's identical to StateEQ.

func StateEQ

func StateEQ(v int) predicate.Community

StateEQ applies the EQ predicate on the "state" field.

func StateGT

func StateGT(v int) predicate.Community

StateGT applies the GT predicate on the "state" field.

func StateGTE

func StateGTE(v int) predicate.Community

StateGTE applies the GTE predicate on the "state" field.

func StateIn

func StateIn(vs ...int) predicate.Community

StateIn applies the In predicate on the "state" field.

func StateLT

func StateLT(v int) predicate.Community

StateLT applies the LT predicate on the "state" field.

func StateLTE

func StateLTE(v int) predicate.Community

StateLTE applies the LTE predicate on the "state" field.

func StateNEQ

func StateNEQ(v int) predicate.Community

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...int) predicate.Community

StateNotIn applies the NotIn predicate on the "state" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Community

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Community

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Community

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Community

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Community

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Community

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Community

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Community

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Community

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL