Trait implemented by all query builder types. Use `impl Query ` as a return type for view functions and helpers.
| 12 | /// Trait implemented by all query builder types. Use `impl Query<T>` as a |
| 13 | /// return type for view functions and helpers. |
| 14 | pub trait Query<T> { |
| 15 | fn into_sql(self) -> String; |
| 16 | } |
| 17 | |
| 18 | /// The concrete SQL query produced by calling `.build()` on a builder. |
| 19 | pub struct RawQuery<T> { |