sql
Sequelize
| sql | Sequelize | |
|---|---|---|
| 8 | 100 | |
| 259 | 30,351 | |
| 1.2% | -0.0% | |
| 8.1 | 9.6 | |
| about 2 months ago | 9 days ago | |
| Elixir | TypeScript | |
| MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sql
-
The Rise of SQL:the second programming language everyone needs to know
SQL is great, but what is even better is a SOTA client. https://github.com/elixir-dbvisor/sql the BEAM can give you superpowers that no other platform can, handle massive concurrency with the performance that rivals bare metal and c https://erlangforums.com/t/elixir-dbvisor-sql-needs-a-sota-p...
-
I Chose Phoenix LiveView over Rails, Laravel, and Next.js
A lot of people tend to flag Elixir for its size and rightfully so, but the community is trying to punch above it’s weight with SOTA libraries. As an old developer once told me: less is more. https://github.com/elixir-dbvisor/sql
-
LLMs and Elixir: Windfall or Deathblow?
I disagree, it’s wonderful for writing compilers in as well https://github.com/elixir-dbvisor/sql I would go so far as to say superior to a lot of other languages that do not have advanced pattern matching.
-
Show HN: SQL-tString a t-string SQL builder in Python
Just took a quick look, and it seams like the parser is hand written which is great, but you probably want to build a lexer and parser based on the BNF grammar take a look at how I do it here https://github.com/elixir-dbvisor/sql/tree/main/lib and do conformance testing with https://github.com/elliotchance/sqltest
-
The Beam
One thing that is great about Erlang’s pattern matching is that it makes it extremely approachable for writing, lexer, parser and compilers in it: https://github.com/elixir-dbvisor/sql and with Elixir macros and sigils then you can embed other languages like sql and zig to name a few!
-
Membrane, Media Framework for Elixir
mnesia is great, and you can get very far before you would make the jump to anything else. And it can be way faster then any other database. For obvious reasons.
Although it would be great if it spoke SQL, maybe one day it will: https://github.com/elixir-dbvisor/sql since we can already pass it and get the AST.
- Fast, extensible and composable SQL sigils in Elixir
Sequelize
-
JavaScript Awesome Package
Sequelize - promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server
-
Implementing Transactional Tests with MySQL
Sequelize
-
10 Performance Tips for Scaling Your Node.js API
Sequelize also lets you fine-tune queries, includes hooks, and can help mitigate N+1s.
-
ORMs Are Annoying! Until You Try Living Without One
Then I was introduced to Hibernate ORM in Java. Later, Sequelize ORM in Node.js. And eventually, Mongoose ODM with MongoDB. Suddenly, everything was an object, everything had a schema, and everything required a model definition.
-
How To Secure APIs from SQL Injection Vulnerabilities
Object-Relational Mapping frameworks like Hibernate (Java), SQLAlchemy (Python), and Sequelize (Node.js) typically use parameterized queries by default and abstract direct SQL interaction. These frameworks help eliminate common developer errors that might otherwise introduce vulnerabilities.
-
Sequelize vs. TypeORM: Choosing the Right ORM for Your Node.js Project
Sequelize GitHub Repository: https://github.com/sequelize/sequelize
-
Generate an OpenAPI From Your Database
I was surprised to find that there was no standalone tool that generated an OpenAPI spec directly from a database schema - so I decided to create one. DB2OpenAPI is an Open Source CLI that converts your SQL database into an OpenAPI document, with CRUD routes, descriptions, and JSON schema responses that match your tables' columns. It's built using the Sequelize ORM, which supports:
-
3 Best Next.js ORM
3. Sequelize
-
Secure Coding - Prevention Over Correction.
For example, in 2019, it was found that the popular Javascript ORM Sequelize was vulnerable to SQL injection attacks.
-
Good Practices Using Node.js + Sequelize with TypeScript
Integrating Node.js, Sequelize, and TypeScript allows you to build scalable and maintainable backend applications. By following these best practices, such as setting up your project correctly, defining models with type safety, creating typed Express routes, and implementing proper error handling, you can enhance your development workflow and produce higher-quality code. Remember to keep your dependencies up-to-date and explore Sequelize's advanced features for even more efficient database operations.
What are some alternatives?
sql_kit - Execute raw SQL in strings or .sql files with Ecto, get maps and structs back.
TypeORM - TypeScript & JavaScript ORM for Node.js — supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oracle, and more.
sqlglot - Python SQL Parser and Transpiler
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
sql-tstring - SQL-tString allows for f-string like construction of sql queries
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB