Tag

Sequelize

1 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Jul 27, 2024 · Backend Development

Master Egg‑Sequelize: From Setup to Advanced Tips for Egg.js Projects

This guide walks you through installing, configuring, and using Egg‑Sequelize in Egg.js, explains core ORM features, demonstrates model definition and CRUD operations, and covers advanced topics such as complex queries, transactions, validation, migrations, associations, and common pitfalls to avoid.

Backend DevelopmentDatabaseEgg.js
0 likes · 13 min read
Master Egg‑Sequelize: From Setup to Advanced Tips for Egg.js Projects
JD Cloud Developers
JD Cloud Developers
Oct 18, 2023 · Backend Development

Build a Full‑Stack Node Service with NestJS, Sequelize & MySQL – Step‑by‑Step Guide

This tutorial walks you through creating a Node backend using NestJS, configuring Sequelize with MySQL, setting up the project structure, writing DTOs, controllers, services, and modules, and implementing basic CRUD operations with code examples and deployment tips.

Backend DevelopmentCRUDMySQL
0 likes · 16 min read
Build a Full‑Stack Node Service with NestJS, Sequelize & MySQL – Step‑by‑Step Guide
JD Retail Technology
JD Retail Technology
Oct 17, 2023 · Backend Development

Building a Node.js Backend with NestJS, Sequelize, and MySQL: A Step-by-Step Guide

This article walks through setting up a Node.js backend using NestJS, integrating Sequelize with MySQL, configuring the database, defining entities, services, controllers, and demonstrating CRUD operations, along with optional features like GraphQL, Swagger, and deployment considerations.

Backend DevelopmentCRUDMySQL
0 likes · 15 min read
Building a Node.js Backend with NestJS, Sequelize, and MySQL: A Step-by-Step Guide
System Architect Go
System Architect Go
Sep 17, 2019 · Information Security

Sequelize ORM SQL Injection Vulnerabilities and Affected Versions

The article outlines several SQL injection vulnerabilities discovered in various Sequelize ORM versions, explains the underlying causes related to improper JSON path key handling for MySQL, MariaDB, Postgres, and SQLite, provides reproduction screenshots, and strongly advises upgrading to patched releases.

Node.jsORMSQL Injection
0 likes · 3 min read
Sequelize ORM SQL Injection Vulnerabilities and Affected Versions
System Architect Go
System Architect Go
Jul 26, 2017 · Databases

Handling Concurrent Updates in MySQL InnoDB with Sequelize: Transaction Isolation and Row Locks

This article explains how concurrent transactions updating the same MySQL InnoDB row can cause inconsistent results, reviews InnoDB isolation levels and lock types, and demonstrates using SERIALIZABLE isolation combined with exclusive row locks in Sequelize to ensure correct sequential updates.

InnoDBIsolationLevelMySQL
0 likes · 4 min read
Handling Concurrent Updates in MySQL InnoDB with Sequelize: Transaction Isolation and Row Locks
System Architect Go
System Architect Go
Jul 21, 2017 · Databases

Handling Timezone Issues in MySQL with Sequelize: Custom Getters for DATE Columns

This article explains how MySQL stores dates in UTC, why Sequelize returns UTC values despite a configured timezone, and demonstrates using custom getter methods (with moment) to automatically format DATE fields, including an advanced approach to apply the getter across multiple models.

Date HandlingMySQLNode.js
0 likes · 4 min read
Handling Timezone Issues in MySQL with Sequelize: Custom Getters for DATE Columns