pub fn query_first_row<P: Params>(
conn: &Connection,
sql: &str,
params: P,
) -> KnowledgeResult<RowData>Expand description
Query first row and map columns into RowData with column names preserved.
pub fn query_first_row<P: Params>(
conn: &Connection,
sql: &str,
params: P,
) -> KnowledgeResult<RowData>Query first row and map columns into RowData with column names preserved.