aboutsummaryrefslogtreecommitdiff
path: root/query.go
diff options
context:
space:
mode:
Diffstat (limited to 'query.go')
-rw-r--r--query.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/query.go b/query.go
index eea1771..79b7abd 100644
--- a/query.go
+++ b/query.go
@@ -31,7 +31,7 @@ func prepare(ctx context.Context, db Handle, query, operation string, inputSize
return nil, fmt.Errorf("cannot execute %s() because query could not be autogenerated", operation)
}
- return db.Prepare(ctx, query, inputSize >= PrepareThreshold)
+ return db.OblastPrepare(ctx, query, inputSize >= PrepareThreshold)
}
// Insert executes an SQL INSERT statement for each of the provided records.