We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e5aff9 commit 25a3f0dCopy full SHA for 25a3f0d
package/src/operations/execute.ts
@@ -17,10 +17,14 @@ export function execute<Row extends QueryResultRow = never>(
17
query: string,
18
params?: SQLiteQueryParams
19
): QueryResult<Row> {
20
+ const transformedParams = isSimpleNullHandlingEnabled()
21
+ ? toNativeQueryParams(params)
22
+ : (params as NativeSQLiteQueryParams)
23
+
24
const nativeResult = HybridNitroSQLite.execute(
25
dbName,
26
query,
- toNativeQueryParams(params)
27
+ transformedParams
28
)
29
const result = buildJsQueryResult<Row>(nativeResult)
30
return result
0 commit comments