package
1.1.7
Repository: https://github.com/tinygodsdev/orrery.git
Documentation: pkg.go.dev

# Functions

Active applies equality check predicate on the "active" field.
ActiveEQ applies the EQ predicate on the "active" field.
ActiveNEQ applies the NEQ predicate on the "active" field.
And groups predicates with the AND operator between them.
CreateTime applies equality check predicate on the "create_time" field.
CreateTimeEQ applies the EQ predicate on the "create_time" field.
CreateTimeGT applies the GT predicate on the "create_time" field.
CreateTimeGTE applies the GTE predicate on the "create_time" field.
CreateTimeIn applies the In predicate on the "create_time" field.
CreateTimeLT applies the LT predicate on the "create_time" field.
CreateTimeLTE applies the LTE predicate on the "create_time" field.
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
HasUser applies the HasEdge predicate on the "user" edge.
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
IP applies equality check predicate on the "ip" field.
IPContains applies the Contains predicate on the "ip" field.
IPContainsFold applies the ContainsFold predicate on the "ip" field.
IPEQ applies the EQ predicate on the "ip" field.
IPEqualFold applies the EqualFold predicate on the "ip" field.
IPGT applies the GT predicate on the "ip" field.
IPGTE applies the GTE predicate on the "ip" field.
IPHasPrefix applies the HasPrefix predicate on the "ip" field.
IPHasSuffix applies the HasSuffix predicate on the "ip" field.
IPIn applies the In predicate on the "ip" field.
IPLT applies the LT predicate on the "ip" field.
IPLTE applies the LTE predicate on the "ip" field.
IPNEQ applies the NEQ predicate on the "ip" field.
IPNotIn applies the NotIn predicate on the "ip" field.
LastActivity applies equality check predicate on the "last_activity" field.
LastActivityEQ applies the EQ predicate on the "last_activity" field.
LastActivityGT applies the GT predicate on the "last_activity" field.
LastActivityGTE applies the GTE predicate on the "last_activity" field.
LastActivityIn applies the In predicate on the "last_activity" field.
LastActivityLT applies the LT predicate on the "last_activity" field.
LastActivityLTE applies the LTE predicate on the "last_activity" field.
LastActivityNEQ applies the NEQ predicate on the "last_activity" field.
LastActivityNotIn applies the NotIn predicate on the "last_activity" field.
MetaIsNil applies the IsNil predicate on the "meta" field.
MetaNotNil applies the NotNil predicate on the "meta" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Sid applies equality check predicate on the "sid" field.
SidContains applies the Contains predicate on the "sid" field.
SidContainsFold applies the ContainsFold predicate on the "sid" field.
SidEQ applies the EQ predicate on the "sid" field.
SidEqualFold applies the EqualFold predicate on the "sid" field.
SidGT applies the GT predicate on the "sid" field.
SidGTE applies the GTE predicate on the "sid" field.
SidHasPrefix applies the HasPrefix predicate on the "sid" field.
SidHasSuffix applies the HasSuffix predicate on the "sid" field.
SidIn applies the In predicate on the "sid" field.
SidLT applies the LT predicate on the "sid" field.
SidLTE applies the LTE predicate on the "sid" field.
SidNEQ applies the NEQ predicate on the "sid" field.
SidNotIn applies the NotIn predicate on the "sid" field.
UpdateTime applies equality check predicate on the "update_time" field.
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
UpdateTimeGT applies the GT predicate on the "update_time" field.
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
UpdateTimeIn applies the In predicate on the "update_time" field.
UpdateTimeLT applies the LT predicate on the "update_time" field.
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
UserAgent applies equality check predicate on the "user_agent" field.
UserAgentContains applies the Contains predicate on the "user_agent" field.
UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.
UserAgentEQ applies the EQ predicate on the "user_agent" field.
UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.
UserAgentGT applies the GT predicate on the "user_agent" field.
UserAgentGTE applies the GTE predicate on the "user_agent" field.
UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.
UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.
UserAgentIn applies the In predicate on the "user_agent" field.
UserAgentLT applies the LT predicate on the "user_agent" field.
UserAgentLTE applies the LTE predicate on the "user_agent" field.
UserAgentNEQ applies the NEQ predicate on the "user_agent" field.
UserAgentNotIn applies the NotIn predicate on the "user_agent" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeUser holds the string denoting the user edge name in mutations.
FieldActive holds the string denoting the active field in the database.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldID holds the string denoting the id field in the database.
FieldIP holds the string denoting the ip field in the database.
FieldLastActivity holds the string denoting the last_activity field in the database.
FieldMeta holds the string denoting the meta field in the database.
FieldSid holds the string denoting the sid field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
FieldUserAgent holds the string denoting the user_agent field in the database.
Label holds the string label denoting the usersession type in the database.
Table holds the table name of the usersession in the database.
UserColumn is the table column denoting the user relation/edge.
UserInverseTable is the table name for the User entity.
UserTable is the table that holds the user relation/edge.

# Variables

Columns holds all SQL columns for usersession fields.
DefaultActive holds the default value on creation for the "active" field.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultLastActivity holds the default value on creation for the "last_activity" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "user_sessions" table and are not defined as standalone fields in the schema.
SidValidator is a validator for the "sid" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.