Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Super mongooseNew to Visual Studio Code? Get it now.
Super mongoose

Super mongoose

Bryan Pereyra

|
4,226 installs
| (1) | Free
Super mongoose is a mongoose snippets from mongoose library
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GitHub issues GitHub forks GitHub stars GitHub license

Super mongoose

It is a group of code fragments for common use in application development based primarily on node js and express with mongo db as a backend.

Code snippets that any mongoose and node developer needs

Do you want to collaborate with the project ?, Write us Here

Snippets List

Base Snippets

Snippet Action
sp-im import mongoose library
sp-cs Create basic Schema
sp-cm Create basic Model
sp-afieldType Add field to schema

Find by id

Snippet Action
sp-fi Find by id await
sp-fic Find by id callback
sp-fip Find by id promise

Find One

Snippet Action
sp-fo Find one await
sp-foc Find one callback
sp-fop Find one promise

Find All

Snippet Action
sp-fa Find all await
sp-fac Find all callback
sp-fap Find all promise

fieldType

  • s -> String field
  • n -> Number field
  • b -> Boolean field
  • d -> Date field
  • e -> Enum field
  • a -> Array field

Release Notes

[0.0.2] - 2022-06-14

Added

  • Array Field

fixed

  • Table Description in the Readme file

[0.0.1] - Initial release

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