MCPcopy Index your code

hub / github.com/sequelize/sequelize-typescript / functions

Functions297 in github.com/sequelize/sequelize-typescript

↓ 102 callersMethodaddModels
(arg: (ModelCtor | string)[], modelMatch?: ModelMatch)
src/sequelize/sequelize/sequelize.ts:48
↓ 70 callersFunctionassertInstance
(instance: any | any[], expectedValues: any | any[])
test/utils/common.ts:6
↓ 54 callersFunctionColumn
(...args: any[])
src/model/column/column.ts:14
↓ 43 callersFunctionaddAttributeOptions
( target: any, propertyName: string, options: Partial<ModelAttributeColumnOptions> )
src/model/column/attribute-service.ts:48
↓ 40 callersMethodget
(this: Product)
test/specs/model.spec.ts:690
↓ 38 callersFunctionimplementHookDecorator
( hookType: keyof SequelizeHooks, args: any[] )
src/hooks/shared/hooks-service.ts:30
↓ 37 callersFunctionForeignKey
( relatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes> )
src/associations/foreign-key/foreign-key.ts:4
↓ 31 callersFunctionTable
(arg: any)
src/model/table/table.ts:7
↓ 29 callersFunctionBelongsTo
( associatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes>, optionsOrForeignKey?: st
src/associations/belongs-to/belongs-to.ts:17
↓ 25 callersFunctioncreateSequelize
( useModelsInPathOrPartialOptions?: boolean | Partial<SequelizeOptions>, define: ModelOptions<any> = {} )
test/utils/sequelize.ts:7
↓ 20 callersFunctionBelongsToMany
( associatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes>, throughOrOptions: |
src/associations/belongs-to-many/belongs-to-many.ts:26
↓ 18 callersFunctionHasMany
( associatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes>, optionsOrForeignKey?: st
src/associations/has/has-many.ts:18
↓ 16 callersFunctionDefault
(value: any)
src/model/column/column-options/default.ts:6
↓ 15 callersMethodgetRepository
(modelClass: new () => M)
src/sequelize/sequelize/sequelize.ts:58
↓ 14 callersFunctiondeepAssign
(target: any, ...sources: any[])
src/shared/object.ts:15
↓ 14 callersFunctiongetAttributes
(target: any)
src/model/column/attribute-service.ts:10
↓ 12 callersFunctioncreateSequelizeValidationOnly
(useModelsInPath = true)
test/utils/sequelize.ts:32
↓ 11 callersFunctionHasOne
( associatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes>, optionsOrForeignKey?: st
src/associations/has/has-one.ts:18
↓ 10 callersFunctionLength
({ msg, min, max }: { msg?: string; min?: number; max?: number })
src/validation/length.ts:6
↓ 10 callersFunctioncapitalize
(value: string)
src/shared/string.ts:4
↓ 10 callersFunctioninferDataType
(designType: any)
src/sequelize/data-type/data-type-service.ts:17
↓ 9 callersFunctionisDataType
(value: any)
src/sequelize/data-type/data-type-service.ts:6
↓ 8 callersFunctiongetOptions
(target: any)
src/model/shared/model-service.ts:29
↓ 8 callersFunctioninferAlias
(options: any, source: any)
src/associations/alias-inference/alias-inference-service.ts:6
↓ 8 callersMethodset
(this: Product, value: number)
test/specs/model.spec.ts:693
↓ 6 callersFunctionIndex
(...args: any[])
src/model/index/index-decorator.ts:13
↓ 6 callersFunctionexpectAutoGeneratedFunctions
( target: any, keys: { singular: string; plural?: string } )
test/utils/association.ts:7
↓ 6 callersFunctionmanyToManyTestSuites
( Book: typeof BookModel, Author: typeof AuthorModel, AuthorBook?: typeof ConcreteModel
test/specs/association.spec.ts:660
↓ 5 callersFunctionAllowNull
(...args: any[])
src/model/column/column-options/allow-null.ts:8
↓ 5 callersFunctionScopes
( scopesOrScopesGetter: | ScopeTableOptions<TCreationAttributes, TModelAttributes> | ScopesOptionsGe
src/scopes/scopes.ts:21
↓ 5 callersFunctionaddOptions
(target: any, options: ModelOptions<any>)
src/model/shared/model-service.ts:47
↓ 5 callersFunctiongetForeignKeys
( target: any )
src/associations/foreign-key/foreign-key-service.ts:70
↓ 4 callersFunctionIs
(...args: any[])
src/validation/is.ts:26
↓ 4 callersFunctionaddAssociation
( target: any, association: BaseAssociation<TCreationAttributes, TModelAttributes> )
src/associations/shared/association-service.ts:31
↓ 4 callersFunctionaddForeignKey
( target: any, relatedClassGetter: ModelClassGetter<TCreationAttributes, TModelAttributes>, foreignKey:
src/associations/foreign-key/foreign-key-service.ts:51
↓ 4 callersFunctioncreateIndexDecorator
(options: IndexOptions = {})
src/model/index/create-index-decorator.ts:8
↓ 4 callersFunctiongetForeignKeyOptions
( relatedClass: ModelType<TCreationAttributes, TModelAttributes>, classWithForeignKey?: ModelType<TCreatio
src/associations/foreign-key/foreign-key-service.ts:9
↓ 4 callersFunctiongetScopeOptions
( target: any )
src/scopes/scope-service.ts:81
↓ 3 callersFunctionDefaultScope
( scopeOrSsopeGetter: ScopeFindOptions<TCreationAttributes, TModelAttributes> | DefaultScopeGetter )
src/scopes/default-scope.ts:21
↓ 3 callersFunctionaddAttribute
(target: any, name: string, options: any)
src/model/column/attribute-service.ts:34
↓ 3 callersFunctionaddFieldToIndex
( target: any, fieldOptions: IndexFieldOptions, indexOptions: IndexOptions, indexId?: string | number
src/model/index/index-service.ts:45
↓ 3 callersFunctionaddScopeOptions
( target: any, options: ScopeOptions<TCreationAttributes, TModelAttributes> )
src/scopes/scope-service.ts:69
↓ 3 callersFunctiongetAssociations
( target: any )
src/associations/shared/association-service.ts:47
↓ 3 callersFunctiongetPreparedAssociationOptions
( optionsOrForeignKey?: string | NonBelongsToManyAssociationOptions )
src/associations/shared/association-service.ts:13
↓ 3 callersMethodmodel
( model: string | ModelType<TCreationAttributes, TModelAttributes> )
src/sequelize/sequelize/sequelize.ts:35
↓ 3 callersFunctiononeToManyTestSuites
(Book: typeof BookModel, Page: typeof PageModel)
test/specs/association.spec.ts:71
↓ 3 callersFunctiononeToOneTestSuites
(User: typeof AbstractUser, Address: typeof AbstractAddress)
test/specs/association.spec.ts:1295
↓ 3 callersFunctiononeToOneWithOptionsTestSuites
( User: typeof AbstractUser, Address: typeof AbstractAddress, alternateName = false, o
test/specs/association.spec.ts:1532
↓ 3 callersFunctionsetAttributes
(target: any, attributes: any)
src/model/column/attribute-service.ts:25
↓ 2 callersFunctionNotEmpty
(...args: any[])
src/validation/not-empty.ts:8
↓ 2 callersFunctionaddHook
( target: any, hookType: keyof SequelizeHooks, methodName: string, options: HookOptions = {} )
src/hooks/shared/hooks-service.ts:51
↓ 2 callersFunctionaddScopeOptionsGetter
(target: any, options: ScopeOptionsGetters)
src/scopes/scope-service.ts:40
↓ 2 callersFunctionannotate
( target: any, propertyName: string, propertyDescriptor?: PropertyDescriptor, optionsOrDataType: Parti
src/model/column/column.ts:36
↓ 2 callersFunctionannotate
(target: Object, propertyName: string, option: UniqueOptions = true)
src/model/column/column-options/unique.ts:26
↓ 2 callersFunctionannotate
(target: typeof Model, options: TableOptions = {})
src/model/table/table.ts:16
↓ 2 callersFunctionannotateModelWithIndex
( target: any, propertyName: string, optionsOrName: IndexDecoratorOptions | string = {}, indexId?: str
src/model/index/index-decorator.ts:26
↓ 2 callersFunctionassign
(key: string | number | symbol, _target: any, _source: any)
src/shared/object.ts:28
↓ 2 callersFunctiongetHooks
(target: any)
src/hooks/shared/hooks-service.ts:97
↓ 2 callersFunctiongetIndexes
(target: any)
src/model/index/index-service.ts:28
↓ 2 callersFunctiongetModelName
(target: any)
src/model/shared/model-service.ts:21
↓ 2 callersFunctiongetScopeOptionsGetters
(target: any)
src/scopes/scope-service.ts:45
↓ 2 callersFunctiononeToManyWithOptionsTestSuites
( Book: typeof BookModel, Page: typeof PageModel, alternateName = false )
test/specs/association.spec.ts:475
↓ 2 callersFunctionresolveModelGetter
(options: any)
src/model/shared/model-service.ts:87
↓ 2 callersMethodsetFullName
(name: string)
test/specs/instance-methods.spec.ts:20
↓ 2 callersFunctiontestOptionsProp
(instance: Sequelize)
test/specs/models/sequelize.spec.ts:31
↓ 2 callersFunctionunique
(arr: T[])
src/shared/array.ts:4
↓ 1 callersFunctionAfterBulkCreate
(...args: any[])
src/hooks/bulk/after/after-bulk-create.ts:6
↓ 1 callersFunctionAfterBulkDestroy
(...args: any[])
src/hooks/bulk/after/after-bulk-destroy.ts:6
↓ 1 callersFunctionAfterBulkRestore
(...args: any[])
src/hooks/bulk/after/after-bulk-restore.ts:6
↓ 1 callersFunctionAfterBulkUpdate
(...args: any[])
src/hooks/bulk/after/after-bulk-update.ts:6
↓ 1 callersFunctionAfterCreate
(...args: any[])
src/hooks/single/after/after-create.ts:6
↓ 1 callersFunctionAfterDestroy
(...args: any[])
src/hooks/single/after/after-destroy.ts:6
↓ 1 callersFunctionAfterFind
(...args: any[])
src/hooks/single/after/after-find.ts:6
↓ 1 callersFunctionAfterRestore
(...args: any[])
src/hooks/single/after/after-restore.ts:6
↓ 1 callersFunctionAfterSave
(...args: any[])
src/hooks/single/after/after-save.ts:6
↓ 1 callersFunctionAfterUpdate
(...args: any[])
src/hooks/single/after/after-update.ts:6
↓ 1 callersFunctionAfterUpsert
(...args: any[])
src/hooks/single/after/after-upsert.ts:6
↓ 1 callersFunctionAfterValidate
(...args: any[])
src/hooks/single/after/after-validate.ts:6
↓ 1 callersFunctionBeforeBulkCreate
(...args: any[])
src/hooks/bulk/before/before-bulk-create.ts:6
↓ 1 callersFunctionBeforeBulkDestroy
(...args: any[])
src/hooks/bulk/before/before-bulk-destroy.ts:6
↓ 1 callersFunctionBeforeBulkRestore
(...args: any[])
src/hooks/bulk/before/before-bulk-restore.ts:6
↓ 1 callersFunctionBeforeBulkUpdate
(...args: any[])
src/hooks/bulk/before/before-bulk-update.ts:6
↓ 1 callersFunctionBeforeCount
(...args: any[])
src/hooks/single/before/before-count.ts:6
↓ 1 callersFunctionBeforeCreate
(...args: any[])
src/hooks/single/before/before-create.ts:6
↓ 1 callersFunctionBeforeDestroy
(...args: any[])
src/hooks/single/before/before-destroy.ts:6
↓ 1 callersFunctionBeforeFind
(...args: any[])
src/hooks/single/before/before-find.ts:6
↓ 1 callersFunctionBeforeFindAfterExpandIncludeAll
(...args: any[])
src/hooks/single/before/before-find-after-expand-include-all.ts:6
↓ 1 callersFunctionBeforeFindAfterOptions
(...args: any[])
src/hooks/single/before/before-find-after-options.ts:6
↓ 1 callersFunctionBeforeRestore
(...args: any[])
src/hooks/single/before/before-restore.ts:6
↓ 1 callersFunctionBeforeSave
(...args: any[])
src/hooks/single/before/before-save.ts:6
↓ 1 callersFunctionBeforeUpdate
(...args: any[])
src/hooks/single/before/before-update.ts:6
↓ 1 callersFunctionBeforeUpsert
(...args: any[])
src/hooks/single/before/before-upsert.ts:6
↓ 1 callersFunctionBeforeValidate
(...args: any[])
src/hooks/single/before/before-validate.ts:6
↓ 1 callersFunctionComment
(value: string)
src/model/column/column-options/comment.ts:6
↓ 1 callersFunctionContains
(value: string | { msg: string; args: string })
src/validation/contains.ts:6
↓ 1 callersFunctionEquals
(value: string | { msg: string; args: string })
src/validation/equals.ts:6
↓ 1 callersFunctionIsAfter
(date: string)
src/validation/is-after.ts:6
↓ 1 callersFunctionIsBefore
(date: string)
src/validation/is-before.ts:6
↓ 1 callersFunctionIsIn
(arg: any[][] | { msg: string; args: any[][] })
src/validation/is-in.ts:6
↓ 1 callersFunctionIsUUID
(version: 3 | 4 | 5 | '3' | '4' | '5' | 'all')
src/validation/is-uuid.ts:8
next →1–100 of 297, ranked by callers