{"library":"edge-sql","type":"library","category":null,"description":"Edge-sql is an ADO.NET-based SQL compiler for Edge.js, enabling Node.js applications to access MS SQL, MySQL, and PostgreSQL databases via C#/CLR. As of v1.0.6, it supports .NET 4.6.2 (except PostgreSQL) and .NET Core/netstandard2.0, with optional environment variable or runtime connection strings. It automatically interprets SQL statement types (SELECT as data reader, UPDATE as non-query) and returns multiple result sets. Unlike pure JavaScript drivers, it bridges Node.js and .NET for scenarios where ADO.NET is preferred.","language":"javascript","status":"active","version":"1.0.6","tags":["javascript","edge","edgejs","edge.js","edge-js","net","clr","c#","managed"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install edge-sql","imports":["const edge = require('edge-js'); const getUsers = edge.func('sql', function () {/* ... */});","process.env.EDGE_SQL_CONNECTION_STRING = 'Data Source=...';","edge.func({ connectionString: '...', source: function () {/* SQL */}, db: 'MsSql' });"]},{"cmd":"yarn add edge-sql","imports":[]},{"cmd":"pnpm add edge-sql","imports":[]}],"homepage":"https://github.com/agracio/edge-sql","github":"ssh://git@github.com/agracio/edge-sql","docs":null,"changelog":null,"pypi":null,"npm":"edge-sql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}