Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
chientrm committed Aug 28, 2023
1 parent 773ac8a commit 5b7a078
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proxies/d1_database/proxy_holder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ class D1DatabaseProxyHolder extends ProxyHolder<{}> implements D1Database {
throw new Error('Method not implemented.');
}
batch<T = unknown>(
_statements: D1DatabasePreparedStatementProxy[]
statements: D1DatabasePreparedStatementProxy[]
): Promise<D1Result<T>[]> {
const { host, name } = this,
metadata = _statements.map((statement) => statement.metadata),
metadata = statements.map((statement) => statement.metadata),
proxy = new D1DatabaseBatchProxy({ host, name, metadata });
return proxy.post();
}
Expand Down

0 comments on commit 5b7a078

Please sign in to comment.