use sqlx::{Pool, Postgres};
use super::super::service::{SchemaRelationRecord, fetch_relations};
pub(in super::super) async fn load_schema_table_rows(
pool: &Pool<Postgres>,
) -> Result<Vec<SchemaRelationRecord>, sqlx::Error> {
fetch_relations(pool, None, true).await
}