Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YadaYuki/omochi
/ functions
Functions
762 in github.com/YadaYuki/omochi
⨍
Functions
762
◇
Types & classes
107
↓ 1 callers
Function
newTsvReader
(reader io.Reader)
cmd/seeds/data/data.go:9
↓ 1 callers
Function
newTx
newTx creates a new transactional driver.
pkg/ent/tx.go:177
↓ 1 callers
Method
options
Options applies the options on the config object.
pkg/ent/config.go:32
↓ 1 callers
Method
scanValues
scanValues returns the types for scanning values from sql.Rows.
pkg/ent/term.go:31
↓ 1 callers
Method
scanValues
scanValues returns the types for scanning values from sql.Rows.
pkg/ent/document.go:30
↓ 1 callers
Method
searchAnd
(ctx context.Context, query *entities.Query)
pkg/infrastructure/searcher/searcher.go:122
↓ 1 callers
Method
searchBySingleKeyword
(ctx context.Context, query *entities.Query)
pkg/infrastructure/searcher/searcher.go:45
↓ 1 callers
Method
searchOr
(ctx context.Context, query *entities.Query)
pkg/infrastructure/searcher/searcher.go:75
↓ 1 callers
Method
sqlAll
(ctx context.Context)
pkg/ent/document_query.go:312
↓ 1 callers
Method
sqlAll
(ctx context.Context)
pkg/ent/term_query.go:313
↓ 1 callers
Method
sqlExist
(ctx context.Context)
pkg/ent/document_query.go:347
↓ 1 callers
Method
sqlExist
(ctx context.Context)
pkg/ent/term_query.go:348
↓ 1 callers
Method
sqlQuery
()
pkg/ent/document_query.go:683
↓ 1 callers
Method
sqlQuery
()
pkg/ent/term_query.go:684
↓ 1 callers
Method
sqlScan
(ctx context.Context, v interface{})
pkg/ent/document_query.go:664
↓ 1 callers
Method
sqlScan
(ctx context.Context, v interface{})
pkg/ent/document_query.go:913
↓ 1 callers
Method
sqlScan
(ctx context.Context, v interface{})
pkg/ent/term_query.go:665
↓ 1 callers
Method
sqlScan
(ctx context.Context, v interface{})
pkg/ent/term_query.go:914
↓ 1 callers
Function
withDocument
withDocument sets the old Document of the mutation.
pkg/ent/mutation.go:91
↓ 1 callers
Function
withDocumentID
withDocumentID sets the ID field of the mutation.
pkg/ent/mutation.go:69
↓ 1 callers
Function
withTerm
withTerm sets the old Term of the mutation.
pkg/ent/mutation.go:564
↓ 1 callers
Function
withTermID
withTermID sets the ID field of the mutation.
pkg/ent/mutation.go:542
Method
AddField
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the
pkg/ent/mutation.go:413
Method
AddField
AddField adds the value to the field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the
pkg/ent/mutation.go:892
Method
AddedEdges
AddedEdges returns all edge names that were set/added in this mutation.
pkg/ent/mutation.go:459
Method
AddedEdges
AddedEdges returns all edge names that were set/added in this mutation.
pkg/ent/mutation.go:938
Method
AddedField
AddedField returns the numeric value that was incremented/decremented on a field with the given name. The second boolean return value indicates that t
pkg/ent/mutation.go:406
Method
AddedFields
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
pkg/ent/mutation.go:399
Method
AddedFields
AddedFields returns all numeric fields that were incremented/decremented during this mutation.
pkg/ent/mutation.go:878
Method
AddedIDs
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
pkg/ent/mutation.go:466
Method
AddedIDs
AddedIDs returns all IDs (to other nodes) that were added for the given edge name in this mutation.
pkg/ent/mutation.go:945
Method
Aggregate
Aggregate adds the given aggregation functions to the group-by query.
pkg/ent/document_query.go:446
Method
Aggregate
Aggregate adds the given aggregation functions to the group-by query.
pkg/ent/term_query.go:447
Method
AllX
AllX is like All, but panics if an error occurs.
pkg/ent/document_query.go:172
Method
AllX
AllX is like All, but panics if an error occurs.
pkg/ent/term_query.go:173
Function
And
And groups predicates with the AND operator between them.
pkg/ent/term/where.go:464
Function
And
And groups predicates with the AND operator between them.
pkg/ent/document/where.go:498
Function
And
And groups conditions with the AND operator.
pkg/ent/hook/hook.go:42
Function
As
As is a pseudo aggregation function for renaming another other functions with custom names. For example: GroupBy(field1, field2). Aggregate(ent.As(
pkg/ent/ent.go:85
Function
Asc
Asc applies the given fields in ASC order.
pkg/ent/ent.go:51
Method
BeginTx
BeginTx returns a transactional client with specified options.
pkg/ent/client.go:83
Method
BoolX
BoolX is like Bool, but panics if an error occurs.
pkg/ent/document_query.go:656
Method
BoolX
BoolX is like Bool, but panics if an error occurs.
pkg/ent/document_query.go:905
Method
BoolX
BoolX is like Bool, but panics if an error occurs.
pkg/ent/term_query.go:657
Method
BoolX
BoolX is like Bool, but panics if an error occurs.
pkg/ent/term_query.go:906
Method
BoolsX
BoolsX is like Bools, but panics if an error occurs.
pkg/ent/document_query.go:629
Method
BoolsX
BoolsX is like Bools, but panics if an error occurs.
pkg/ent/document_query.go:879
Method
BoolsX
BoolsX is like Bools, but panics if an error occurs.
pkg/ent/term_query.go:630
Method
BoolsX
BoolsX is like Bools, but panics if an error occurs.
pkg/ent/term_query.go:880
Method
ClearEdge
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
pkg/ent/mutation.go:496
Method
ClearEdge
ClearEdge clears the value of the edge with the given name. It returns an error if that edge is not defined in the schema.
pkg/ent/mutation.go:975
Method
ClearField
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
pkg/ent/mutation.go:434
Method
ClearField
ClearField clears the value of the field with the given name. It returns an error if the field is not defined in the schema.
pkg/ent/mutation.go:913
Method
ClearedEdges
ClearedEdges returns all edge names that were cleared in this mutation.
pkg/ent/mutation.go:483
Method
ClearedEdges
ClearedEdges returns all edge names that were cleared in this mutation.
pkg/ent/mutation.go:962
Method
ClearedFields
ClearedFields returns all nullable fields that were cleared during this mutation.
pkg/ent/mutation.go:421
Method
ClearedFields
ClearedFields returns all nullable fields that were cleared during this mutation.
pkg/ent/mutation.go:900
Method
Clone
Clone returns a duplicate of the DocumentQuery builder, including all associated steps. It can be used to prepare common query builders and use them d
pkg/ent/document_query.go:234
Method
Close
Close closes the database connection and prevents new queries from starting.
pkg/ent/client.go:122
Method
Commit
Commit calls f(ctx, m).
pkg/ent/tx.go:63
Method
Commit
Commit commits the transaction.
pkg/ent/tx.go:68
Method
Commit
Commit is a nop commit for the internal builders. User must call `Tx.Commit` in order to commit the transaction.
pkg/ent/tx.go:197
Function
Content
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
pkg/ent/document/where.go:110
Function
ContentContains
ContentContains applies the Contains predicate on the "content" field.
pkg/ent/document/where.go:352
Function
ContentContainsFold
ContentContainsFold applies the ContainsFold predicate on the "content" field.
pkg/ent/document/where.go:380
Function
ContentEQ
ContentEQ applies the EQ predicate on the "content" field.
pkg/ent/document/where.go:276
Function
ContentEqualFold
ContentEqualFold applies the EqualFold predicate on the "content" field.
pkg/ent/document/where.go:373
Function
ContentGT
ContentGT applies the GT predicate on the "content" field.
pkg/ent/document/where.go:324
Function
ContentGTE
ContentGTE applies the GTE predicate on the "content" field.
pkg/ent/document/where.go:331
Function
ContentHasPrefix
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
pkg/ent/document/where.go:359
Function
ContentHasSuffix
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
pkg/ent/document/where.go:366
Function
ContentIn
ContentIn applies the In predicate on the "content" field.
pkg/ent/document/where.go:290
Function
ContentLT
ContentLT applies the LT predicate on the "content" field.
pkg/ent/document/where.go:338
Function
ContentLTE
ContentLTE applies the LTE predicate on the "content" field.
pkg/ent/document/where.go:345
Function
ContentNEQ
ContentNEQ applies the NEQ predicate on the "content" field.
pkg/ent/document/where.go:283
Function
ContentNotIn
ContentNotIn applies the NotIn predicate on the "content" field.
pkg/ent/document/where.go:307
Function
Count
Count applies the "count" aggregation function on each group.
pkg/ent/ent.go:92
Method
CountX
CountX is like Count, but panics if an error occurs.
pkg/ent/document_query.go:207
Method
CountX
CountX is like Count, but panics if an error occurs.
pkg/ent/term_query.go:208
Method
Create
Create returns a create builder for Document.
pkg/ent/client.go:150
Method
CreateBulk
CreateBulk returns a builder for creating a bulk of Document entities.
pkg/ent/client.go:156
Function
CreatedAt
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
pkg/ent/term/where.go:97
Function
CreatedAt
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
pkg/ent/document/where.go:96
Function
CreatedAtEQ
CreatedAtEQ applies the EQ predicate on the "created_at" field.
pkg/ent/term/where.go:125
Function
CreatedAtEQ
CreatedAtEQ applies the EQ predicate on the "created_at" field.
pkg/ent/document/where.go:124
Function
CreatedAtGT
CreatedAtGT applies the GT predicate on the "created_at" field.
pkg/ent/term/where.go:173
Function
CreatedAtGT
CreatedAtGT applies the GT predicate on the "created_at" field.
pkg/ent/document/where.go:172
Function
CreatedAtGTE
CreatedAtGTE applies the GTE predicate on the "created_at" field.
pkg/ent/term/where.go:180
Function
CreatedAtGTE
CreatedAtGTE applies the GTE predicate on the "created_at" field.
pkg/ent/document/where.go:179
Function
CreatedAtIn
CreatedAtIn applies the In predicate on the "created_at" field.
pkg/ent/term/where.go:139
Function
CreatedAtIn
CreatedAtIn applies the In predicate on the "created_at" field.
pkg/ent/document/where.go:138
Function
CreatedAtLT
CreatedAtLT applies the LT predicate on the "created_at" field.
pkg/ent/term/where.go:187
Function
CreatedAtLT
CreatedAtLT applies the LT predicate on the "created_at" field.
pkg/ent/document/where.go:186
Function
CreatedAtLTE
CreatedAtLTE applies the LTE predicate on the "created_at" field.
pkg/ent/term/where.go:194
Function
CreatedAtLTE
CreatedAtLTE applies the LTE predicate on the "created_at" field.
pkg/ent/document/where.go:193
Function
CreatedAtNEQ
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
pkg/ent/term/where.go:132
Function
CreatedAtNEQ
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
pkg/ent/document/where.go:131
Function
CreatedAtNotIn
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
pkg/ent/term/where.go:156
Function
CreatedAtNotIn
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
pkg/ent/document/where.go:155
Function
Debug
Debug enables debug logging on the ent.Driver.
pkg/ent/config.go:42
← previous
next →
301–400 of 762, ranked by callers