diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-04-13 23:38:12 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-04-19 19:39:55 +0300 |
commit | f2f08e0758243a820fe47128ffabaa474c0e86e7 (patch) | |
tree | 45563c74dbbf7a0f546443b469a23541c9ac9b00 /bpkg/package.hxx | |
parent | e958b63712f9a0ff4b523765d2fe12b58aa97fe0 (diff) |
Implement git repository handling transition (phase 0)
Diffstat (limited to 'bpkg/package.hxx')
-rw-r--r-- | bpkg/package.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index f0bb6fd..5b0db8c 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -935,7 +935,7 @@ namespace bpkg // Return a list of packages available from this repository. // - #pragma db view object(repository) \ + #pragma db view object(repository) query(distinct) \ table("available_package_locations" = "pl" inner: \ "pl.repository = " + repository::name) \ object(available_package = package inner: \ @@ -956,7 +956,7 @@ namespace bpkg // Return a list of repositories the packages come from. // - #pragma db view object(repository) \ + #pragma db view object(repository) query(distinct) \ table("available_package_locations" = "pl" inner: \ "pl.repository = " + repository::name) \ object(available_package = package inner: \ |