GithubHelp home page GithubHelp logo

hipstina / u3_cheatsheet_sequelize Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sei-r-1-25/u3_cheatsheet_sequelize

0.0 1.0 0.0 19 KB

This repo is a handy cheatsheet for all things Sequelize.

JavaScript 100.00%

u3_cheatsheet_sequelize's Introduction

Sequelize Cheats

Getting Started

  • npm install
  • npm run setup

1. Queries

Everything you need for queries is here. Run npm run queries to see the output from each query. All the queries are listed in the index.js file in queries-1.

2. Associations

Simple one-to-many associations are here. Run npm run associations to see the output from the queries and how the information comes back. All queries are listed in the index.js file in associations-2. Look at the models to see how simple associations are performed.

3. Complex Associations

More complex associations are performed here. Includes everything from basic associations to many-many associations using through tables. Run npm run associations-complex to see the output.

4. Model Helpers

In this section you'll find model helpers, validations and model getter and setters are here. Run npm run model-helpers to view the output.

u3_cheatsheet_sequelize's People

Contributors

anpato avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.