Struct good_ormning::pg::Query
source · pub struct Query {
pub name: String,
pub body: Box<dyn QueryBody>,
pub res_count: QueryResCount,
pub res_name: Option<String>,
}Expand description
This represents an SQL query. A function will be generated which accepts a db
connection and query parameters, and returns the query results. Call the
new_* functions to get a builder.
Fields§
§name: String§body: Box<dyn QueryBody>§res_count: QueryResCount§res_name: Option<String>