Profiles·Public

sequelize

semver>=6.28.1postconditions55functions36last verified2026-04-17coverage score100%

Postconditions — what we check

  • authenticate · connection-failure
    error
    WhenCannot connect to database (wrong credentials, host unreachable, etc.)
    ThrowsConnectionError, ConnectionRefusedError, HostNotFoundError
    Required handlingCaller MUST catch connection errors. Common causes: wrong credentials, database down, network issues. Implement retry with exponential backoff for transient issues.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[1]
  • query · syntax-error
    error
    WhenSQL syntax error
    ThrowsDatabaseError with original SQL error from underlying driver
    Required handlingCaller MUST validate SQL syntax before execution. DO NOT retry - indicates SQL syntax error. Check error.original for underlying driver error.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[2]
  • query · constraint-violation
    error
    WhenUnique constraint, foreign key, or NOT NULL violation
    ThrowsUniqueConstraintError, ForeignKeyConstraintError, ValidationError
    Required handlingCaller MUST handle constraint violations gracefully. UniqueConstraintError: extract fields from error.fields. ForeignKeyConstraintError: check error.index. DO NOT retry without fixing data.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • query · connection-error
    error
    WhenConnection lost during query execution
    ThrowsConnectionError, TimeoutError
    Required handlingCaller MUST handle connection errors separately from query errors. Implement retry with exponential backoff for transient connection issues.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[4]
  • findAll · query-failure
    error
    WhenNetwork error, timeout, or invalid query
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch query errors. Network errors may be transient and retriable. Invalid query errors should not be retried.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • findOne · query-failure
    error
    WhenNetwork error, timeout, or invalid query
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch query errors. Returns null if no record matches (not an error). Network errors may be transient and retriable.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • findByPk · query-failure
    error
    WhenNetwork error or timeout
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch query errors. Returns null if record not found (not an error).
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[6]
  • create · unique-constraint
    error
    WhenUnique constraint violation
    ThrowsUniqueConstraintError with fields and error.errors array
    Required handlingCaller MUST catch unique constraint errors. Extract conflicting fields from error.fields. DO NOT retry without changing unique field values.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • create · validation-error
    error
    WhenModel validation fails (NOT NULL, data type, etc.)
    ThrowsValidationError with error.errors array
    Required handlingCaller MUST validate data before insert. Check error.errors for list of validation failures. DO NOT retry without fixing validation issues.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • create · foreign-key-constraint
    error
    WhenForeign key constraint violation
    ThrowsForeignKeyConstraintError
    Required handlingCaller MUST verify referenced record exists before insertion. DO NOT retry - indicates data integrity issue.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • update · update-failure
    error
    WhenNetwork error, validation error, or constraint violation
    ThrowsDatabaseError, ValidationError, UniqueConstraintError
    Required handlingCaller MUST catch update errors. Validation errors: check error.errors array. Constraint violations: DO NOT retry without fixing data.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • destroy · delete-failure
    error
    WhenNetwork error or foreign key constraint
    ThrowsDatabaseError, ForeignKeyConstraintError
    Required handlingCaller MUST catch delete errors. Foreign key errors: child records may still reference this record. Deleting non-existent record is NOT an error (returns 0).
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • transaction · transaction-failure
    error
    WhenDeadlock, timeout, or constraint violation during transaction
    ThrowsDatabaseError, TimeoutError, UniqueConstraintError, etc.
    Required handlingCaller MUST catch transaction errors and handle rollback. Sequelize auto-rollbacks on error in managed transactions. For unmanaged transactions, caller must explicitly rollback. Deadlocks may be transient and retriable.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[7]
  • sync · sync-failure
    error
    WhenSchema mismatch, permission denied, or connection error
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch sync errors. NEVER use sync() in production - use migrations instead. sync() can drop and recreate tables - data loss risk.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[8]
  • count · count-failure
    error
    WhenNetwork error, timeout, or invalid query
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch count errors. Network errors may be transient and retriable.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • bulkCreate · unique-constraint
    error
    WhenOne or more records violate unique constraint
    ThrowsUniqueConstraintError — entire batch fails unless ignoreDuplicates option is set
    Required handlingCaller MUST catch UniqueConstraintError. Use ignoreDuplicates: true to skip duplicates without throwing. Use updateOnDuplicate to upsert instead of error. Without these options, entire batch fails on first duplicate.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[9]
  • bulkCreate · validation-error
    error
    WhenOne or more records fail model validation
    ThrowsAggregateError containing ValidationError for each failed record
    Required handlingCaller MUST catch validation errors. Use validate: true (default) to validate all records before insert. Check error.errors for individual validation failures. Partial inserts may occur if validate option is false.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • bulkCreate · connection-error
    error
    WhenConnection lost during bulk insert
    ThrowsConnectionError, TimeoutError
    Required handlingCaller MUST handle connection errors. Large bulk inserts are more likely to timeout. Consider chunking into smaller batches.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[4]
  • findOrCreate · unique-constraint-race
    error
    WhenRace condition: concurrent findOrCreate calls create duplicate
    ThrowsUniqueConstraintError when two concurrent calls both try to create
    Required handlingCaller MUST catch UniqueConstraintError even though findOrCreate is designed to avoid it. Under concurrency, two calls may both fail the find and both attempt create. Retry the findOrCreate on UniqueConstraintError. Returns [instance, created] tuple.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[10][11]
  • findOrCreate · validation-error
    error
    WhenDefaults fail model validation
    ThrowsValidationError
    Required handlingCaller MUST catch ValidationError. The defaults object is used for creation — validate it.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • findAndCountAll · query-failure
    error
    WhenNetwork error, timeout, or invalid query
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch query errors. Returns { count, rows }. count is total matching records, rows is the current page. Network errors may be transient.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[12]
  • upsert · validation-error
    error
    WhenRecord fails model validation
    ThrowsValidationError
    Required handlingCaller MUST catch ValidationError. Validate data before upsert. Check error.errors array.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • upsert · connection-error
    error
    WhenConnection lost during upsert
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST handle connection errors. Upsert is atomic but connection loss mid-query is possible.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[4]
  • save · unique-constraint
    error
    WhenUnique constraint violation on save
    ThrowsUniqueConstraintError
    Required handlingCaller MUST catch UniqueConstraintError. save() performs INSERT for new instances and UPDATE for existing ones. Both can trigger unique constraint violations.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[13]
  • save · validation-error
    error
    WhenModel validation fails on save
    ThrowsValidationError with error.errors array
    Required handlingCaller MUST catch ValidationError. save() runs model validations before persisting. Check error.errors for individual validation failures.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • save · optimistic-lock-error
    error
    WhenConcurrent modification detected (optimistic locking)
    ThrowsOptimisticLockError when version column mismatch
    Required handlingCaller MUST catch OptimisticLockError if model uses version column. Reload instance and retry or inform user of conflict.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[14]
  • close · close-failure
    error
    WhenError while closing connection pool
    ThrowsError — underlying driver error during pool shutdown
    Required handlingCaller MUST catch close errors during graceful shutdown. Failing to close leaks database connections. Call close() in process exit handlers (SIGTERM, SIGINT). After close(), all queries will fail with ConnectionError.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[15]
  • restore · restore-failure
    error
    WhenNetwork error or record not found
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch restore errors. Only works on models with paranoid: true. Restoring non-existent record is not an error (updates 0 rows).
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[16]
  • increment · increment-failure
    error
    WhenNetwork error, invalid column, or record not found
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch increment errors. Increment is atomic at the database level. Static version increments all matching records. Instance version increments the specific record.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[17]
  • decrement · decrement-failure
    error
    WhenNetwork error, invalid column, or record not found
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch decrement errors. Decrement is atomic at the database level. Does NOT prevent negative values — add check constraints if needed.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[17]
  • truncate · truncate-failure
    error
    WhenForeign key constraint prevents truncation
    ThrowsDatabaseError, ForeignKeyConstraintError
    Required handlingCaller MUST catch truncate errors. TRUNCATE fails if other tables reference this table via FK. Use cascade: true option to truncate dependent tables. DANGEROUS in production — use with extreme caution.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • reload · reload-deleted
    error
    WhenRecord was deleted from database since last fetch
    ThrowsInstanceError — record no longer exists
    Required handlingCaller MUST catch errors when reloading. If the record was deleted between fetch and reload, Sequelize throws an error. Check instance existence first.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[18]
  • validate · validation-failure
    error
    WhenOne or more model validations fail
    ThrowsValidationError with error.errors array
    Required handlingCaller MUST catch ValidationError. validate() runs all model-level validations. Does NOT touch the database — only checks in-memory state. Useful for pre-flight validation before save().
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • aggregate · query-failure
    error
    WhenNetwork error, timeout, or invalid column/function
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch aggregate errors. Invalid column name or aggregate function causes DatabaseError.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • max · query-failure
    error
    WhenNetwork error or invalid column
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch query errors. Returns null if no records match. Not an error.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • min · query-failure
    error
    WhenNetwork error or invalid column
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch query errors. Returns null if no records match. Not an error.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • sum · query-failure
    error
    WhenNetwork error or invalid column
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch query errors. Returns 0 if no records match. Not an error.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[5]
  • commit · commit-already-finished
    error
    WhenTransaction already committed or rolled back
    ThrowsError — 'Transaction cannot be committed because it has been finished with state: commit|rollback'
    Required handlingCaller MUST NOT call commit() more than once per transaction. MUST NOT call commit() after rollback(). Pattern: use try-catch-finally — rollback in catch, commit only in try. Calling commit() on a finished transaction throws a generic Error (not a Sequelize-specific subclass), so catch (err) will catch it.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[19][7]
  • commit · commit-database-error
    error
    WhenDatabase connection lost or driver error during COMMIT
    ThrowsDatabaseError — underlying driver error; connection is force-cleaned
    Required handlingCaller MUST catch errors from commit(). If commit() throws, the transaction is in an undetermined state and the connection is forcibly closed. The operation MAY or MAY NOT have committed on the database side. Check for idempotency before retrying. This is a critical edge case: data integrity may be uncertain.
    costhighin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[19]
  • rollback · rollback-already-finished
    error
    WhenTransaction already committed or rolled back
    ThrowsError — 'Transaction cannot be rolled back because it has been finished with state: commit|rollback'
    Required handlingCaller MUST NOT call rollback() on an already-finished transaction. MUST NOT call rollback() after commit() succeeds. Pattern: track whether commit() succeeded before calling rollback() in finally. Use a flag: let committed = false; try { await t.commit(); committed = true; } finally { if (!committed) await t.rollback(); }
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[19][7]
  • rollback · rollback-never-started
    error
    WhenTransaction was never started (no connection acquired)
    ThrowsError — 'Transaction cannot be rolled back because it never started'
    Required handlingCaller MUST ensure transaction was successfully initialized before rollback. This can happen if sequelize.transaction() itself threw during connection acquisition. Wrap the transaction initialization in try-catch as well.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[19]
  • rollback · rollback-database-error
    error
    WhenDatabase driver error during ROLLBACK
    ThrowsDatabaseError — driver error; connection force-cleaned
    Required handlingCaller MUST catch errors from rollback(). If rollback() throws, the connection is forcibly killed. Always wrap rollback() in its own try-catch to avoid masking the original error. Do NOT let a rollback failure suppress the original transaction error.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[19]
  • instance.update · instance-update-unique-constraint
    error
    WhenUpdated value violates unique constraint
    ThrowsUniqueConstraintError — same as save() since instance.update() delegates to save()
    Required handlingCaller MUST catch UniqueConstraintError. instance.update() internally calls save() — all save() error contracts apply. Extract conflicting fields from error.fields.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[13]
  • instance.update · instance-update-validation-error
    error
    WhenUpdated values fail model validation
    ThrowsValidationError with error.errors array
    Required handlingCaller MUST catch ValidationError. Model validations run before UPDATE query. Check error.errors array for individual field errors.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • instance.update · instance-update-optimistic-lock
    error
    WhenConcurrent modification detected (optimistic locking enabled)
    ThrowsOptimisticLockError when version column mismatch on save
    Required handlingCaller MUST catch OptimisticLockError if model uses version column. Reload instance and retry with fresh data or surface conflict to user.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[14]
  • instance.destroy · instance-destroy-foreign-key
    error
    WhenOther records reference this instance via foreign key constraint
    ThrowsForeignKeyConstraintError — database rejects DELETE when child records exist
    Required handlingCaller MUST catch ForeignKeyConstraintError. Check error.index and error.table to identify referencing records. Delete or reassign child records first, or configure CASCADE in schema. instance.destroy() on paranoid models (soft-delete) does NOT trigger FK constraints — only hard-delete does.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[20][16]
  • instance.destroy · instance-destroy-connection-error
    error
    WhenDatabase connection lost during DELETE
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch connection errors. The row may or may not have been deleted — check existence before retry.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[4]
  • findOrBuild · findorbuild-query-failure
    error
    WhenNetwork error or timeout during the find phase
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch query errors from findOrBuild(). The find phase can fail with any standard query error. If find fails, no instance is built. If build is needed after find, subsequent save() may throw UniqueConstraintError or ValidationError — handle those separately on save().
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[21]
  • findCreateFind · findcreatefind-validation-error
    error
    WhenRecord to create fails model validation
    ThrowsValidationError — bubbles up from create() during the insert phase
    Required handlingCaller MUST catch ValidationError. If the find returns null and creation is attempted, validation runs. Unlike findOrCreate(), UniqueConstraintError is swallowed internally (retries find) but ValidationError propagates to the caller.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[3]
  • findCreateFind · findcreatefind-connection-error
    error
    WhenNetwork error during find or create phases
    ThrowsDatabaseError, ConnectionError, TimeoutError
    Required handlingCaller MUST catch connection errors. findCreateFind() does not wrap operations in a transaction — connection failure mid-operation leaves partial state risk (find succeeded, create failed).
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[4]
  • instance.restore · instance-restore-not-paranoid
    error
    WhenModel was not defined with paranoid: true
    ThrowsError — 'Model is not paranoid' (synchronous throw, not a rejected Promise)
    Required handlingCaller MUST only call instance.restore() on paranoid models. Check model definition (paranoid: true) before calling restore(). This throws synchronously — not a rejected Promise.
    costlowin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[16]
  • instance.restore · instance-restore-connection-error
    error
    WhenNetwork error during UPDATE to clear deletedAt
    ThrowsDatabaseError, ConnectionError
    Required handlingCaller MUST catch connection errors. The UPDATE to clear deletedAt may fail mid-flight.
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[16]
  • instance.increment · instance-increment-db-error
    error
    WhenDatabase connection failure or error during the UPDATE SQL. The instance already exists in memory — the error comes from the underlying UPDATE query. If the record was deleted between fetch and increment, no error is thrown — 0 rows are affected silently (UPDATE returns affectedRows: 0).
    ThrowsDatabaseError, ConnectionError — same as Model.increment() since instance method delegates to static
    Required handlingCaller MUST wrap instance.increment() in try/catch. Common in background jobs that update counters (views, downloads, credits). Silent 0-row updates (deleted record) are NOT errors — check affectedRows if you need to detect phantom increments. Example: try { await post.increment('viewCount'); } catch (error) { if (error instanceof Sequelize.DatabaseError) { console.error('Increment failed:', error.message); } throw error; }
    costlowin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[17][22]
  • describe · describe-table-not-found
    error
    WhenThe model's table does not exist in the database
    ThrowsError — 'No description found for "<tableName>" table. Check the table name and schema; remember, they _are_ case sensitive.' NOTE: This is a generic Error, NOT a SequelizeDatabaseError. The error is NOT an instance of Sequelize.DatabaseError. Catching with instanceof Sequelize.BaseError will NOT catch it.
    Required handlingCaller MUST use try/catch and check error.message, not instanceof. describe() is commonly called in migration scripts and health checks to verify schema state. An uncaught table-not-found error crashes the script and makes migration status ambiguous. Example safe pattern: catch (error) { if (error.message.includes('No description found')) { ... } }
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[23]
  • describe · describe-connection-error
    error
    WhenDatabase connection failure during DESCRIBE query
    ThrowsDatabaseError, ConnectionError (SequelizeDatabaseError, SequelizeConnectionError)
    Required handlingCaller MUST catch database and connection errors. describe() executes a real SQL query — it is not a local metadata lookup. A downed database or lost connection throws the same DatabaseError/ConnectionError hierarchy as findAll() or create().
    costmediumin prodimmediate exceptionusers seeservice unavailablevisibilityvisible
    Sources[1]

Sources

Every postcondition cites at least one of these. Numbered to match the footnotes above.

  1. [1]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/getting-started/
  2. [2]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/raw-queries/
  3. [3]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/validations-and-constraints/
  4. [4]sequelize.org/docs/v6https://sequelize.org/docs/v6/
  5. [5]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-querying-basics/
  6. [6]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-querying-finders/
  7. [7]sequelize.org/docs/v6https://sequelize.org/docs/v6/other-topics/transactions/
  8. [8]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-basics/
  9. [9]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-querying-basics/#creating-in-bulk
  10. [10]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-querying-finders/#findorcreate
  11. [11]github.com/sequelize/sequelizehttps://github.com/sequelize/sequelize/issues/4631
  12. [12]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-querying-finders/#findandcountall
  13. [13]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-instances/#updating-an-instance
  14. [14]sequelize.org/docs/v6https://sequelize.org/docs/v6/other-topics/optimistic-locking/
  15. [15]sequelize.org/docs/v6https://sequelize.org/docs/v6/getting-started/#closing-the-connection
  16. [16]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/paranoid/
  17. [17]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-instances/#incrementing-and-decrementing-integer-values
  18. [18]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-instances/#reloading-an-instance
  19. [19]github.com/sequelize/sequelizehttps://github.com/sequelize/sequelize/blob/v6/src/transaction.ts
  20. [20]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-instances/#deleting-an-instance
  21. [21]sequelize.org/docs/v6https://sequelize.org/docs/v6/core-concepts/model-querying-finders/#findorbuild
  22. [22]github.com/sequelize/sequelizehttps://github.com/sequelize/sequelize/blob/main/src/model.js
  23. [23]github.com/sequelize/sequelizehttps://github.com/sequelize/sequelize/blob/main/src/dialects/abstract/query-interface.ts
Need a different package?
Request a profile