pub struct Queries {Show 23 fields
pub id_field_name: String,
pub version_field_name: String,
pub create_epoch_millis_field_name: String,
pub update_epoch_millis_field_name: String,
pub data_field_name: String,
pub table_name: String,
pub schema_name: Option<String>,
pub qualified_table_name: String,
pub count_all_sql_query: String,
pub exists_by_id_sql_query: String,
pub find_base_sql_query: String,
pub find_all_sql_query: String,
pub find_by_id_sql_query: String,
pub delete_sql_query: String,
pub delete_all_sql_query: String,
pub delete_by_id_sql_query: String,
pub save_sql_query: String,
pub save_sql_query_with_id: String,
pub update_sql_query: String,
pub create_table_sql_query: String,
pub drop_table_sql_query: String,
pub drop_table_sql_query_cascade: String,
pub lock_table_sql_query: Option<String>,
}Expand description
Contains all the SQL queries for a JSON table. This is used to generate the SQL queries for the table for a specific database.
Fields§
§id_field_name: String§version_field_name: String§create_epoch_millis_field_name: String§update_epoch_millis_field_name: String§data_field_name: String§table_name: String§schema_name: Option<String>§qualified_table_name: String§count_all_sql_query: String§exists_by_id_sql_query: String§find_base_sql_query: String§find_all_sql_query: String§find_by_id_sql_query: String§delete_sql_query: String§delete_all_sql_query: String§delete_by_id_sql_query: String§save_sql_query: String§save_sql_query_with_id: String§update_sql_query: String§create_table_sql_query: String§drop_table_sql_query: String§drop_table_sql_query_cascade: String§lock_table_sql_query: Option<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Queries
impl RefUnwindSafe for Queries
impl Send for Queries
impl Sync for Queries
impl Unpin for Queries
impl UnsafeUnpin for Queries
impl UnwindSafe for Queries
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more