(key: string, value: string)
| 36 | }); |
| 37 | |
| 38 | async function insertMetadata(key: string, value: string) { |
| 39 | await pool.query(`INSERT INTO subquery_1._metadata( |
| 40 | key, value, "createdAt", "updatedAt") |
| 41 | VALUES ('${key}', '${value}', '2021-11-07 07:02:31.768+00', '2021-11-07 07:02:31.768+00');`); |
| 42 | } |
| 43 | |
| 44 | async function createApolloServer() { |
| 45 | const builder = await getPostGraphileBuilder(pool, [dbSchema], { |