---
title: "Discussion on \"API with Nest js and sequelize - part 2\" | Hashnode"
description: "Discussion on \"API with Nest js and sequelize - part 2\". Model Synchronization\nA model can be synchronized with the database using the model.sync(options). It returns promise and is as asynchronous function.\nSequelize will perform the necessary sql query in the database to create or update table.\nimport { ..."
url: "https://hashnode.com/posts/api-with-nest-js-and-sequelize-part-2/64d263aed04b9847f6ce36e9"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [API with Nest js and sequelize - part 2](https://sumanad.hashnode.dev/api-with-nest-js-and-sequelize-part-2?utm_source=hashnode&utm_medium=feed)

Model Synchronization A model can be synchronized with the database using the model.sync(options). It returns promise and is as asynchronous function. Sequelize will perform the necessary sql query in the database to create or update table. import { ...

Aug 8, 2023 · 4 min read · sumanad.hashnode.dev  
Read the article

## Written by

[Suman Adhikari](https://hashnode.com/@SumanAdhikari)

@SumanAdhikari

  
[View profile](https://hashnode.com/@SumanAdhikari)

...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
