MCPcopy Create free account

hub / github.com/YadaYuki/omochi / functions

Functions762 in github.com/YadaYuki/omochi

FunctionIsNotSingular
IsNotSingular returns a boolean indicating whether the error is a not singular error.
pkg/ent/ent.go:209
FunctionIsValidationError
IsValidationError returns a boolean indicating whether the error is a validation error.
pkg/ent/ent.go:163
FunctionLog
Log sets the logging function for debug mode.
pkg/ent/config.go:49
FunctionMaskNotFound
MaskNotFound masks not found error.
pkg/ent/ent.go:191
FunctionMax
Max applies the "max" aggregation function on the given field of each group.
pkg/ent/ent.go:99
FunctionMean
Mean applies the "mean" aggregation function on the given field of each group.
pkg/ent/ent.go:111
FunctionMin
Min applies the "min" aggregation function on the given field of each group.
pkg/ent/ent.go:123
MethodMixin
Mixin of the Document.
pkg/ent/schema/document.go:22
MethodMutate
Mutate calls f(ctx, m).
pkg/ent/hook/hook.go:17
MethodMutation
Mutation returns the DocumentMutation object of the builder.
pkg/ent/document_update.go:50
MethodMutation
Mutation returns the DocumentMutation object of the builder.
pkg/ent/document_update.go:194
MethodMutation
Mutation returns the TermMutation object of the builder.
pkg/ent/term_create.go:82
MethodMutation
Mutation returns the TermMutation object of the builder.
pkg/ent/term_update.go:50
MethodMutation
Mutation returns the TermMutation object of the builder.
pkg/ent/term_update.go:210
MethodMutation
Mutation returns the DocumentMutation object of the builder.
pkg/ent/document_create.go:66
FunctionNewChain
NewChain creates a new chain of hooks.
pkg/ent/hook/hook.go:190
FunctionNewClient
NewClient calls ent.NewClient and auto-run migration.
pkg/ent/enttest/enttest.go:70
FunctionNewContext
NewContext returns a new context with the given Client attached.
pkg/ent/context.go:18
FunctionNewSearchUseCase
(s service.Searcher)
pkg/usecase/search/search.go:20
FunctionNewTermUseCase
(repository repository.TermRepository)
pkg/usecase/term/term.go:20
FunctionNewTxContext
NewTxContext returns a new context with the given Tx attached.
pkg/ent/context.go:31
FunctionNot
Not applies the not operator on the given predicate.
pkg/ent/term/where.go:489
FunctionNot
Not applies the not operator on the given predicate.
pkg/ent/document/where.go:523
MethodOldField
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
MethodOldField
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
MethodOnCommit
OnCommit adds a hook to call on commit.
pkg/ent/tx.go:83
MethodOnConflict
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
MethodOnConflict
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
MethodOnConflict
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
MethodOnConflictColumns
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
MethodOnConflictColumns
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
MethodOnConflictColumns
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
MethodOnConflictColumns
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
MethodOnRollback
OnRollback adds a hook to call on rollback.
pkg/ent/tx.go:138
MethodOnlyIDX
OnlyIDX is like OnlyID, but panics if an error occurs.
pkg/ent/document_query.go:155
MethodOnlyIDX
OnlyIDX is like OnlyID, but panics if an error occurs.
pkg/ent/term_query.go:156
MethodOnlyX
OnlyX is like Only, but panics if an error occurs.
pkg/ent/document_query.go:127
MethodOnlyX
OnlyX is like Only, but panics if an error occurs.
pkg/ent/term_query.go:128
MethodOp
Op returns the operation name.
pkg/ent/mutation.go:297
FunctionOr
Or groups conditions with the OR operator.
pkg/ent/hook/hook.go:57
MethodOrder
Order adds an order step to the query.
pkg/ent/document_query.go:58
MethodOrder
Order adds an order step to the query.
pkg/ent/term_query.go:59
FunctionPostingListCompressed
PostingListCompressed applies equality check predicate on the "posting_list_compressed" field. It's identical to PostingListCompressedEQ.
pkg/ent/term/where.go:118
FunctionPostingListCompressedEQ
PostingListCompressedEQ applies the EQ predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:388
FunctionPostingListCompressedGT
PostingListCompressedGT applies the GT predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:436
FunctionPostingListCompressedGTE
PostingListCompressedGTE applies the GTE predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:443
FunctionPostingListCompressedIn
PostingListCompressedIn applies the In predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:402
FunctionPostingListCompressedLT
PostingListCompressedLT applies the LT predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:450
FunctionPostingListCompressedLTE
PostingListCompressedLTE applies the LTE predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:457
FunctionPostingListCompressedNEQ
PostingListCompressedNEQ applies the NEQ predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:395
FunctionPostingListCompressedNotIn
PostingListCompressedNotIn applies the NotIn predicate on the "posting_list_compressed" field.
pkg/ent/term/where.go:419
FunctionReject
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
MethodRemovedEdges
RemovedEdges returns all edge names that were removed in this mutation.
pkg/ent/mutation.go:471
MethodRemovedEdges
RemovedEdges returns all edge names that were removed in this mutation.
pkg/ent/mutation.go:950
MethodRemovedIDs
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
MethodRemovedIDs
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
MethodResetEdge
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
MethodResetEdge
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
MethodResetField
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
MethodResetField
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
MethodRollback
Rollback calls f(ctx, m).
pkg/ent/tx.go:118
MethodRollback
Rollback rollbacks the transaction.
pkg/ent/tx.go:123
MethodRollback
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
MethodSaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/document_update.go:88
MethodSaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/document_update.go:239
MethodSaveX
SaveX calls Save and panics if Save returns an error.
pkg/ent/term_create.go:129
MethodSaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/term_create.go:564
MethodSaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/term_update.go:94
MethodSaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/term_update.go:261
MethodSaveX
SaveX calls Save and panics if Save returns an error.
pkg/ent/document_create.go:113
MethodSaveX
SaveX is like Save, but panics if an error occurs.
pkg/ent/document_create.go:523
MethodScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/document_query.go:462
MethodScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/document_query.go:719
MethodScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/term_query.go:463
MethodScanX
ScanX is like Scan, but panics if an error occurs.
pkg/ent/term_query.go:720
MethodSearchDocuments
(w http.ResponseWriter, r *http.Request)
pkg/interface/api/document/document.go:32
MethodSearchDocuments
(ctx context.Context, query *entities.Query)
pkg/usecase/search/search.go:24
MethodSelect
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
MethodSelect
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
MethodSetContent
SetContent sets the "content" field.
pkg/ent/document_update.go:182
MethodSetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:54
MethodSetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:299
MethodSetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:398
MethodSetContent
SetContent sets the "content" field.
pkg/ent/document_create.go:665
MethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/term_create.go:309
MethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/term_create.go:410
MethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/term_create.go:685
MethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/document_create.go:275
MethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/document_create.go:370
MethodSetCreatedAt
SetCreatedAt sets the "created_at" field.
pkg/ent/document_create.go:637
MethodSetField
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
MethodSetField
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
MethodSetID
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
MethodSetNillableCreatedAt
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
pkg/ent/term_create.go:34
MethodSetNillableCreatedAt
SetNillableCreatedAt sets the "created_at" field if the given value is not nil.
pkg/ent/document_create.go:32
MethodSetNillableID
SetNillableID sets the "id" field if the given value is not nil.
pkg/ent/term_create.go:74
MethodSetNillableUpdatedAt
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
pkg/ent/term_create.go:48
MethodSetNillableUpdatedAt
SetNillableUpdatedAt sets the "updated_at" field if the given value is not nil.
pkg/ent/document_create.go:46
MethodSetPostingListCompressed
SetPostingListCompressed sets the "posting_list_compressed" field.
pkg/ent/term_create.go:62
MethodSetPostingListCompressed
SetPostingListCompressed sets the "posting_list_compressed" field.
pkg/ent/term_create.go:345
← previousnext →501–600 of 762, ranked by callers