package
0.0.0-20220328111020-71cacd3d0751
Repository: https://github.com/arifulprotik/gograph-notes.git
Documentation: pkg.go.dev

# Functions

And groups predicates with the AND operator between them.
Body applies equality check predicate on the "body" field.
BodyContains applies the Contains predicate on the "body" field.
BodyContainsFold applies the ContainsFold predicate on the "body" field.
BodyEQ applies the EQ predicate on the "body" field.
BodyEqualFold applies the EqualFold predicate on the "body" field.
BodyGT applies the GT predicate on the "body" field.
BodyGTE applies the GTE predicate on the "body" field.
BodyHasPrefix applies the HasPrefix predicate on the "body" field.
BodyHasSuffix applies the HasSuffix predicate on the "body" field.
BodyIn applies the In predicate on the "body" field.
BodyLT applies the LT predicate on the "body" field.
BodyLTE applies the LTE predicate on the "body" field.
BodyNEQ applies the NEQ predicate on the "body" field.
BodyNotIn applies the NotIn predicate on the "body" field.
CreatedAt applies equality check predicate on the "created_at" field.
CreatedAtEQ applies the EQ predicate on the "created_at" field.
CreatedAtGT applies the GT predicate on the "created_at" field.
CreatedAtGTE applies the GTE predicate on the "created_at" field.
CreatedAtIn applies the In predicate on the "created_at" field.
CreatedAtLT applies the LT predicate on the "created_at" field.
CreatedAtLTE applies the LTE predicate on the "created_at" field.
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
HasAuthor applies the HasEdge predicate on the "author" edge.
HasAuthorWith applies the HasEdge predicate on the "author" 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.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
Slug applies equality check predicate on the "slug" field.
SlugContains applies the Contains predicate on the "slug" field.
SlugContainsFold applies the ContainsFold predicate on the "slug" field.
SlugEQ applies the EQ predicate on the "slug" field.
SlugEqualFold applies the EqualFold predicate on the "slug" field.
SlugGT applies the GT predicate on the "slug" field.
SlugGTE applies the GTE predicate on the "slug" field.
SlugHasPrefix applies the HasPrefix predicate on the "slug" field.
SlugHasSuffix applies the HasSuffix predicate on the "slug" field.
SlugIn applies the In predicate on the "slug" field.
SlugLT applies the LT predicate on the "slug" field.
SlugLTE applies the LTE predicate on the "slug" field.
SlugNEQ applies the NEQ predicate on the "slug" field.
SlugNotIn applies the NotIn predicate on the "slug" field.
Title applies equality check predicate on the "title" field.
TitleContains applies the Contains predicate on the "title" field.
TitleContainsFold applies the ContainsFold predicate on the "title" field.
TitleEQ applies the EQ predicate on the "title" field.
TitleEqualFold applies the EqualFold predicate on the "title" field.
TitleGT applies the GT predicate on the "title" field.
TitleGTE applies the GTE predicate on the "title" field.
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
TitleIn applies the In predicate on the "title" field.
TitleLT applies the LT predicate on the "title" field.
TitleLTE applies the LTE predicate on the "title" field.
TitleNEQ applies the NEQ predicate on the "title" field.
TitleNotIn applies the NotIn predicate on the "title" field.
ValidColumn reports if the column name is valid (part of the table columns).

# Constants

AuthorColumn is the table column denoting the author relation/edge.
AuthorInverseTable is the table name for the User entity.
AuthorTable is the table that holds the author relation/edge.
EdgeAuthor holds the string denoting the author edge name in mutations.
FieldBody holds the string denoting the body field in the database.
FieldCreatedAt holds the string denoting the created_at field in the database.
FieldID holds the string denoting the id field in the database.
FieldSlug holds the string denoting the slug field in the database.
FieldTags holds the string denoting the tags field in the database.
FieldTitle holds the string denoting the title field in the database.
Label holds the string label denoting the notes type in the database.
Table holds the table name of the notes in the database.

# Variables

BodyValidator is a validator for the "body" field.
Columns holds all SQL columns for notes fields.
DefaultCreatedAt holds the default value on creation for the "created_at" field.
DefaultID holds the default value on creation for the "id" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "notes" table and are not defined as standalone fields in the schema.
SlugValidator is a validator for the "slug" field.
TitleValidator is a validator for the "title" field.