add metadata query funs

This commit is contained in:
Patrick Schratz 2024-07-25 00:28:09 +02:00
commit a4500684bb
Signed by: pat-s
GPG key ID: 3C6318841EF78925
2 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,11 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metadata-query.R
\name{list_metadata_tables}
\alias{list_metadata_tables}
\title{List existing database tables}
\usage{
list_metadata_tables()
}
\description{
List existing database tables
}

View file

@ -0,0 +1,14 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/metadata-query.R
\name{query_metadata_table}
\alias{query_metadata_table}
\title{Query a specific table in the Postgres database containing the metadata}
\usage{
query_metadata_table(table = "single_builds")
}
\arguments{
\item{table}{Table name. See \code{\link[=list_metadata_tables]{list_metadata_tables()}} for valid tables.}
}
\description{
Query a specific table in the Postgres database containing the metadata
}