Sequelize
Official documentation: https://sequelize.org/docs/v6/
Overview
This skill provides comprehensive documentation for sequelize.
Total references: 13 files (~63,274 tokens)
Topics covered: Ordering eager loaded associations, Creating an instance, Eager loading with Many-to-Many relationships, Managed transactions, Limits and Pagination, Creating the standard relationships, findOne, Defining a model as paranoid, Enforcing a foreign key reference without constraints, findAll, New databases versus existing databases, Installation...
Reference Files
Load only the reference files relevant to the user's question:
Advanced Association Concepts
- Advanced M:N Associations and more (~4,743 tokens)
- Topics: Through tables versus normal tables and the Super Many-to-Many association, Aliases and custom key names, Self-references
- Eager Loading and more (~6,191 tokens)
- Topics: Basic example, Multiple eager loading, Eager loading with Many-to-Many relationships
Category
- Advanced Association Concepts and more (~1,267 tokens)
Core Concepts
- Associations and more (~7,504 tokens)
- Topics: Defining the Sequelize associations, Creating the standard relationships, One-To-One relationships
- Model Basics and more (~4,355 tokens)
- Topics: Concept, Model Definition, Table name inference
- Model Querying and more (~6,453 tokens)
- Topics: Simple INSERT queries, Simple SELECT queries, Specifying attributes for SELECT queries
- Validations & Constraints (~2,060 tokens)
- Topics: Difference between Validations and Constraints, Unique Constraint, Allowingdisallowing null values
General
- Getting Started and more (~1,229 tokens)
- Topics: Installing, Connecting to a database, Terminology convention
Moved
- Associations and more (~722 tokens)
- Topics: Deprecatedsequelizeimport
Other Topics
- Using sequelize in AWS Lambda and more (~7,300 tokens)
- Topics: TLDR, The Nodejs event loop, AWS Lambda function handler types in Nodejs
- Extending Data Types and more (~7,991 tokens)
- Topics: Example, PostgreSQL, Available hooks
- Naming Strategies and more (~6,810 tokens)
- Topics: Theunderscoredoption, Singular vs Plural, Ranges PostgreSQL only
- Transactions and more (~6,649 tokens)
- Topics: Unmanaged transactions, Managed transactions, ConcurrentPartial transactions
Usage Guidelines
- Identify relevant sections - Match the user's question to the appropriate reference file(s)
- Load minimally - Only read files directly relevant to the question to conserve context
- Cite sources - Reference specific sections when answering
- Combine knowledge - For complex questions, you may need multiple reference files
When to use each reference:
- Advanced Association Concepts: Advanced Association Concepts-related features and documentation
- Category: Category-related features and documentation
- Core Concepts: Core Concepts-related features and documentation
- General: General documentation, overview, and getting started
- Moved: Moved-related features and documentation
- Other Topics: Other Topics-related features and documentation