Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.FuncNode) predicate.FuncNode
- func CreatedAt(v time.Time) predicate.FuncNode
- func CreatedAtEQ(v time.Time) predicate.FuncNode
- func CreatedAtGT(v time.Time) predicate.FuncNode
- func CreatedAtGTE(v time.Time) predicate.FuncNode
- func CreatedAtIn(vs ...time.Time) predicate.FuncNode
- func CreatedAtLT(v time.Time) predicate.FuncNode
- func CreatedAtLTE(v time.Time) predicate.FuncNode
- func CreatedAtNEQ(v time.Time) predicate.FuncNode
- func CreatedAtNotIn(vs ...time.Time) predicate.FuncNode
- func EndLine(v int) predicate.FuncNode
- func EndLineEQ(v int) predicate.FuncNode
- func EndLineGT(v int) predicate.FuncNode
- func EndLineGTE(v int) predicate.FuncNode
- func EndLineIn(vs ...int) predicate.FuncNode
- func EndLineIsNil() predicate.FuncNode
- func EndLineLT(v int) predicate.FuncNode
- func EndLineLTE(v int) predicate.FuncNode
- func EndLineNEQ(v int) predicate.FuncNode
- func EndLineNotIn(vs ...int) predicate.FuncNode
- func EndLineNotNil() predicate.FuncNode
- func Filename(v string) predicate.FuncNode
- func FilenameContains(v string) predicate.FuncNode
- func FilenameContainsFold(v string) predicate.FuncNode
- func FilenameEQ(v string) predicate.FuncNode
- func FilenameEqualFold(v string) predicate.FuncNode
- func FilenameGT(v string) predicate.FuncNode
- func FilenameGTE(v string) predicate.FuncNode
- func FilenameHasPrefix(v string) predicate.FuncNode
- func FilenameHasSuffix(v string) predicate.FuncNode
- func FilenameIn(vs ...string) predicate.FuncNode
- func FilenameIsNil() predicate.FuncNode
- func FilenameLT(v string) predicate.FuncNode
- func FilenameLTE(v string) predicate.FuncNode
- func FilenameNEQ(v string) predicate.FuncNode
- func FilenameNotIn(vs ...string) predicate.FuncNode
- func FilenameNotNil() predicate.FuncNode
- func FullName(v string) predicate.FuncNode
- func FullNameContains(v string) predicate.FuncNode
- func FullNameContainsFold(v string) predicate.FuncNode
- func FullNameEQ(v string) predicate.FuncNode
- func FullNameEqualFold(v string) predicate.FuncNode
- func FullNameGT(v string) predicate.FuncNode
- func FullNameGTE(v string) predicate.FuncNode
- func FullNameHasPrefix(v string) predicate.FuncNode
- func FullNameHasSuffix(v string) predicate.FuncNode
- func FullNameIn(vs ...string) predicate.FuncNode
- func FullNameLT(v string) predicate.FuncNode
- func FullNameLTE(v string) predicate.FuncNode
- func FullNameNEQ(v string) predicate.FuncNode
- func FullNameNotIn(vs ...string) predicate.FuncNode
- func ID(id int) predicate.FuncNode
- func IDEQ(id int) predicate.FuncNode
- func IDGT(id int) predicate.FuncNode
- func IDGTE(id int) predicate.FuncNode
- func IDIn(ids ...int) predicate.FuncNode
- func IDLT(id int) predicate.FuncNode
- func IDLTE(id int) predicate.FuncNode
- func IDNEQ(id int) predicate.FuncNode
- func IDNotIn(ids ...int) predicate.FuncNode
- func Key(v string) predicate.FuncNode
- func KeyContains(v string) predicate.FuncNode
- func KeyContainsFold(v string) predicate.FuncNode
- func KeyEQ(v string) predicate.FuncNode
- func KeyEqualFold(v string) predicate.FuncNode
- func KeyGT(v string) predicate.FuncNode
- func KeyGTE(v string) predicate.FuncNode
- func KeyHasPrefix(v string) predicate.FuncNode
- func KeyHasSuffix(v string) predicate.FuncNode
- func KeyIn(vs ...string) predicate.FuncNode
- func KeyLT(v string) predicate.FuncNode
- func KeyLTE(v string) predicate.FuncNode
- func KeyNEQ(v string) predicate.FuncNode
- func KeyNotIn(vs ...string) predicate.FuncNode
- func Name(v string) predicate.FuncNode
- func NameContains(v string) predicate.FuncNode
- func NameContainsFold(v string) predicate.FuncNode
- func NameEQ(v string) predicate.FuncNode
- func NameEqualFold(v string) predicate.FuncNode
- func NameGT(v string) predicate.FuncNode
- func NameGTE(v string) predicate.FuncNode
- func NameHasPrefix(v string) predicate.FuncNode
- func NameHasSuffix(v string) predicate.FuncNode
- func NameIn(vs ...string) predicate.FuncNode
- func NameLT(v string) predicate.FuncNode
- func NameLTE(v string) predicate.FuncNode
- func NameNEQ(v string) predicate.FuncNode
- func NameNotIn(vs ...string) predicate.FuncNode
- func Not(p predicate.FuncNode) predicate.FuncNode
- func Or(predicates ...predicate.FuncNode) predicate.FuncNode
- func Pkg(v string) predicate.FuncNode
- func PkgContains(v string) predicate.FuncNode
- func PkgContainsFold(v string) predicate.FuncNode
- func PkgEQ(v string) predicate.FuncNode
- func PkgEqualFold(v string) predicate.FuncNode
- func PkgGT(v string) predicate.FuncNode
- func PkgGTE(v string) predicate.FuncNode
- func PkgHasPrefix(v string) predicate.FuncNode
- func PkgHasSuffix(v string) predicate.FuncNode
- func PkgIn(vs ...string) predicate.FuncNode
- func PkgLT(v string) predicate.FuncNode
- func PkgLTE(v string) predicate.FuncNode
- func PkgNEQ(v string) predicate.FuncNode
- func PkgNotIn(vs ...string) predicate.FuncNode
- func PkgPath(v string) predicate.FuncNode
- func PkgPathContains(v string) predicate.FuncNode
- func PkgPathContainsFold(v string) predicate.FuncNode
- func PkgPathEQ(v string) predicate.FuncNode
- func PkgPathEqualFold(v string) predicate.FuncNode
- func PkgPathGT(v string) predicate.FuncNode
- func PkgPathGTE(v string) predicate.FuncNode
- func PkgPathHasPrefix(v string) predicate.FuncNode
- func PkgPathHasSuffix(v string) predicate.FuncNode
- func PkgPathIn(vs ...string) predicate.FuncNode
- func PkgPathIsNil() predicate.FuncNode
- func PkgPathLT(v string) predicate.FuncNode
- func PkgPathLTE(v string) predicate.FuncNode
- func PkgPathNEQ(v string) predicate.FuncNode
- func PkgPathNotIn(vs ...string) predicate.FuncNode
- func PkgPathNotNil() predicate.FuncNode
- func Signature(v string) predicate.FuncNode
- func SignatureContains(v string) predicate.FuncNode
- func SignatureContainsFold(v string) predicate.FuncNode
- func SignatureEQ(v string) predicate.FuncNode
- func SignatureEqualFold(v string) predicate.FuncNode
- func SignatureGT(v string) predicate.FuncNode
- func SignatureGTE(v string) predicate.FuncNode
- func SignatureHasPrefix(v string) predicate.FuncNode
- func SignatureHasSuffix(v string) predicate.FuncNode
- func SignatureIn(vs ...string) predicate.FuncNode
- func SignatureIsNil() predicate.FuncNode
- func SignatureLT(v string) predicate.FuncNode
- func SignatureLTE(v string) predicate.FuncNode
- func SignatureNEQ(v string) predicate.FuncNode
- func SignatureNotIn(vs ...string) predicate.FuncNode
- func SignatureNotNil() predicate.FuncNode
- func SourceCode(v string) predicate.FuncNode
- func SourceCodeContains(v string) predicate.FuncNode
- func SourceCodeContainsFold(v string) predicate.FuncNode
- func SourceCodeEQ(v string) predicate.FuncNode
- func SourceCodeEqualFold(v string) predicate.FuncNode
- func SourceCodeGT(v string) predicate.FuncNode
- func SourceCodeGTE(v string) predicate.FuncNode
- func SourceCodeHasPrefix(v string) predicate.FuncNode
- func SourceCodeHasSuffix(v string) predicate.FuncNode
- func SourceCodeIn(vs ...string) predicate.FuncNode
- func SourceCodeIsNil() predicate.FuncNode
- func SourceCodeLT(v string) predicate.FuncNode
- func SourceCodeLTE(v string) predicate.FuncNode
- func SourceCodeNEQ(v string) predicate.FuncNode
- func SourceCodeNotIn(vs ...string) predicate.FuncNode
- func SourceCodeNotNil() predicate.FuncNode
- func StartLine(v int) predicate.FuncNode
- func StartLineEQ(v int) predicate.FuncNode
- func StartLineGT(v int) predicate.FuncNode
- func StartLineGTE(v int) predicate.FuncNode
- func StartLineIn(vs ...int) predicate.FuncNode
- func StartLineIsNil() predicate.FuncNode
- func StartLineLT(v int) predicate.FuncNode
- func StartLineLTE(v int) predicate.FuncNode
- func StartLineNEQ(v int) predicate.FuncNode
- func StartLineNotIn(vs ...int) predicate.FuncNode
- func StartLineNotNil() predicate.FuncNode
- func UpdatedAt(v time.Time) predicate.FuncNode
- func UpdatedAtEQ(v time.Time) predicate.FuncNode
- func UpdatedAtGT(v time.Time) predicate.FuncNode
- func UpdatedAtGTE(v time.Time) predicate.FuncNode
- func UpdatedAtIn(vs ...time.Time) predicate.FuncNode
- func UpdatedAtLT(v time.Time) predicate.FuncNode
- func UpdatedAtLTE(v time.Time) predicate.FuncNode
- func UpdatedAtNEQ(v time.Time) predicate.FuncNode
- func UpdatedAtNotIn(vs ...time.Time) predicate.FuncNode
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEndLine(opts ...sql.OrderTermOption) OrderOption
- func ByFilename(opts ...sql.OrderTermOption) OrderOption
- func ByFullName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPkg(opts ...sql.OrderTermOption) OrderOption
- func ByPkgPath(opts ...sql.OrderTermOption) OrderOption
- func BySignature(opts ...sql.OrderTermOption) OrderOption
- func BySourceCode(opts ...sql.OrderTermOption) OrderOption
- func ByStartLine(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldKey, FieldFullName, FieldPkg, FieldPkgPath, FieldName, FieldFilename, FieldStartLine, FieldEndLine, FieldSignature, FieldSourceCode, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for funcnode fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "CreatedAt" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "CreatedAt" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "CreatedAt" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "CreatedAt" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "CreatedAt" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "CreatedAt" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "CreatedAt" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "CreatedAt" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "CreatedAt" field.
func EndLine ¶ added in v1.2.1
EndLine applies equality check predicate on the "end_line" field. It's identical to EndLineEQ.
func EndLineGTE ¶ added in v1.2.1
EndLineGTE applies the GTE predicate on the "end_line" field.
func EndLineIsNil ¶ added in v1.2.1
EndLineIsNil applies the IsNil predicate on the "end_line" field.
func EndLineLTE ¶ added in v1.2.1
EndLineLTE applies the LTE predicate on the "end_line" field.
func EndLineNEQ ¶ added in v1.2.1
EndLineNEQ applies the NEQ predicate on the "end_line" field.
func EndLineNotIn ¶ added in v1.2.1
EndLineNotIn applies the NotIn predicate on the "end_line" field.
func EndLineNotNil ¶ added in v1.2.1
EndLineNotNil applies the NotNil predicate on the "end_line" field.
func Filename ¶ added in v1.2.1
Filename applies equality check predicate on the "filename" field. It's identical to FilenameEQ.
func FilenameContains ¶ added in v1.2.1
FilenameContains applies the Contains predicate on the "filename" field.
func FilenameContainsFold ¶ added in v1.2.1
FilenameContainsFold applies the ContainsFold predicate on the "filename" field.
func FilenameEQ ¶ added in v1.2.1
FilenameEQ applies the EQ predicate on the "filename" field.
func FilenameEqualFold ¶ added in v1.2.1
FilenameEqualFold applies the EqualFold predicate on the "filename" field.
func FilenameGT ¶ added in v1.2.1
FilenameGT applies the GT predicate on the "filename" field.
func FilenameGTE ¶ added in v1.2.1
FilenameGTE applies the GTE predicate on the "filename" field.
func FilenameHasPrefix ¶ added in v1.2.1
FilenameHasPrefix applies the HasPrefix predicate on the "filename" field.
func FilenameHasSuffix ¶ added in v1.2.1
FilenameHasSuffix applies the HasSuffix predicate on the "filename" field.
func FilenameIn ¶ added in v1.2.1
FilenameIn applies the In predicate on the "filename" field.
func FilenameIsNil ¶ added in v1.2.1
FilenameIsNil applies the IsNil predicate on the "filename" field.
func FilenameLT ¶ added in v1.2.1
FilenameLT applies the LT predicate on the "filename" field.
func FilenameLTE ¶ added in v1.2.1
FilenameLTE applies the LTE predicate on the "filename" field.
func FilenameNEQ ¶ added in v1.2.1
FilenameNEQ applies the NEQ predicate on the "filename" field.
func FilenameNotIn ¶ added in v1.2.1
FilenameNotIn applies the NotIn predicate on the "filename" field.
func FilenameNotNil ¶ added in v1.2.1
FilenameNotNil applies the NotNil predicate on the "filename" field.
func FullName ¶ added in v1.1.6
FullName applies equality check predicate on the "full_name" field. It's identical to FullNameEQ.
func FullNameContains ¶ added in v1.1.6
FullNameContains applies the Contains predicate on the "full_name" field.
func FullNameContainsFold ¶ added in v1.1.6
FullNameContainsFold applies the ContainsFold predicate on the "full_name" field.
func FullNameEQ ¶ added in v1.1.6
FullNameEQ applies the EQ predicate on the "full_name" field.
func FullNameEqualFold ¶ added in v1.1.6
FullNameEqualFold applies the EqualFold predicate on the "full_name" field.
func FullNameGT ¶ added in v1.1.6
FullNameGT applies the GT predicate on the "full_name" field.
func FullNameGTE ¶ added in v1.1.6
FullNameGTE applies the GTE predicate on the "full_name" field.
func FullNameHasPrefix ¶ added in v1.1.6
FullNameHasPrefix applies the HasPrefix predicate on the "full_name" field.
func FullNameHasSuffix ¶ added in v1.1.6
FullNameHasSuffix applies the HasSuffix predicate on the "full_name" field.
func FullNameIn ¶ added in v1.1.6
FullNameIn applies the In predicate on the "full_name" field.
func FullNameLT ¶ added in v1.1.6
FullNameLT applies the LT predicate on the "full_name" field.
func FullNameLTE ¶ added in v1.1.6
FullNameLTE applies the LTE predicate on the "full_name" field.
func FullNameNEQ ¶ added in v1.1.6
FullNameNEQ applies the NEQ predicate on the "full_name" field.
func FullNameNotIn ¶ added in v1.1.6
FullNameNotIn applies the NotIn predicate on the "full_name" field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func PkgContains ¶
PkgContains applies the Contains predicate on the "pkg" field.
func PkgContainsFold ¶
PkgContainsFold applies the ContainsFold predicate on the "pkg" field.
func PkgEqualFold ¶
PkgEqualFold applies the EqualFold predicate on the "pkg" field.
func PkgHasPrefix ¶
PkgHasPrefix applies the HasPrefix predicate on the "pkg" field.
func PkgHasSuffix ¶
PkgHasSuffix applies the HasSuffix predicate on the "pkg" field.
func PkgPath ¶ added in v1.2.1
PkgPath applies equality check predicate on the "pkg_path" field. It's identical to PkgPathEQ.
func PkgPathContains ¶ added in v1.2.1
PkgPathContains applies the Contains predicate on the "pkg_path" field.
func PkgPathContainsFold ¶ added in v1.2.1
PkgPathContainsFold applies the ContainsFold predicate on the "pkg_path" field.
func PkgPathEqualFold ¶ added in v1.2.1
PkgPathEqualFold applies the EqualFold predicate on the "pkg_path" field.
func PkgPathGTE ¶ added in v1.2.1
PkgPathGTE applies the GTE predicate on the "pkg_path" field.
func PkgPathHasPrefix ¶ added in v1.2.1
PkgPathHasPrefix applies the HasPrefix predicate on the "pkg_path" field.
func PkgPathHasSuffix ¶ added in v1.2.1
PkgPathHasSuffix applies the HasSuffix predicate on the "pkg_path" field.
func PkgPathIsNil ¶ added in v1.2.1
PkgPathIsNil applies the IsNil predicate on the "pkg_path" field.
func PkgPathLTE ¶ added in v1.2.1
PkgPathLTE applies the LTE predicate on the "pkg_path" field.
func PkgPathNEQ ¶ added in v1.2.1
PkgPathNEQ applies the NEQ predicate on the "pkg_path" field.
func PkgPathNotIn ¶ added in v1.2.1
PkgPathNotIn applies the NotIn predicate on the "pkg_path" field.
func PkgPathNotNil ¶ added in v1.2.1
PkgPathNotNil applies the NotNil predicate on the "pkg_path" field.
func Signature ¶ added in v1.2.1
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureContains ¶ added in v1.2.1
SignatureContains applies the Contains predicate on the "signature" field.
func SignatureContainsFold ¶ added in v1.2.1
SignatureContainsFold applies the ContainsFold predicate on the "signature" field.
func SignatureEQ ¶ added in v1.2.1
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureEqualFold ¶ added in v1.2.1
SignatureEqualFold applies the EqualFold predicate on the "signature" field.
func SignatureGT ¶ added in v1.2.1
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶ added in v1.2.1
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureHasPrefix ¶ added in v1.2.1
SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.
func SignatureHasSuffix ¶ added in v1.2.1
SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.
func SignatureIn ¶ added in v1.2.1
SignatureIn applies the In predicate on the "signature" field.
func SignatureIsNil ¶ added in v1.2.1
SignatureIsNil applies the IsNil predicate on the "signature" field.
func SignatureLT ¶ added in v1.2.1
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶ added in v1.2.1
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶ added in v1.2.1
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶ added in v1.2.1
SignatureNotIn applies the NotIn predicate on the "signature" field.
func SignatureNotNil ¶ added in v1.2.1
SignatureNotNil applies the NotNil predicate on the "signature" field.
func SourceCode ¶ added in v1.2.1
SourceCode applies equality check predicate on the "source_code" field. It's identical to SourceCodeEQ.
func SourceCodeContains ¶ added in v1.2.1
SourceCodeContains applies the Contains predicate on the "source_code" field.
func SourceCodeContainsFold ¶ added in v1.2.1
SourceCodeContainsFold applies the ContainsFold predicate on the "source_code" field.
func SourceCodeEQ ¶ added in v1.2.1
SourceCodeEQ applies the EQ predicate on the "source_code" field.
func SourceCodeEqualFold ¶ added in v1.2.1
SourceCodeEqualFold applies the EqualFold predicate on the "source_code" field.
func SourceCodeGT ¶ added in v1.2.1
SourceCodeGT applies the GT predicate on the "source_code" field.
func SourceCodeGTE ¶ added in v1.2.1
SourceCodeGTE applies the GTE predicate on the "source_code" field.
func SourceCodeHasPrefix ¶ added in v1.2.1
SourceCodeHasPrefix applies the HasPrefix predicate on the "source_code" field.
func SourceCodeHasSuffix ¶ added in v1.2.1
SourceCodeHasSuffix applies the HasSuffix predicate on the "source_code" field.
func SourceCodeIn ¶ added in v1.2.1
SourceCodeIn applies the In predicate on the "source_code" field.
func SourceCodeIsNil ¶ added in v1.2.1
SourceCodeIsNil applies the IsNil predicate on the "source_code" field.
func SourceCodeLT ¶ added in v1.2.1
SourceCodeLT applies the LT predicate on the "source_code" field.
func SourceCodeLTE ¶ added in v1.2.1
SourceCodeLTE applies the LTE predicate on the "source_code" field.
func SourceCodeNEQ ¶ added in v1.2.1
SourceCodeNEQ applies the NEQ predicate on the "source_code" field.
func SourceCodeNotIn ¶ added in v1.2.1
SourceCodeNotIn applies the NotIn predicate on the "source_code" field.
func SourceCodeNotNil ¶ added in v1.2.1
SourceCodeNotNil applies the NotNil predicate on the "source_code" field.
func StartLine ¶ added in v1.2.1
StartLine applies equality check predicate on the "start_line" field. It's identical to StartLineEQ.
func StartLineEQ ¶ added in v1.2.1
StartLineEQ applies the EQ predicate on the "start_line" field.
func StartLineGT ¶ added in v1.2.1
StartLineGT applies the GT predicate on the "start_line" field.
func StartLineGTE ¶ added in v1.2.1
StartLineGTE applies the GTE predicate on the "start_line" field.
func StartLineIn ¶ added in v1.2.1
StartLineIn applies the In predicate on the "start_line" field.
func StartLineIsNil ¶ added in v1.2.1
StartLineIsNil applies the IsNil predicate on the "start_line" field.
func StartLineLT ¶ added in v1.2.1
StartLineLT applies the LT predicate on the "start_line" field.
func StartLineLTE ¶ added in v1.2.1
StartLineLTE applies the LTE predicate on the "start_line" field.
func StartLineNEQ ¶ added in v1.2.1
StartLineNEQ applies the NEQ predicate on the "start_line" field.
func StartLineNotIn ¶ added in v1.2.1
StartLineNotIn applies the NotIn predicate on the "start_line" field.
func StartLineNotNil ¶ added in v1.2.1
StartLineNotNil applies the NotNil predicate on the "start_line" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "UpdatedAt" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "UpdatedAt" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "UpdatedAt" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "UpdatedAt" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "UpdatedAt" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "UpdatedAt" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "UpdatedAt" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "UpdatedAt" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "UpdatedAt" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.