node-mssql
Objection.js
Our great sponsors
node-mssql | Objection.js | |
---|---|---|
14 | 23 | |
2,209 | 7,200 | |
0.7% | 0.3% | |
8.2 | 8.5 | |
9 days ago | 17 days ago | |
JavaScript | JavaScript | |
MIT License | 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.
node-mssql
-
Ask HN: Are you using MSSQL at work, is it popular?
Not that often. They're more likely to be c#/java/native places. But there's no barrier really: https://www.npmjs.com/package/mssql
-
Anybody using Node with Microsoft SQL server? What's your experience been like?
https://www.npmjs.com/package/mssql works like a charm. I have a lambda-based API that uses that library and does about 50k lookups per day with a 0% failure rate.
-
How does the backend stack work with NodeJS and SQL?
See this package for mssql example https://www.npmjs.com/package/mssql
-
Understanding Connection Pools with Node MSSQL
I have an internal site that I develop that's a node.js server with express, reading from a SQL database. Currently using the mssql package to interact with the db. At different routes within the app, the route handlers read from the database and work their magic and render html. Super basic, there.
-
Node.js vs Python Flask
Here's a link to a package that allows you to connect Node with MSSQL: https://tediousjs.github.io/node-mssql/
-
Need some guidance - Web browser based apps with MS SQL
What you can do is use Node.js along with the mssql library to build your site. You can either use templates and render pages on the server, or you can build out an API and write your browser client in a framework like React or Angular.
- Installing from NPM on Existing Project
- Imperative Thinking and the Making of Sandwiches
-
Best pure-node migration library that's pure SQL and supports multiple db's?
Microsoft SQL Server https://www.npmjs.com/package/mssql
-
SQL SERVER POOL
I am developing an API using nodeJS and Typescript. I was looking for documentation/tutorials (like mssql - npm (npmjs.com) ) to implement a sql server pool with the sql server I have, but there´s a lot of ways to do it and it doesn´t works for me and does not used pool connection, only directly queries, so I will be so glad with you if you can help me. I've been stuck in this 2 days.
Objection.js
-
Top 6 ORMs for Modern Node.js App Development
Objection.js is a SQL-friendly ORM for Node.js that supports various relational databases, including PostgreSQL, MySQL, and SQLite. It provides a flexible and expressive query builder. Objection.js is known for its expressive syntax, allowing developers to build complex queries easily. It supports eager loading, transactions, and migrations.
-
Best ORM library?
I don't think there's a best per say, but we did recently use Objection on our project. Did the job well, only issue is there's no constructor for the DB Models but it's just something you work around (https://vincit.github.io/objection.js/)
- Is objection.js actually being sunset?
-
Simple postgres 'ORM' for node project?
If you aren't using TypeScript I'd very much recommend Objection.js, I've used it multiple times and no complaints so far. You can pass raw SQL queries to it as well so I'm sure it would be a good fit for your project!
- Which ORM are you using with Node?
-
Migrating from Sequelize to Knex + Objection
I'd also like to point out objection js is no longer actively maintained. I'm going to switch my work's codebase from it eventually because of it.
- Well, shit. Objection.js has been sunset, which ORM/querybuilder did you move to?
-
Is it best practice to use classes with extends?
You should look into Objection.js. IMHO using that will make your life much easier as it seems you are trying to reimplement it's features in this sample code.
- Objection.js ORM Needs a New Maintainer
-
Exploring the repository pattern with TypeScript and Node
Next, let’s set up the database for our newly created Nest application. I’ll be using PostgreSQL, but you can use any of the databases Knex supports. To interact with our database, we’ll be using Objection.js, which is an ORM for Node.js built on top Knex. For this tutorial, we’ll be using Nest Objection, a Nest module for Objection.
What are some alternatives?
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Sequelize - Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL, MariaDB, SQLite, MS SQL Server, Snowflake, Oracle DB (v6), DB2 and DB2 for IBM i.
Mongoose - MongoDB object modeling designed to work in an asynchronous environment.
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
MikroORM - TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, MariaDB, MS SQL Server, PostgreSQL and SQLite/libSQL databases.
Bookshelf - A simple Node.js ORM for PostgreSQL, MySQL and SQLite3 built on top of Knex.js
MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.
SheetJS js-xlsx - 📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs