Squel is a JavaScript library for fluent and safe SQL query string building, usable both in Node.js environments and in the browser. Works in Node.js and in the browser. Supports the standard SQL queries: SELECT, UPDATE, INSERT, and DELETE. Supports non-standard commands for popular DB engines such as MySQL. Supports parameterized queries for safe value escaping. It can be customized to build any query or command of your choosing. Uses method chaining for ease of use.
Features
- Supports building SELECT, INSERT, UPDATE, and DELETE queries via chaining
- Includes support for non-standard SQL dialects like MySQL
- Enables parameterized queries to help prevent injection
- Lightweight (~7 KB minified and gzipped)
- Works seamlessly in both Node.js and browser environments
- Flexible API allowing custom query construction
Categories
SQL ClientsLicense
MIT LicenseFollow Squel
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Squel!