package
0.0.0-20241028171517-0d900cc159b8
Repository: https://github.com/kamijoucen/notesync.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
ByCreateTime orders the results by the create_time field.
ByDescription orders the results by the description field.
ByFiles orders the results by files terms.
ByFilesCount orders the results by files count.
ByID orders the results by the id field.
ByName orders the results by the name field.
ByUpdateTime orders the results by the update_time field.
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.
Description applies equality check predicate on the "description" field.
DescriptionContains applies the Contains predicate on the "description" field.
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
DescriptionEQ applies the EQ predicate on the "description" field.
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
DescriptionGT applies the GT predicate on the "description" field.
DescriptionGTE applies the GTE predicate on the "description" field.
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
DescriptionIn applies the In predicate on the "description" field.
DescriptionLT applies the LT predicate on the "description" field.
DescriptionLTE applies the LTE predicate on the "description" field.
DescriptionNEQ applies the NEQ predicate on the "description" field.
DescriptionNotIn applies the NotIn predicate on the "description" field.
HasFiles applies the HasEdge predicate on the "files" edge.
HasFilesWith applies the HasEdge predicate on the "files" 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.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
PublicKey applies equality check predicate on the "public_key" field.
PublicKeyEQ applies the EQ predicate on the "public_key" field.
PublicKeyGT applies the GT predicate on the "public_key" field.
PublicKeyGTE applies the GTE predicate on the "public_key" field.
PublicKeyIn applies the In predicate on the "public_key" field.
PublicKeyLT applies the LT predicate on the "public_key" field.
PublicKeyLTE applies the LTE predicate on the "public_key" field.
PublicKeyNEQ applies the NEQ predicate on the "public_key" field.
PublicKeyNotIn applies the NotIn predicate on the "public_key" 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.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

EdgeFiles holds the string denoting the files edge name in mutations.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldDescription holds the string denoting the description field in the database.
FieldID holds the string denoting the id field in the database.
FieldName holds the string denoting the name field in the database.
FieldPublicKey holds the string denoting the public_key field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
FilesColumn is the table column denoting the files relation/edge.
FilesInverseTable is the table name for the FileItem entity.
FilesTable is the table that holds the files relation/edge.
Label holds the string label denoting the repository type in the database.
Table holds the table name of the repository in the database.

# Variables

Columns holds all SQL columns for repository fields.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.

# Type aliases

OrderOption defines the ordering options for the Repository queries.