split-postgres-sql
v1.1.0
Published
split postgres sql queries
Downloads
7
Readme
split-postgres-sql
split postgres sql queries
Install
npm install split-postgres-sql
Usage
import splitPgSql from "split-postgres-sql";
const sqls = splitPgSql("select 1;select 2;");
// then sqls will be:
// [
// 'select 1;',
// 'select 2;'
// ]