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
Function
IsNotSingular
IsNotSingular returns a boolean indicating whether the error is a not singular error.
pkg/ent/ent.go:209
Function
IsValidationError
IsValidationError returns a boolean indicating whether the error is a validation error.
pkg/ent/ent.go:163
Function
Log
Log sets the logging function for debug mode.
pkg/ent/config.go:49
Function
MaskNotFound
MaskNotFound masks not found error.
pkg/ent/ent.go:191
Function
Max
Max applies the "max" aggregation function on the given field of each group.
pkg/ent/ent.go:99
Function
Mean
Mean applies the "mean" aggregation function on the given field of each group.
pkg/ent/ent.go:111
Function
Min
Min applies the "min" aggregation function on the given field of each group.
pkg/ent/ent.go:123
Method
Mixin
Mixin of the Document.
pkg/ent/schema/document.go:22
Method
Mutate
Mutate calls f(ctx, m).
pkg/ent/hook/hook.go:17
Method
Mutation
Mutation returns the DocumentMutation object of the builder.
pkg/ent/document_update.go:50
Method
Mutation
Mutation returns the DocumentMutation object of the builder.
pkg/ent/document_update.go:194
Method
Mutation
Mutation returns the TermMutation object of the builder.
pkg/ent/term_create.go:82
Method
Mutation
Mutation returns the TermMutation object of the builder.
pkg/ent/term_update.go:50
Method
Mutation
Mutation returns the TermMutation object of the builder.
pkg/ent/term_update.go:210
Method
Mutation
Mutation returns the DocumentMutation object of the builder.
pkg/ent/document_create.go:66
Function
NewChain
NewChain creates a new chain of hooks.
pkg/ent/hook/hook.go:190
Function
NewClient
NewClient calls ent.NewClient and auto-run migration.
pkg/ent/enttest/enttest.go:70
Function
NewContext
NewContext returns a new context with the given Client attached.
pkg/ent/context.go:18
Function
NewSearchUseCase
(s service.Searcher)
pkg/usecase/search/search.go:20
Function
NewTermUseCase
(repository repository.TermRepository)
pkg/usecase/term/term.go:20
Function
NewTxContext
NewTxContext returns a new context with the given Tx attached.
pkg/ent/context.go:31
Function
Not
Not applies the not operator on the given predicate.
pkg/ent/term/where.go:489
Function
Not
Not applies the not operator on the given predicate.
pkg/ent/document/where.go:523
Method
OldField
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the da
pkg/ent/mutation.go:346
Method
OldField
OldField returns the old value of the field from the database. An error is returned if the mutation operation is not UpdateOne, or the query to the da
pkg/ent/mutation.go:825
Method
OnCommit
OnCommit adds a hook to call on commit.
pkg/ent/tx.go:83
Method
OnConflict
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example: client.Term.CreateBulk(builders.
pkg/ent/term_create.go:601
Method
OnConflict
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example: client.Document.Create(). SetC
pkg/ent/document_create.go:240
Method
OnConflict
OnConflict allows configuring the `ON CONFLICT` / `ON DUPLICATE KEY` clause of the `INSERT` statement. For example: client.Document.CreateBulk(build
pkg/ent/document_create.go:560
Method
OnConflictColumns
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using: client.Term.Create().
pkg/ent/term_create.go:288
Method
OnConflictColumns
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using: client.Term.Create().
pkg/ent/term_create.go:615
Method
OnConflictColumns
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using: client.Document.Create
pkg/ent/document_create.go:254
Method
OnConflictColumns
OnConflictColumns calls `OnConflict` and configures the columns as conflict target. Using this option is equivalent to using: client.Document.Create
pkg/ent/document_create.go:574
Method
OnRollback
OnRollback adds a hook to call on rollback.
pkg/ent/tx.go:138
Method
OnlyIDX
OnlyIDX is like OnlyID, but panics if an error occurs.
pkg/ent/document_query.go:155
Method
OnlyIDX
OnlyIDX is like OnlyID, but panics if an error occurs.
pkg/ent/term_query.go:156
Method
OnlyX
OnlyX is like Only, but panics if an error occurs.
pkg/ent/document_query.go:127
Method
OnlyX
OnlyX is like Only, but panics if an error occurs.
pkg/ent/term_query.go:128
Method
Op
Op returns the operation name.
pkg/ent/mutation.go:297
Function
Or
Or groups conditions with the OR operator.
pkg/ent/hook/hook.go:57
Method
Order
Order adds an order step to the query.
pkg/ent/document_query.go:58
Method
Order
Order adds an order step to the query.
pkg/ent/term_query.go:59
Function
PostingListCompressed
PostingListCompressed applies equality check predicate on the "posting_list_compressed" field. It's identical to PostingListCompressedEQ.
pkg/ent/term/where.go:118
Function
PostingListCompressedEQ
PostingListCompressedEQ applies the EQ predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:388
Function
PostingListCompressedGT
PostingListCompressedGT applies the GT predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:436
Function
PostingListCompressedGTE
PostingListCompressedGTE applies the GTE predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:443
Function
PostingListCompressedIn
PostingListCompressedIn applies the In predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:402
Function
PostingListCompressedLT
PostingListCompressedLT applies the LT predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:450
Function
PostingListCompressedLTE
PostingListCompressedLTE applies the LTE predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:457
Function
PostingListCompressedNEQ
PostingListCompressedNEQ applies the NEQ predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:395
Function
PostingListCompressedNotIn
PostingListCompressedNotIn applies the NotIn predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:419
Function
Reject
Reject returns a hook that rejects all operations that match op. func (T) Hooks() []ent.Hook { return []ent.Hook{ Reject(ent.Delete|ent.Update)
pkg/ent/hook/hook.go:178
Method
RemovedEdges
RemovedEdges returns all edge names that were removed in this mutation.
pkg/ent/mutation.go:471
Method
RemovedEdges
RemovedEdges returns all edge names that were removed in this mutation.
pkg/ent/mutation.go:950
Method
RemovedIDs
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
pkg/ent/mutation.go:478
Method
RemovedIDs
RemovedIDs returns all IDs (to other nodes) that were removed for the edge with the given name in this mutation.
pkg/ent/mutation.go:957
Method
ResetEdge
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
pkg/ent/mutation.go:502
Method
ResetEdge
ResetEdge resets all changes to the edge with the given name in this mutation. It returns an error if the edge is not defined in the schema.
pkg/ent/mutation.go:981
Method
ResetField
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
pkg/ent/mutation.go:440
Method
ResetField
ResetField resets all changes in the mutation for the field with the given name. It returns an error if the field is not defined in the schema.
pkg/ent/mutation.go:919
Method
Rollback
Rollback calls f(ctx, m).
pkg/ent/tx.go:118
Method
Rollback
Rollback rollbacks the transaction.
pkg/ent/tx.go:123
Method
Rollback
Rollback is a nop rollback for the internal builders. User must call `Tx.Rollback` in order to rollback the transaction.
pkg/ent/tx.go:201
Method
SaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/document_update.go:88
Method
SaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/document_update.go:239
Method
SaveX
SaveX calls Save and panics if Save returns an error.
pkg/ent/term_create.go:129
Method
SaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/term_create.go:564
Method
SaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/term_update.go:94
Method
SaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/term_update.go:261
Method
SaveX
SaveX calls Save and panics if Save returns an error.
pkg/ent/document_create.go:113
Method
SaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/document_create.go:523
Method
ScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/document_query.go:462
Method
ScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/document_query.go:719
Method
ScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/term_query.go:463
Method
ScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/term_query.go:720
Method
SearchDocuments
(w http.ResponseWriter, r *http.Request)
pkg/interface/api/document/document.go:32
Method
SearchDocuments
(ctx context.Context, query *entities.Query)
pkg/usecase/search/search.go:24
Method
Select
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
pkg/ent/document_update.go:200
Method
Select
Select allows selecting one or more fields (columns) of the returned entity. The default is selecting all fields defined in the entity schema.
pkg/ent/term_update.go:216
Method
SetContent
SetContent sets the "content" field.
pkg/ent/document_update.go:182
Method
SetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:54
Method
SetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:299
Method
SetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:398
Method
SetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:665
Method
SetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/term_create.go:309
Method
SetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/term_create.go:410
Method
SetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/term_create.go:685
Method
SetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/document_create.go:275
Method
SetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/document_create.go:370
Method
SetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/document_create.go:637
Method
SetField
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the f
pkg/ent/mutation.go:363
Method
SetField
SetField sets the value of a field with the given name. It returns an error if the field is not defined in the schema, or if the type mismatched the f
pkg/ent/mutation.go:842
Method
SetID
SetID sets the value of the id field. Note that this operation is only accepted on creation of Term entities.
pkg/ent/mutation.go:594
Method
SetNillableCreatedAt
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
pkg/ent/term_create.go:34
Method
SetNillableCreatedAt
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
pkg/ent/document_create.go:32
Method
SetNillableID
SetNillableID sets the "id" field if the given value is not nil.
pkg/ent/term_create.go:74
Method
SetNillableUpdatedAt
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
pkg/ent/term_create.go:48
Method
SetNillableUpdatedAt
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
pkg/ent/document_create.go:46
Method
SetPostingListCompressed
SetPostingListCompressed sets the "posting_list_compressed" field.
pkg/ent/term_create.go:62
Method
SetPostingListCompressed
SetPostingListCompressed sets the "posting_list_compressed" field.
pkg/ent/term_create.go:345
← previous
next →
501–600 of 762, ranked by callers