Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>nodeJS CRUD SnippetNew to Visual Studio Code? Get it now.
nodeJS CRUD Snippet

nodeJS CRUD Snippet

Rohit Chouhan

|
8,924 installs
| (1) | Free
A snippet for MySQL to get CRUD code of nodeJs.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

An easy snippet to generate CRUD code for nodeJs MySQL quickly

Usage

prefix description
nd-import Include MYSQL
nd-connServer Create Server Connection
nd-connDb Create Database Connection
nd-createDb Create Database
nd-query Manual Query
nd-createTb Create Table
nd-insert Insert Data
nd-update Update Data
nd-delete Delete Data
nd-select Selecting Data

Example

Input: nd-connDb Result:

var con = mysql.createConnection({
  host: "hostname",
  user: "username",
  password: "password",
  database: "database"
});

Change Logs

30 JULY 2012

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