main
|
Last change
on this file since 6c7cfa6 was 62b2964, checked in by Klimentina Efremova <klimentina08642@…>, 2 weeks ago |
|
Project Handcraft Marketplace
|
-
Property mode
set to
100644
|
|
File size:
579 bytes
|
| Line | |
|---|
| 1 | // ESM wrapper for pg
|
|---|
| 2 | import pg from '../lib/index.js'
|
|---|
| 3 |
|
|---|
| 4 | // Re-export all the properties
|
|---|
| 5 | export const Client = pg.Client
|
|---|
| 6 | export const Pool = pg.Pool
|
|---|
| 7 | export const Connection = pg.Connection
|
|---|
| 8 | export const types = pg.types
|
|---|
| 9 | export const Query = pg.Query
|
|---|
| 10 | export const DatabaseError = pg.DatabaseError
|
|---|
| 11 | export const escapeIdentifier = pg.escapeIdentifier
|
|---|
| 12 | export const escapeLiteral = pg.escapeLiteral
|
|---|
| 13 | export const Result = pg.Result
|
|---|
| 14 | export const TypeOverrides = pg.TypeOverrides
|
|---|
| 15 |
|
|---|
| 16 | // Also export the defaults
|
|---|
| 17 | export const defaults = pg.defaults
|
|---|
| 18 |
|
|---|
| 19 | // Re-export the default
|
|---|
| 20 | export default pg
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.