Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>NestJS Sequelize Snippets for VSCode EditorNew to Visual Studio Code? Get it now.
NestJS Sequelize Snippets for VSCode Editor

NestJS Sequelize Snippets for VSCode Editor

Manuel Gil

|
1,585 installs
| (0) | Free
| Sponsor
This extension adds code snippets for Sequelize ORM for JavaScript and TypeScript in VS Code editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NestJS Sequelize Snippets for VSCode Editor

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads Visual Studio Marketplace Rating GitHub Repo stars GitHub license

This extension adds code snippets for Sequelize ORM for JavaScript and TypeScript in VS Code editor.

Requirements

  • VSCode 1.46.0 or later

Usage

Snippets

demo

Type part of snippet, press Tab or Enter, and the snippet unfolds. Below is a list of the most important shortcuts.

Snippet Purpose
ns_sequelize_deco_created_at @CreatedAt public createdAt: Date;
ns_sequelize_deco_updated_at @UpdatedAt public updatedAt: Date;
ns_sequelize_deco_deleted_at @DeletedAt public deletedAt: Date;
ns_sequelize_deco_table @Table() export class ... extends Model { ... }
ns_sequelize_deco_auto_increment @AutoIncrement
ns_sequelize_deco_primary_key @PrimaryKey
ns_sequelize_deco_index @Index()
ns_sequelize_deco_column @Column({ ... })
ns_sequelize_deco_allow_null @AllowNull()
ns_sequelize_deco_unique @Unique()
ns_sequelize_deco_default @Default()
ns_sequelize_deco_comment @Comment()
ns_sequelize_deco_before_bulk_create @BeforeBulkCreate public static ...() { ... }
ns_sequelize_deco_before_bulk_destroy @BeforeBulkDestroy public static ...() { ... }
ns_sequelize_deco_before_bulk_update @BeforeBulkUpdate public static ...() { ... }
ns_sequelize_deco_before_create @BeforeCreate public static ...() { ... }
ns_sequelize_deco_before_destroy @BeforeDestroy public static ...() { ... }
ns_sequelize_deco_before_save @BeforeSave public static ...() { ... }
ns_sequelize_deco_before_update @BeforeUpdate public static ...() { ... }
ns_sequelize_deco_before_upsert @BeforeUpsert public static ...() { ... }
ns_sequelize_deco_before_validate @BeforeValidate public static ...() { ... }
ns_sequelize_deco_after_bulk_create @AfterBulkCreate public static ...() { ... }
ns_sequelize_deco_after_bulk_destroy @AfterBulkDestroy public static ...() { ... }
ns_sequelize_deco_after_bulk_update @AfterBulkUpdate public static ...() { ... }
ns_sequelize_deco_after_create @AfterCreate public static ...() { ... }
ns_sequelize_deco_after_destroy @AfterDestroy public static ...() { ... }
ns_sequelize_deco_after_save @AfterSave public static ...() { ... }
ns_sequelize_deco_after_update @AfterUpdate public static ...() { ... }
ns_sequelize_deco_after_upsert @AfterUpsert public static ...() { ... }
ns_sequelize_deco_after_validate @AfterValidate public static ...() { ... }
ns_sequelize_deco_has_many @HasMany(() => model)
ns_sequelize_deco_has_one @HasOne(() => model)
ns_sequelize_deco_foreign_key @ForeignKey(() => model)
ns_sequelize_belongs_to @BelongsTo(() => model)
ns_sequelize_belongs_to_many @BelongsToMany(() => model, (() => model))

Connect with me

GitHub followers X (formerly Twitter) Follow

Other Extensions

  • NestJS File Generator for VSCode
  • NestJS Snippets for VSCode Editor
  • Angular File Generator for VSCode Editor
  • React / NextJS / T3 Stack File Generator
  • Nx / Angular / Nest / Next Essential Extension Pack
  • CodeIgniter 4 Snippets for Visual Studio Code
  • CodeIgniter 4 Spark for Visual Studio Code
  • Moodle Pack
  • Mustache Template Engine - Snippets & Autocomplete

Changelog

See CHANGELOG.md

Authors

  • Manuel Gil - Owner - ManuelGil

See also the list of contributors who participated in this project.

License

NestJS Sequelize Snippets for VSCode is licensed under the MIT License - see the MIT License for details.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft