funcnode

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the funcnode type in the database.
	Label = "func_node"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldKey holds the string denoting the key field in the database.
	FieldKey = "key"
	// FieldFullName holds the string denoting the full_name field in the database.
	FieldFullName = "full_name"
	// FieldPkg holds the string denoting the pkg field in the database.
	FieldPkg = "pkg"
	// FieldPkgPath holds the string denoting the pkg_path field in the database.
	FieldPkgPath = "pkg_path"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldFilename holds the string denoting the filename field in the database.
	FieldFilename = "filename"
	// FieldStartLine holds the string denoting the start_line field in the database.
	FieldStartLine = "start_line"
	// FieldEndLine holds the string denoting the end_line field in the database.
	FieldEndLine = "end_line"
	// FieldSignature holds the string denoting the signature field in the database.
	FieldSignature = "signature"
	// FieldSourceCode holds the string denoting the source_code field in the database.
	FieldSourceCode = "source_code"
	// FieldCreatedAt holds the string denoting the createdat field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updatedat field in the database.
	FieldUpdatedAt = "updated_at"
	// Table holds the table name of the funcnode in the database.
	Table = "func_nodes"
)

Variables

View Source
var (
	// KeyValidator is a validator for the "key" field. It is called by the builders before save.
	KeyValidator func(string) error
	// FullNameValidator is a validator for the "full_name" field. It is called by the builders before save.
	FullNameValidator func(string) error
	// PkgValidator is a validator for the "pkg" field. It is called by the builders before save.
	PkgValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultCreatedAt holds the default value on creation for the "CreatedAt" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "UpdatedAt" field.
	DefaultUpdatedAt func() time.Time
)

Columns holds all SQL columns for funcnode fields.

Functions

func And

func And(predicates ...predicate.FuncNode) predicate.FuncNode

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.FuncNode

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.FuncNode

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.FuncNode

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.FuncNode

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.FuncNode

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.FuncNode

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.FuncNode

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

func CreatedAtNotIn

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

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

func EndLine added in v1.2.1

func EndLine(v int) predicate.FuncNode

EndLine applies equality check predicate on the "end_line" field. It's identical to EndLineEQ.

func EndLineEQ added in v1.2.1

func EndLineEQ(v int) predicate.FuncNode

EndLineEQ applies the EQ predicate on the "end_line" field.

func EndLineGT added in v1.2.1

func EndLineGT(v int) predicate.FuncNode

EndLineGT applies the GT predicate on the "end_line" field.

func EndLineGTE added in v1.2.1

func EndLineGTE(v int) predicate.FuncNode

EndLineGTE applies the GTE predicate on the "end_line" field.

func EndLineIn added in v1.2.1

func EndLineIn(vs ...int) predicate.FuncNode

EndLineIn applies the In predicate on the "end_line" field.

func EndLineIsNil added in v1.2.1

func EndLineIsNil() predicate.FuncNode

EndLineIsNil applies the IsNil predicate on the "end_line" field.

func EndLineLT added in v1.2.1

func EndLineLT(v int) predicate.FuncNode

EndLineLT applies the LT predicate on the "end_line" field.

func EndLineLTE added in v1.2.1

func EndLineLTE(v int) predicate.FuncNode

EndLineLTE applies the LTE predicate on the "end_line" field.

func EndLineNEQ added in v1.2.1

func EndLineNEQ(v int) predicate.FuncNode

EndLineNEQ applies the NEQ predicate on the "end_line" field.

func EndLineNotIn added in v1.2.1

func EndLineNotIn(vs ...int) predicate.FuncNode

EndLineNotIn applies the NotIn predicate on the "end_line" field.

func EndLineNotNil added in v1.2.1

func EndLineNotNil() predicate.FuncNode

EndLineNotNil applies the NotNil predicate on the "end_line" field.

func Filename added in v1.2.1

func Filename(v string) predicate.FuncNode

Filename applies equality check predicate on the "filename" field. It's identical to FilenameEQ.

func FilenameContains added in v1.2.1

func FilenameContains(v string) predicate.FuncNode

FilenameContains applies the Contains predicate on the "filename" field.

func FilenameContainsFold added in v1.2.1

func FilenameContainsFold(v string) predicate.FuncNode

FilenameContainsFold applies the ContainsFold predicate on the "filename" field.

func FilenameEQ added in v1.2.1

func FilenameEQ(v string) predicate.FuncNode

FilenameEQ applies the EQ predicate on the "filename" field.

func FilenameEqualFold added in v1.2.1

func FilenameEqualFold(v string) predicate.FuncNode

FilenameEqualFold applies the EqualFold predicate on the "filename" field.

func FilenameGT added in v1.2.1

func FilenameGT(v string) predicate.FuncNode

FilenameGT applies the GT predicate on the "filename" field.

func FilenameGTE added in v1.2.1

func FilenameGTE(v string) predicate.FuncNode

FilenameGTE applies the GTE predicate on the "filename" field.

func FilenameHasPrefix added in v1.2.1

func FilenameHasPrefix(v string) predicate.FuncNode

FilenameHasPrefix applies the HasPrefix predicate on the "filename" field.

func FilenameHasSuffix added in v1.2.1

func FilenameHasSuffix(v string) predicate.FuncNode

FilenameHasSuffix applies the HasSuffix predicate on the "filename" field.

func FilenameIn added in v1.2.1

func FilenameIn(vs ...string) predicate.FuncNode

FilenameIn applies the In predicate on the "filename" field.

func FilenameIsNil added in v1.2.1

func FilenameIsNil() predicate.FuncNode

FilenameIsNil applies the IsNil predicate on the "filename" field.

func FilenameLT added in v1.2.1

func FilenameLT(v string) predicate.FuncNode

FilenameLT applies the LT predicate on the "filename" field.

func FilenameLTE added in v1.2.1

func FilenameLTE(v string) predicate.FuncNode

FilenameLTE applies the LTE predicate on the "filename" field.

func FilenameNEQ added in v1.2.1

func FilenameNEQ(v string) predicate.FuncNode

FilenameNEQ applies the NEQ predicate on the "filename" field.

func FilenameNotIn added in v1.2.1

func FilenameNotIn(vs ...string) predicate.FuncNode

FilenameNotIn applies the NotIn predicate on the "filename" field.

func FilenameNotNil added in v1.2.1

func FilenameNotNil() predicate.FuncNode

FilenameNotNil applies the NotNil predicate on the "filename" field.

func FullName added in v1.1.6

func FullName(v string) predicate.FuncNode

FullName applies equality check predicate on the "full_name" field. It's identical to FullNameEQ.

func FullNameContains added in v1.1.6

func FullNameContains(v string) predicate.FuncNode

FullNameContains applies the Contains predicate on the "full_name" field.

func FullNameContainsFold added in v1.1.6

func FullNameContainsFold(v string) predicate.FuncNode

FullNameContainsFold applies the ContainsFold predicate on the "full_name" field.

func FullNameEQ added in v1.1.6

func FullNameEQ(v string) predicate.FuncNode

FullNameEQ applies the EQ predicate on the "full_name" field.

func FullNameEqualFold added in v1.1.6

func FullNameEqualFold(v string) predicate.FuncNode

FullNameEqualFold applies the EqualFold predicate on the "full_name" field.

func FullNameGT added in v1.1.6

func FullNameGT(v string) predicate.FuncNode

FullNameGT applies the GT predicate on the "full_name" field.

func FullNameGTE added in v1.1.6

func FullNameGTE(v string) predicate.FuncNode

FullNameGTE applies the GTE predicate on the "full_name" field.

func FullNameHasPrefix added in v1.1.6

func FullNameHasPrefix(v string) predicate.FuncNode

FullNameHasPrefix applies the HasPrefix predicate on the "full_name" field.

func FullNameHasSuffix added in v1.1.6

func FullNameHasSuffix(v string) predicate.FuncNode

FullNameHasSuffix applies the HasSuffix predicate on the "full_name" field.

func FullNameIn added in v1.1.6

func FullNameIn(vs ...string) predicate.FuncNode

FullNameIn applies the In predicate on the "full_name" field.

func FullNameLT added in v1.1.6

func FullNameLT(v string) predicate.FuncNode

FullNameLT applies the LT predicate on the "full_name" field.

func FullNameLTE added in v1.1.6

func FullNameLTE(v string) predicate.FuncNode

FullNameLTE applies the LTE predicate on the "full_name" field.

func FullNameNEQ added in v1.1.6

func FullNameNEQ(v string) predicate.FuncNode

FullNameNEQ applies the NEQ predicate on the "full_name" field.

func FullNameNotIn added in v1.1.6

func FullNameNotIn(vs ...string) predicate.FuncNode

FullNameNotIn applies the NotIn predicate on the "full_name" field.

func ID

func ID(id int) predicate.FuncNode

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.FuncNode

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.FuncNode

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.FuncNode

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.FuncNode

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.FuncNode

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.FuncNode

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Key

func Key(v string) predicate.FuncNode

Key applies equality check predicate on the "key" field. It's identical to KeyEQ.

func KeyContains

func KeyContains(v string) predicate.FuncNode

KeyContains applies the Contains predicate on the "key" field.

func KeyContainsFold

func KeyContainsFold(v string) predicate.FuncNode

KeyContainsFold applies the ContainsFold predicate on the "key" field.

func KeyEQ

func KeyEQ(v string) predicate.FuncNode

KeyEQ applies the EQ predicate on the "key" field.

func KeyEqualFold

func KeyEqualFold(v string) predicate.FuncNode

KeyEqualFold applies the EqualFold predicate on the "key" field.

func KeyGT

func KeyGT(v string) predicate.FuncNode

KeyGT applies the GT predicate on the "key" field.

func KeyGTE

func KeyGTE(v string) predicate.FuncNode

KeyGTE applies the GTE predicate on the "key" field.

func KeyHasPrefix

func KeyHasPrefix(v string) predicate.FuncNode

KeyHasPrefix applies the HasPrefix predicate on the "key" field.

func KeyHasSuffix

func KeyHasSuffix(v string) predicate.FuncNode

KeyHasSuffix applies the HasSuffix predicate on the "key" field.

func KeyIn

func KeyIn(vs ...string) predicate.FuncNode

KeyIn applies the In predicate on the "key" field.

func KeyLT

func KeyLT(v string) predicate.FuncNode

KeyLT applies the LT predicate on the "key" field.

func KeyLTE

func KeyLTE(v string) predicate.FuncNode

KeyLTE applies the LTE predicate on the "key" field.

func KeyNEQ

func KeyNEQ(v string) predicate.FuncNode

KeyNEQ applies the NEQ predicate on the "key" field.

func KeyNotIn

func KeyNotIn(vs ...string) predicate.FuncNode

KeyNotIn applies the NotIn predicate on the "key" field.

func Name

func Name(v string) predicate.FuncNode

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

func NameContains

func NameContains(v string) predicate.FuncNode

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

func NameContainsFold

func NameContainsFold(v string) predicate.FuncNode

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

func NameEQ

func NameEQ(v string) predicate.FuncNode

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

func NameEqualFold

func NameEqualFold(v string) predicate.FuncNode

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

func NameGT

func NameGT(v string) predicate.FuncNode

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

func NameGTE

func NameGTE(v string) predicate.FuncNode

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.FuncNode

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.FuncNode

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.FuncNode

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

func NameLTE

func NameLTE(v string) predicate.FuncNode

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

func NameNEQ

func NameNEQ(v string) predicate.FuncNode

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.FuncNode) predicate.FuncNode

Or groups predicates with the OR operator between them.

func Pkg

func Pkg(v string) predicate.FuncNode

Pkg applies equality check predicate on the "pkg" field. It's identical to PkgEQ.

func PkgContains

func PkgContains(v string) predicate.FuncNode

PkgContains applies the Contains predicate on the "pkg" field.

func PkgContainsFold

func PkgContainsFold(v string) predicate.FuncNode

PkgContainsFold applies the ContainsFold predicate on the "pkg" field.

func PkgEQ

func PkgEQ(v string) predicate.FuncNode

PkgEQ applies the EQ predicate on the "pkg" field.

func PkgEqualFold

func PkgEqualFold(v string) predicate.FuncNode

PkgEqualFold applies the EqualFold predicate on the "pkg" field.

func PkgGT

func PkgGT(v string) predicate.FuncNode

PkgGT applies the GT predicate on the "pkg" field.

func PkgGTE

func PkgGTE(v string) predicate.FuncNode

PkgGTE applies the GTE predicate on the "pkg" field.

func PkgHasPrefix

func PkgHasPrefix(v string) predicate.FuncNode

PkgHasPrefix applies the HasPrefix predicate on the "pkg" field.

func PkgHasSuffix

func PkgHasSuffix(v string) predicate.FuncNode

PkgHasSuffix applies the HasSuffix predicate on the "pkg" field.

func PkgIn

func PkgIn(vs ...string) predicate.FuncNode

PkgIn applies the In predicate on the "pkg" field.

func PkgLT

func PkgLT(v string) predicate.FuncNode

PkgLT applies the LT predicate on the "pkg" field.

func PkgLTE

func PkgLTE(v string) predicate.FuncNode

PkgLTE applies the LTE predicate on the "pkg" field.

func PkgNEQ

func PkgNEQ(v string) predicate.FuncNode

PkgNEQ applies the NEQ predicate on the "pkg" field.

func PkgNotIn

func PkgNotIn(vs ...string) predicate.FuncNode

PkgNotIn applies the NotIn predicate on the "pkg" field.

func PkgPath added in v1.2.1

func PkgPath(v string) predicate.FuncNode

PkgPath applies equality check predicate on the "pkg_path" field. It's identical to PkgPathEQ.

func PkgPathContains added in v1.2.1

func PkgPathContains(v string) predicate.FuncNode

PkgPathContains applies the Contains predicate on the "pkg_path" field.

func PkgPathContainsFold added in v1.2.1

func PkgPathContainsFold(v string) predicate.FuncNode

PkgPathContainsFold applies the ContainsFold predicate on the "pkg_path" field.

func PkgPathEQ added in v1.2.1

func PkgPathEQ(v string) predicate.FuncNode

PkgPathEQ applies the EQ predicate on the "pkg_path" field.

func PkgPathEqualFold added in v1.2.1

func PkgPathEqualFold(v string) predicate.FuncNode

PkgPathEqualFold applies the EqualFold predicate on the "pkg_path" field.

func PkgPathGT added in v1.2.1

func PkgPathGT(v string) predicate.FuncNode

PkgPathGT applies the GT predicate on the "pkg_path" field.

func PkgPathGTE added in v1.2.1

func PkgPathGTE(v string) predicate.FuncNode

PkgPathGTE applies the GTE predicate on the "pkg_path" field.

func PkgPathHasPrefix added in v1.2.1

func PkgPathHasPrefix(v string) predicate.FuncNode

PkgPathHasPrefix applies the HasPrefix predicate on the "pkg_path" field.

func PkgPathHasSuffix added in v1.2.1

func PkgPathHasSuffix(v string) predicate.FuncNode

PkgPathHasSuffix applies the HasSuffix predicate on the "pkg_path" field.

func PkgPathIn added in v1.2.1

func PkgPathIn(vs ...string) predicate.FuncNode

PkgPathIn applies the In predicate on the "pkg_path" field.

func PkgPathIsNil added in v1.2.1

func PkgPathIsNil() predicate.FuncNode

PkgPathIsNil applies the IsNil predicate on the "pkg_path" field.

func PkgPathLT added in v1.2.1

func PkgPathLT(v string) predicate.FuncNode

PkgPathLT applies the LT predicate on the "pkg_path" field.

func PkgPathLTE added in v1.2.1

func PkgPathLTE(v string) predicate.FuncNode

PkgPathLTE applies the LTE predicate on the "pkg_path" field.

func PkgPathNEQ added in v1.2.1

func PkgPathNEQ(v string) predicate.FuncNode

PkgPathNEQ applies the NEQ predicate on the "pkg_path" field.

func PkgPathNotIn added in v1.2.1

func PkgPathNotIn(vs ...string) predicate.FuncNode

PkgPathNotIn applies the NotIn predicate on the "pkg_path" field.

func PkgPathNotNil added in v1.2.1

func PkgPathNotNil() predicate.FuncNode

PkgPathNotNil applies the NotNil predicate on the "pkg_path" field.

func Signature added in v1.2.1

func Signature(v string) predicate.FuncNode

Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.

func SignatureContains added in v1.2.1

func SignatureContains(v string) predicate.FuncNode

SignatureContains applies the Contains predicate on the "signature" field.

func SignatureContainsFold added in v1.2.1

func SignatureContainsFold(v string) predicate.FuncNode

SignatureContainsFold applies the ContainsFold predicate on the "signature" field.

func SignatureEQ added in v1.2.1

func SignatureEQ(v string) predicate.FuncNode

SignatureEQ applies the EQ predicate on the "signature" field.

func SignatureEqualFold added in v1.2.1

func SignatureEqualFold(v string) predicate.FuncNode

SignatureEqualFold applies the EqualFold predicate on the "signature" field.

func SignatureGT added in v1.2.1

func SignatureGT(v string) predicate.FuncNode

SignatureGT applies the GT predicate on the "signature" field.

func SignatureGTE added in v1.2.1

func SignatureGTE(v string) predicate.FuncNode

SignatureGTE applies the GTE predicate on the "signature" field.

func SignatureHasPrefix added in v1.2.1

func SignatureHasPrefix(v string) predicate.FuncNode

SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.

func SignatureHasSuffix added in v1.2.1

func SignatureHasSuffix(v string) predicate.FuncNode

SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.

func SignatureIn added in v1.2.1

func SignatureIn(vs ...string) predicate.FuncNode

SignatureIn applies the In predicate on the "signature" field.

func SignatureIsNil added in v1.2.1

func SignatureIsNil() predicate.FuncNode

SignatureIsNil applies the IsNil predicate on the "signature" field.

func SignatureLT added in v1.2.1

func SignatureLT(v string) predicate.FuncNode

SignatureLT applies the LT predicate on the "signature" field.

func SignatureLTE added in v1.2.1

func SignatureLTE(v string) predicate.FuncNode

SignatureLTE applies the LTE predicate on the "signature" field.

func SignatureNEQ added in v1.2.1

func SignatureNEQ(v string) predicate.FuncNode

SignatureNEQ applies the NEQ predicate on the "signature" field.

func SignatureNotIn added in v1.2.1

func SignatureNotIn(vs ...string) predicate.FuncNode

SignatureNotIn applies the NotIn predicate on the "signature" field.

func SignatureNotNil added in v1.2.1

func SignatureNotNil() predicate.FuncNode

SignatureNotNil applies the NotNil predicate on the "signature" field.

func SourceCode added in v1.2.1

func SourceCode(v string) predicate.FuncNode

SourceCode applies equality check predicate on the "source_code" field. It's identical to SourceCodeEQ.

func SourceCodeContains added in v1.2.1

func SourceCodeContains(v string) predicate.FuncNode

SourceCodeContains applies the Contains predicate on the "source_code" field.

func SourceCodeContainsFold added in v1.2.1

func SourceCodeContainsFold(v string) predicate.FuncNode

SourceCodeContainsFold applies the ContainsFold predicate on the "source_code" field.

func SourceCodeEQ added in v1.2.1

func SourceCodeEQ(v string) predicate.FuncNode

SourceCodeEQ applies the EQ predicate on the "source_code" field.

func SourceCodeEqualFold added in v1.2.1

func SourceCodeEqualFold(v string) predicate.FuncNode

SourceCodeEqualFold applies the EqualFold predicate on the "source_code" field.

func SourceCodeGT added in v1.2.1

func SourceCodeGT(v string) predicate.FuncNode

SourceCodeGT applies the GT predicate on the "source_code" field.

func SourceCodeGTE added in v1.2.1

func SourceCodeGTE(v string) predicate.FuncNode

SourceCodeGTE applies the GTE predicate on the "source_code" field.

func SourceCodeHasPrefix added in v1.2.1

func SourceCodeHasPrefix(v string) predicate.FuncNode

SourceCodeHasPrefix applies the HasPrefix predicate on the "source_code" field.

func SourceCodeHasSuffix added in v1.2.1

func SourceCodeHasSuffix(v string) predicate.FuncNode

SourceCodeHasSuffix applies the HasSuffix predicate on the "source_code" field.

func SourceCodeIn added in v1.2.1

func SourceCodeIn(vs ...string) predicate.FuncNode

SourceCodeIn applies the In predicate on the "source_code" field.

func SourceCodeIsNil added in v1.2.1

func SourceCodeIsNil() predicate.FuncNode

SourceCodeIsNil applies the IsNil predicate on the "source_code" field.

func SourceCodeLT added in v1.2.1

func SourceCodeLT(v string) predicate.FuncNode

SourceCodeLT applies the LT predicate on the "source_code" field.

func SourceCodeLTE added in v1.2.1

func SourceCodeLTE(v string) predicate.FuncNode

SourceCodeLTE applies the LTE predicate on the "source_code" field.

func SourceCodeNEQ added in v1.2.1

func SourceCodeNEQ(v string) predicate.FuncNode

SourceCodeNEQ applies the NEQ predicate on the "source_code" field.

func SourceCodeNotIn added in v1.2.1

func SourceCodeNotIn(vs ...string) predicate.FuncNode

SourceCodeNotIn applies the NotIn predicate on the "source_code" field.

func SourceCodeNotNil added in v1.2.1

func SourceCodeNotNil() predicate.FuncNode

SourceCodeNotNil applies the NotNil predicate on the "source_code" field.

func StartLine added in v1.2.1

func StartLine(v int) predicate.FuncNode

StartLine applies equality check predicate on the "start_line" field. It's identical to StartLineEQ.

func StartLineEQ added in v1.2.1

func StartLineEQ(v int) predicate.FuncNode

StartLineEQ applies the EQ predicate on the "start_line" field.

func StartLineGT added in v1.2.1

func StartLineGT(v int) predicate.FuncNode

StartLineGT applies the GT predicate on the "start_line" field.

func StartLineGTE added in v1.2.1

func StartLineGTE(v int) predicate.FuncNode

StartLineGTE applies the GTE predicate on the "start_line" field.

func StartLineIn added in v1.2.1

func StartLineIn(vs ...int) predicate.FuncNode

StartLineIn applies the In predicate on the "start_line" field.

func StartLineIsNil added in v1.2.1

func StartLineIsNil() predicate.FuncNode

StartLineIsNil applies the IsNil predicate on the "start_line" field.

func StartLineLT added in v1.2.1

func StartLineLT(v int) predicate.FuncNode

StartLineLT applies the LT predicate on the "start_line" field.

func StartLineLTE added in v1.2.1

func StartLineLTE(v int) predicate.FuncNode

StartLineLTE applies the LTE predicate on the "start_line" field.

func StartLineNEQ added in v1.2.1

func StartLineNEQ(v int) predicate.FuncNode

StartLineNEQ applies the NEQ predicate on the "start_line" field.

func StartLineNotIn added in v1.2.1

func StartLineNotIn(vs ...int) predicate.FuncNode

StartLineNotIn applies the NotIn predicate on the "start_line" field.

func StartLineNotNil added in v1.2.1

func StartLineNotNil() predicate.FuncNode

StartLineNotNil applies the NotNil predicate on the "start_line" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.FuncNode

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.FuncNode

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.FuncNode

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.FuncNode

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.FuncNode

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.FuncNode

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.FuncNode

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "UpdatedAt" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the FuncNode queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the CreatedAt field.

func ByEndLine added in v1.2.1

func ByEndLine(opts ...sql.OrderTermOption) OrderOption

ByEndLine orders the results by the end_line field.

func ByFilename added in v1.2.1

func ByFilename(opts ...sql.OrderTermOption) OrderOption

ByFilename orders the results by the filename field.

func ByFullName added in v1.1.6

func ByFullName(opts ...sql.OrderTermOption) OrderOption

ByFullName orders the results by the full_name field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByKey

func ByKey(opts ...sql.OrderTermOption) OrderOption

ByKey orders the results by the key field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByPkg

func ByPkg(opts ...sql.OrderTermOption) OrderOption

ByPkg orders the results by the pkg field.

func ByPkgPath added in v1.2.1

func ByPkgPath(opts ...sql.OrderTermOption) OrderOption

ByPkgPath orders the results by the pkg_path field.

func BySignature added in v1.2.1

func BySignature(opts ...sql.OrderTermOption) OrderOption

BySignature orders the results by the signature field.

func BySourceCode added in v1.2.1

func BySourceCode(opts ...sql.OrderTermOption) OrderOption

BySourceCode orders the results by the source_code field.

func ByStartLine added in v1.2.1

func ByStartLine(opts ...sql.OrderTermOption) OrderOption

ByStartLine orders the results by the start_line field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the UpdatedAt field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL