notefilesystem

package
v0.0.0-...-2fd3d37 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the notefilesystem type in the database.
	Label = "note_filesystem"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldMemberGid holds the string denoting the member_gid field in the database.
	FieldMemberGid = "member_gid"
	// FieldParentID holds the string denoting the parent_id field in the database.
	FieldParentID = "parent_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldIsDir holds the string denoting the is_dir field in the database.
	FieldIsDir = "is_dir"
	// FieldDeleted holds the string denoting the deleted field in the database.
	FieldDeleted = "deleted"

	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"

	// Table holds the table name of the notefilesystem in the database.
	Table = "note_filesystem"
	// OwnerTable is the table the holds the owner relation/edge.
	OwnerTable = "note_filesystem"
	// OwnerInverseTable is the table name for the Member entity.
	// It exists in this package in order to avoid circular dependency with the "member" package.
	OwnerInverseTable = "member"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "member_note_filesystem"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the created_at field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the updated_at field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the updated_at field.
	UpdateDefaultUpdatedAt func() time.Time
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultIsDir holds the default value on creation for the is_dir field.
	DefaultIsDir bool
	// DefaultDeleted holds the default value on creation for the deleted field.
	DefaultDeleted bool
)

Columns holds all SQL columns for notefilesystem fields.

View Source
var ForeignKeys = []string{
	"member_note_filesystem",
}

ForeignKeys holds the SQL foreign-keys that are owned by the NoteFilesystem type.

Functions

func And

And groups list of predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.NoteFilesystem

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.NoteFilesystem

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.NoteFilesystem

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.NoteFilesystem

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.NoteFilesystem

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.NoteFilesystem

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.NoteFilesystem

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

func CreatedAtNotIn

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

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

func Deleted

func Deleted(v bool) predicate.NoteFilesystem

Deleted applies equality check predicate on the "deleted" field. It's identical to DeletedEQ.

func DeletedEQ

func DeletedEQ(v bool) predicate.NoteFilesystem

DeletedEQ applies the EQ predicate on the "deleted" field.

func DeletedNEQ

func DeletedNEQ(v bool) predicate.NoteFilesystem

DeletedNEQ applies the NEQ predicate on the "deleted" field.

func HasOwner

func HasOwner() predicate.NoteFilesystem

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.Member) predicate.NoteFilesystem

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id int) predicate.NoteFilesystem

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.NoteFilesystem

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.NoteFilesystem

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.NoteFilesystem

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.NoteFilesystem

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.NoteFilesystem

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsDir

func IsDir(v bool) predicate.NoteFilesystem

IsDir applies equality check predicate on the "is_dir" field. It's identical to IsDirEQ.

func IsDirEQ

func IsDirEQ(v bool) predicate.NoteFilesystem

IsDirEQ applies the EQ predicate on the "is_dir" field.

func IsDirNEQ

func IsDirNEQ(v bool) predicate.NoteFilesystem

IsDirNEQ applies the NEQ predicate on the "is_dir" field.

func MemberGid

func MemberGid(v uuid.UUID) predicate.NoteFilesystem

MemberGid applies equality check predicate on the "member_gid" field. It's identical to MemberGidEQ.

func MemberGidEQ

func MemberGidEQ(v uuid.UUID) predicate.NoteFilesystem

MemberGidEQ applies the EQ predicate on the "member_gid" field.

func MemberGidGT

func MemberGidGT(v uuid.UUID) predicate.NoteFilesystem

MemberGidGT applies the GT predicate on the "member_gid" field.

func MemberGidGTE

func MemberGidGTE(v uuid.UUID) predicate.NoteFilesystem

MemberGidGTE applies the GTE predicate on the "member_gid" field.

func MemberGidIn

func MemberGidIn(vs ...uuid.UUID) predicate.NoteFilesystem

MemberGidIn applies the In predicate on the "member_gid" field.

func MemberGidLT

func MemberGidLT(v uuid.UUID) predicate.NoteFilesystem

MemberGidLT applies the LT predicate on the "member_gid" field.

func MemberGidLTE

func MemberGidLTE(v uuid.UUID) predicate.NoteFilesystem

MemberGidLTE applies the LTE predicate on the "member_gid" field.

func MemberGidNEQ

func MemberGidNEQ(v uuid.UUID) predicate.NoteFilesystem

MemberGidNEQ applies the NEQ predicate on the "member_gid" field.

func MemberGidNotIn

func MemberGidNotIn(vs ...uuid.UUID) predicate.NoteFilesystem

MemberGidNotIn applies the NotIn predicate on the "member_gid" field.

func Name

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

func NameContains

func NameContains(v string) predicate.NoteFilesystem

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

func NameContainsFold

func NameContainsFold(v string) predicate.NoteFilesystem

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.NoteFilesystem

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

func NameGT

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

func NameGTE

func NameGTE(v string) predicate.NoteFilesystem

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.NoteFilesystem

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.NoteFilesystem

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

func NameIn

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

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

func NameLT

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

func NameLTE

func NameLTE(v string) predicate.NoteFilesystem

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

func NameNEQ

func NameNEQ(v string) predicate.NoteFilesystem

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups list of predicates with the OR operator between them.

func ParentID

func ParentID(v int) predicate.NoteFilesystem

ParentID applies equality check predicate on the "parent_id" field. It's identical to ParentIDEQ.

func ParentIDEQ

func ParentIDEQ(v int) predicate.NoteFilesystem

ParentIDEQ applies the EQ predicate on the "parent_id" field.

func ParentIDGT

func ParentIDGT(v int) predicate.NoteFilesystem

ParentIDGT applies the GT predicate on the "parent_id" field.

func ParentIDGTE

func ParentIDGTE(v int) predicate.NoteFilesystem

ParentIDGTE applies the GTE predicate on the "parent_id" field.

func ParentIDIn

func ParentIDIn(vs ...int) predicate.NoteFilesystem

ParentIDIn applies the In predicate on the "parent_id" field.

func ParentIDLT

func ParentIDLT(v int) predicate.NoteFilesystem

ParentIDLT applies the LT predicate on the "parent_id" field.

func ParentIDLTE

func ParentIDLTE(v int) predicate.NoteFilesystem

ParentIDLTE applies the LTE predicate on the "parent_id" field.

func ParentIDNEQ

func ParentIDNEQ(v int) predicate.NoteFilesystem

ParentIDNEQ applies the NEQ predicate on the "parent_id" field.

func ParentIDNotIn

func ParentIDNotIn(vs ...int) predicate.NoteFilesystem

ParentIDNotIn applies the NotIn predicate on the "parent_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.NoteFilesystem

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.NoteFilesystem

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.NoteFilesystem

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.NoteFilesystem

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.NoteFilesystem

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.NoteFilesystem

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.NoteFilesystem

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

func UpdatedAtNotIn

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

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