Skip to content

Commit 3af0251

Browse files
committed
Expose parsers
1 parent 89cd673 commit 3af0251

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tinypg",
3-
"version": "2.0.0-alpha.11",
3+
"version": "2.0.0-alpha.12",
44
"description": "Easy way to call sql files using postgres.",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",

src/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ export
1111
, TinyPgError
1212
, QueryBeginContext
1313
, QueryCompleteContext
14+
, SqlParseResult
15+
, SqlFile
1416
} from './types'
1517

18+
export
19+
{ parseSql
20+
, parseFiles
21+
} from './parser'
22+
1623
export default TinyPg
1724

0 commit comments

Comments
 (0)