clarify that query strings are for bind points only.
generated query strings from this macro are not executed directly, merely used as a query to which actual parameter values are bound.
This commit is contained in:
parent
96f3081f9a
commit
e7fce22bd1
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ impl RecordDerive {
|
|||
}
|
||||
}
|
||||
|
||||
// generates the record c/r/u/d query strings.
|
||||
/// generates the record c/r/u/d query strings.
|
||||
/// these are generated as queries into which parameters are bound.
|
||||
/// the query strings themselves are not executed directly.
|
||||
pub fn gen_withqueries_impl(&self) -> proc_macro2::TokenStream {
|
||||
let ident = &self.ident;
|
||||
let table_name = self.table_name();
|
||||
|
|
Loading…
Reference in a new issue