aboutsummaryrefslogtreecommitdiff
path: root/bpkg/database.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-08-13 15:48:25 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-13 17:23:50 +0300
commit97f312a1b536c92440b04ec3dd743fc2802ab150 (patch)
treec232649f6bfb1f566032ad5c5e6e185b3df7d100 /bpkg/database.hxx
parentd1fa0047be1db658b165514dc429ce494517b39c (diff)
Optimize query_dependents() using prepared queries
Diffstat (limited to 'bpkg/database.hxx')
-rw-r--r--bpkg/database.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/bpkg/database.hxx b/bpkg/database.hxx
index 1961272..c7f059d 100644
--- a/bpkg/database.hxx
+++ b/bpkg/database.hxx
@@ -21,6 +21,7 @@
namespace bpkg
{
using odb::query;
+ using odb::prepared_query;
using odb::result;
using odb::session;