diff options
author | 2024-08-08 05:12:50 -0500 | |
---|---|---|
committer | 2024-08-08 12:12:50 +0200 | |
commit | 72c7ae9901de927ae8d9d5be63cbaef4f976422c (patch) | |
tree | 6e41a6b07ad8830375ba7b0e4d924fd9449dc7ef /packages/db/src/runtime/db-client.ts | |
parent | 85de47cd982fd13c6286bcc0be384a220996ccbd (diff) | |
download | astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.gz astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.tar.zst astro-72c7ae9901de927ae8d9d5be63cbaef4f976422c.zip |
update formatter config (#11640)
* update formatter config
* format
---------
Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Diffstat (limited to 'packages/db/src/runtime/db-client.ts')
-rw-r--r-- | packages/db/src/runtime/db-client.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/db/src/runtime/db-client.ts b/packages/db/src/runtime/db-client.ts index a43bb4d78..55c1dd087 100644 --- a/packages/db/src/runtime/db-client.ts +++ b/packages/db/src/runtime/db-client.ts @@ -12,7 +12,7 @@ function applyTransactionNotSupported(db: SqliteRemoteDatabase) { Object.assign(db, { transaction() { throw new Error( - '`db.transaction()` is not currently supported. We recommend `db.batch()` for automatic error rollbacks across multiple queries.' + '`db.transaction()` is not currently supported. We recommend `db.batch()` for automatic error rollbacks across multiple queries.', ); }, }); @@ -57,7 +57,7 @@ export function createRemoteDatabaseClient(appToken: string, remoteDbURL: string }, async (response) => { throw await parseRemoteError(response); - } + }, ); let remoteResult: z.infer<typeof remoteResultSchema>; @@ -118,7 +118,7 @@ export function createRemoteDatabaseClient(appToken: string, remoteDbURL: string }, async (response) => { throw await parseRemoteError(response); - } + }, ); let remoteResults: z.infer<typeof remoteResultSchema>[]; @@ -154,7 +154,7 @@ export function createRemoteDatabaseClient(appToken: string, remoteDbURL: string results.push({ rows: rowValues }); } return results; - } + }, ); applyTransactionNotSupported(db); return db; |