Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Shop) predicate.Shop
- func BuiltUpArea(v float32) predicate.Shop
- func BuiltUpAreaEQ(v float32) predicate.Shop
- func BuiltUpAreaGT(v float32) predicate.Shop
- func BuiltUpAreaGTE(v float32) predicate.Shop
- func BuiltUpAreaIn(vs ...float32) predicate.Shop
- func BuiltUpAreaLT(v float32) predicate.Shop
- func BuiltUpAreaLTE(v float32) predicate.Shop
- func BuiltUpAreaNEQ(v float32) predicate.Shop
- func BuiltUpAreaNotIn(vs ...float32) predicate.Shop
- func CommunityID(v int) predicate.Shop
- func CommunityIDEQ(v int) predicate.Shop
- func CommunityIDGT(v int) predicate.Shop
- func CommunityIDGTE(v int) predicate.Shop
- func CommunityIDIn(vs ...int) predicate.Shop
- func CommunityIDLT(v int) predicate.Shop
- func CommunityIDLTE(v int) predicate.Shop
- func CommunityIDNEQ(v int) predicate.Shop
- func CommunityIDNotIn(vs ...int) predicate.Shop
- func CreatedAt(v time.Time) predicate.Shop
- func CreatedAtEQ(v time.Time) predicate.Shop
- func CreatedAtGT(v time.Time) predicate.Shop
- func CreatedAtGTE(v time.Time) predicate.Shop
- func CreatedAtIn(vs ...time.Time) predicate.Shop
- func CreatedAtLT(v time.Time) predicate.Shop
- func CreatedAtLTE(v time.Time) predicate.Shop
- func CreatedAtNEQ(v time.Time) predicate.Shop
- func CreatedAtNotIn(vs ...time.Time) predicate.Shop
- func DeletedAt(v time.Time) predicate.Shop
- func DeletedAtEQ(v time.Time) predicate.Shop
- func DeletedAtGT(v time.Time) predicate.Shop
- func DeletedAtGTE(v time.Time) predicate.Shop
- func DeletedAtIn(vs ...time.Time) predicate.Shop
- func DeletedAtLT(v time.Time) predicate.Shop
- func DeletedAtLTE(v time.Time) predicate.Shop
- func DeletedAtNEQ(v time.Time) predicate.Shop
- func DeletedAtNotIn(vs ...time.Time) predicate.Shop
- func FeeRate(v float32) predicate.Shop
- func FeeRateEQ(v float32) predicate.Shop
- func FeeRateGT(v float32) predicate.Shop
- func FeeRateGTE(v float32) predicate.Shop
- func FeeRateIn(vs ...float32) predicate.Shop
- func FeeRateLT(v float32) predicate.Shop
- func FeeRateLTE(v float32) predicate.Shop
- func FeeRateNEQ(v float32) predicate.Shop
- func FeeRateNotIn(vs ...float32) predicate.Shop
- func FloorID(v string) predicate.Shop
- func FloorIDContains(v string) predicate.Shop
- func FloorIDContainsFold(v string) predicate.Shop
- func FloorIDEQ(v string) predicate.Shop
- func FloorIDEqualFold(v string) predicate.Shop
- func FloorIDGT(v string) predicate.Shop
- func FloorIDGTE(v string) predicate.Shop
- func FloorIDHasPrefix(v string) predicate.Shop
- func FloorIDHasSuffix(v string) predicate.Shop
- func FloorIDIn(vs ...string) predicate.Shop
- func FloorIDLT(v string) predicate.Shop
- func FloorIDLTE(v string) predicate.Shop
- func FloorIDNEQ(v string) predicate.Shop
- func FloorIDNotIn(vs ...string) predicate.Shop
- func ID(id int) predicate.Shop
- func IDEQ(id int) predicate.Shop
- func IDGT(id int) predicate.Shop
- func IDGTE(id int) predicate.Shop
- func IDIn(ids ...int) predicate.Shop
- func IDLT(id int) predicate.Shop
- func IDLTE(id int) predicate.Shop
- func IDNEQ(id int) predicate.Shop
- func IDNotIn(ids ...int) predicate.Shop
- func Layer(v int) predicate.Shop
- func LayerEQ(v int) predicate.Shop
- func LayerGT(v int) predicate.Shop
- func LayerGTE(v int) predicate.Shop
- func LayerIn(vs ...int) predicate.Shop
- func LayerLT(v int) predicate.Shop
- func LayerLTE(v int) predicate.Shop
- func LayerNEQ(v int) predicate.Shop
- func LayerNotIn(vs ...int) predicate.Shop
- func Not(p predicate.Shop) predicate.Shop
- func Or(predicates ...predicate.Shop) predicate.Shop
- func Remark(v string) predicate.Shop
- func RemarkContains(v string) predicate.Shop
- func RemarkContainsFold(v string) predicate.Shop
- func RemarkEQ(v string) predicate.Shop
- func RemarkEqualFold(v string) predicate.Shop
- func RemarkGT(v string) predicate.Shop
- func RemarkGTE(v string) predicate.Shop
- func RemarkHasPrefix(v string) predicate.Shop
- func RemarkHasSuffix(v string) predicate.Shop
- func RemarkIn(vs ...string) predicate.Shop
- func RemarkLT(v string) predicate.Shop
- func RemarkLTE(v string) predicate.Shop
- func RemarkNEQ(v string) predicate.Shop
- func RemarkNotIn(vs ...string) predicate.Shop
- func Rent(v float32) predicate.Shop
- func RentEQ(v float32) predicate.Shop
- func RentGT(v float32) predicate.Shop
- func RentGTE(v float32) predicate.Shop
- func RentIn(vs ...float32) predicate.Shop
- func RentLT(v float32) predicate.Shop
- func RentLTE(v float32) predicate.Shop
- func RentNEQ(v float32) predicate.Shop
- func RentNotIn(vs ...float32) predicate.Shop
- func RoomArea(v float32) predicate.Shop
- func RoomAreaEQ(v float32) predicate.Shop
- func RoomAreaGT(v float32) predicate.Shop
- func RoomAreaGTE(v float32) predicate.Shop
- func RoomAreaIn(vs ...float32) predicate.Shop
- func RoomAreaLT(v float32) predicate.Shop
- func RoomAreaLTE(v float32) predicate.Shop
- func RoomAreaNEQ(v float32) predicate.Shop
- func RoomAreaNotIn(vs ...float32) predicate.Shop
- func RoomNum(v int) predicate.Shop
- func RoomNumEQ(v int) predicate.Shop
- func RoomNumGT(v int) predicate.Shop
- func RoomNumGTE(v int) predicate.Shop
- func RoomNumIn(vs ...int) predicate.Shop
- func RoomNumLT(v int) predicate.Shop
- func RoomNumLTE(v int) predicate.Shop
- func RoomNumNEQ(v int) predicate.Shop
- func RoomNumNotIn(vs ...int) predicate.Shop
- func UpdatedAt(v time.Time) predicate.Shop
- func UpdatedAtEQ(v time.Time) predicate.Shop
- func UpdatedAtGT(v time.Time) predicate.Shop
- func UpdatedAtGTE(v time.Time) predicate.Shop
- func UpdatedAtIn(vs ...time.Time) predicate.Shop
- func UpdatedAtLT(v time.Time) predicate.Shop
- func UpdatedAtLTE(v time.Time) predicate.Shop
- func UpdatedAtNEQ(v time.Time) predicate.Shop
- func UpdatedAtNotIn(vs ...time.Time) predicate.Shop
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the shop type in the database. Label = "shop" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFloorID holds the string denoting the floor_id field in the database. FieldFloorID = "floor_id" // FieldRoomNum holds the string denoting the room_num field in the database. FieldRoomNum = "room_num" // FieldLayer holds the string denoting the layer field in the database. FieldLayer = "layer" // FieldBuiltUpArea holds the string denoting the built_up_area field in the database. FieldBuiltUpArea = "built_up_area" // FieldCommunityID holds the string denoting the community_id field in the database. FieldCommunityID = "community_id" // FieldFeeRate holds the string denoting the fee_rate field in the database. FieldFeeRate = "fee_rate" // FieldRoomArea holds the string denoting the room_area field in the database. FieldRoomArea = "room_area" // FieldRent holds the string denoting the rent field in the database. FieldRent = "rent" // FieldRemark holds the string denoting the remark field in the database. FieldRemark = "remark" // 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 shop in the database. Table = "shops" )
Variables ¶
var Columns = []string{ FieldID, FieldFloorID, FieldRoomNum, FieldLayer, FieldBuiltUpArea, FieldCommunityID, FieldFeeRate, FieldRoomArea, FieldRent, FieldRemark, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, }
Columns holds all SQL columns for shop fields.
Functions ¶
func BuiltUpArea ¶
BuiltUpArea applies equality check predicate on the "built_up_area" field. It's identical to BuiltUpAreaEQ.
func BuiltUpAreaEQ ¶
BuiltUpAreaEQ applies the EQ predicate on the "built_up_area" field.
func BuiltUpAreaGT ¶
BuiltUpAreaGT applies the GT predicate on the "built_up_area" field.
func BuiltUpAreaGTE ¶
BuiltUpAreaGTE applies the GTE predicate on the "built_up_area" field.
func BuiltUpAreaIn ¶
BuiltUpAreaIn applies the In predicate on the "built_up_area" field.
func BuiltUpAreaLT ¶
BuiltUpAreaLT applies the LT predicate on the "built_up_area" field.
func BuiltUpAreaLTE ¶
BuiltUpAreaLTE applies the LTE predicate on the "built_up_area" field.
func BuiltUpAreaNEQ ¶
BuiltUpAreaNEQ applies the NEQ predicate on the "built_up_area" field.
func BuiltUpAreaNotIn ¶
BuiltUpAreaNotIn applies the NotIn predicate on the "built_up_area" field.
func CommunityID ¶
CommunityID applies equality check predicate on the "community_id" field. It's identical to CommunityIDEQ.
func CommunityIDEQ ¶
CommunityIDEQ applies the EQ predicate on the "community_id" field.
func CommunityIDGT ¶
CommunityIDGT applies the GT predicate on the "community_id" field.
func CommunityIDGTE ¶
CommunityIDGTE applies the GTE predicate on the "community_id" field.
func CommunityIDIn ¶
CommunityIDIn applies the In predicate on the "community_id" field.
func CommunityIDLT ¶
CommunityIDLT applies the LT predicate on the "community_id" field.
func CommunityIDLTE ¶
CommunityIDLTE applies the LTE predicate on the "community_id" field.
func CommunityIDNEQ ¶
CommunityIDNEQ applies the NEQ predicate on the "community_id" field.
func CommunityIDNotIn ¶
CommunityIDNotIn applies the NotIn predicate on the "community_id" 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 FeeRate ¶
FeeRate applies equality check predicate on the "fee_rate" field. It's identical to FeeRateEQ.
func FeeRateGTE ¶
FeeRateGTE applies the GTE predicate on the "fee_rate" field.
func FeeRateLTE ¶
FeeRateLTE applies the LTE predicate on the "fee_rate" field.
func FeeRateNEQ ¶
FeeRateNEQ applies the NEQ predicate on the "fee_rate" field.
func FeeRateNotIn ¶
FeeRateNotIn applies the NotIn predicate on the "fee_rate" field.
func FloorID ¶
FloorID applies equality check predicate on the "floor_id" field. It's identical to FloorIDEQ.
func FloorIDContains ¶
FloorIDContains applies the Contains predicate on the "floor_id" field.
func FloorIDContainsFold ¶
FloorIDContainsFold applies the ContainsFold predicate on the "floor_id" field.
func FloorIDEqualFold ¶
FloorIDEqualFold applies the EqualFold predicate on the "floor_id" field.
func FloorIDGTE ¶
FloorIDGTE applies the GTE predicate on the "floor_id" field.
func FloorIDHasPrefix ¶
FloorIDHasPrefix applies the HasPrefix predicate on the "floor_id" field.
func FloorIDHasSuffix ¶
FloorIDHasSuffix applies the HasSuffix predicate on the "floor_id" field.
func FloorIDLTE ¶
FloorIDLTE applies the LTE predicate on the "floor_id" field.
func FloorIDNEQ ¶
FloorIDNEQ applies the NEQ predicate on the "floor_id" field.
func FloorIDNotIn ¶
FloorIDNotIn applies the NotIn predicate on the "floor_id" field.
func Layer ¶
Layer applies equality check predicate on the "layer" field. It's identical to LayerEQ.
func LayerNotIn ¶
LayerNotIn applies the NotIn predicate on the "layer" field.
func Remark ¶
Remark applies equality check predicate on the "remark" field. It's identical to RemarkEQ.
func RemarkContains ¶
RemarkContains applies the Contains predicate on the "remark" field.
func RemarkContainsFold ¶
RemarkContainsFold applies the ContainsFold predicate on the "remark" field.
func RemarkEqualFold ¶
RemarkEqualFold applies the EqualFold predicate on the "remark" field.
func RemarkHasPrefix ¶
RemarkHasPrefix applies the HasPrefix predicate on the "remark" field.
func RemarkHasSuffix ¶
RemarkHasSuffix applies the HasSuffix predicate on the "remark" field.
func RemarkNotIn ¶
RemarkNotIn applies the NotIn predicate on the "remark" field.
func RoomArea ¶
RoomArea applies equality check predicate on the "room_area" field. It's identical to RoomAreaEQ.
func RoomAreaEQ ¶
RoomAreaEQ applies the EQ predicate on the "room_area" field.
func RoomAreaGT ¶
RoomAreaGT applies the GT predicate on the "room_area" field.
func RoomAreaGTE ¶
RoomAreaGTE applies the GTE predicate on the "room_area" field.
func RoomAreaIn ¶
RoomAreaIn applies the In predicate on the "room_area" field.
func RoomAreaLT ¶
RoomAreaLT applies the LT predicate on the "room_area" field.
func RoomAreaLTE ¶
RoomAreaLTE applies the LTE predicate on the "room_area" field.
func RoomAreaNEQ ¶
RoomAreaNEQ applies the NEQ predicate on the "room_area" field.
func RoomAreaNotIn ¶
RoomAreaNotIn applies the NotIn predicate on the "room_area" field.
func RoomNum ¶
RoomNum applies equality check predicate on the "room_num" field. It's identical to RoomNumEQ.
func RoomNumGTE ¶
RoomNumGTE applies the GTE predicate on the "room_num" field.
func RoomNumLTE ¶
RoomNumLTE applies the LTE predicate on the "room_num" field.
func RoomNumNEQ ¶
RoomNumNEQ applies the NEQ predicate on the "room_num" field.
func RoomNumNotIn ¶
RoomNumNotIn applies the NotIn predicate on the "room_num" 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.