@bjorkhaug/ssql
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

ssql

ssql is a simple template literal wrapper for SQL queries for Deno and Node.js.
It is meant to be used with a library, not directly for any driver.

Usage


import { sql } from '@bjorkhaug/ssql'

const [query, params] = sql`SELECT * FROM Users WHERE id = ${1}`

Readme

Keywords

none

Package Sidebar

Install

npm i @bjorkhaug/ssql

Weekly Downloads

5

Version

0.0.4

License

MIT

Unpacked Size

6.25 kB

Total Files

16

Last publish

Collaborators

  • simenbjorkhaug