summaryrefslogtreecommitdiffstats
path: root/src/commands/db.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/db.rs')
-rw-r--r--src/commands/db.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands/db.rs b/src/commands/db.rs
index bf4337c..e984848 100644
--- a/src/commands/db.rs
+++ b/src/commands/db.rs
@@ -720,6 +720,10 @@ fn releases(conn_cfg: DbConnectionConfig<'_>, config: &Configuration, matches: &
query = query.filter(schema::release_stores::dsl::store_name.eq(store));
}
+ if let Some(pkg) = matches.value_of("package") {
+ query = query.filter(schema::packages::dsl::name.eq(pkg));
+ }
+
let data = query
.select({
let art = schema::artifacts::all_columns;