Trait luna_orm_trait::Location
source · pub trait Location: Sync {
// Required methods
fn get_table_name(&self) -> &'static str;
fn any_arguments(&self) -> AnyArguments<'_>;
fn get_fields_name(&self) -> Vec<String>;
fn get_where_clause(&self, wrap_char: char, place_holder: char) -> String;
fn check_valid_order_by(&self, fields: &[&str]) -> bool;
}