Closed wilzbach closed 7 years ago
Currently executeQuery (or executeRow, executeNonQuery or executeScalar) create a temporaryPGCommand`:
executeQuery
executeRow
executeNonQuery
executeScalar) create a temporary
PGResultSet!Specs executeQuery(Specs...)(string query) { scope cmd = FreeListRef!PGCommand(this, query); return cmd.executeQuery!Specs(); }
which itself calls:
PGResultSet!Specs executeQuery(Specs...)() { checkPrepared(true); checkBound(); return conn.executeQuery!Specs(preparedName, _fields); }
Maybe it might make sense to avoid creating a prepared statement at all?
resolved with: f36e3903047c28176cec57ce4bc5eb3020f6bdba
Currently
executeQuery
(orexecuteRow
,executeNonQuery
orexecuteScalar) create a temporary
PGCommand`:which itself calls:
Maybe it might make sense to avoid creating a prepared statement at all?