MCPcopy Create free account
hub / github.com/emwalker/digraph / AccountInfo

Class AccountInfo

backend/src/psql/user.rs:183–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181 pub async fn call(&self, pool: &PgPool) -> Result<FetchAccountInfoResult> {
182 #[derive(sqlx::FromRow, Clone, Debug)]
183 struct AccountInfo {
184 pub personal_prefixes: Vec<String>,
185 }
186
187 let row = sqlx::query_as::<_, AccountInfo>(
188 "select personal_prefixes from users where id = $1::uuid",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected