Struct sea_query::backend::PostgresQueryBuilder [−][src]
Postgres query builder.
Implementations
impl PostgresQueryBuilder
[src]
Trait Implementations
impl Default for PostgresQueryBuilder
[src]
impl ForeignKeyBuilder for PostgresQueryBuilder
[src]
fn prepare_foreign_key_create_statement(
&self,
create: &ForeignKeyCreateStatement,
sql: &mut SqlWriter
)
[src]
&self,
create: &ForeignKeyCreateStatement,
sql: &mut SqlWriter
)
fn prepare_foreign_key_action(
&self,
foreign_key_action: &ForeignKeyAction,
sql: &mut SqlWriter
)
[src]
&self,
foreign_key_action: &ForeignKeyAction,
sql: &mut SqlWriter
)
fn prepare_foreign_key_drop_statement(
&self,
drop: &ForeignKeyDropStatement,
sql: &mut SqlWriter
)
[src]
&self,
drop: &ForeignKeyDropStatement,
sql: &mut SqlWriter
)
impl GenericBuilder for PostgresQueryBuilder
[src]
fn query_builder(&self) -> Box<dyn QueryBuilder>
[src]
fn table_builder(&self) -> Box<dyn TableBuilder>
[src]
fn index_builder(&self) -> Box<dyn IndexBuilder>
[src]
fn foreign_key_builder(&self) -> Box<dyn ForeignKeyBuilder>
[src]
impl IndexBuilder for PostgresQueryBuilder
[src]
fn prepare_index_create_statement(
&self,
create: &IndexCreateStatement,
sql: &mut SqlWriter
)
[src]
&self,
create: &IndexCreateStatement,
sql: &mut SqlWriter
)
fn prepare_index_drop_statement(
&self,
drop: &IndexDropStatement,
sql: &mut SqlWriter
)
[src]
&self,
drop: &IndexDropStatement,
sql: &mut SqlWriter
)
impl QueryBuilder for PostgresQueryBuilder
[src]
fn prepare_insert_statement(
&self,
insert: &InsertStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
insert: &InsertStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_select_statement(
&self,
select: &SelectStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
select: &SelectStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_update_statement(
&self,
update: &UpdateStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
update: &UpdateStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_delete_statement(
&self,
delete: &DeleteStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
delete: &DeleteStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_simple_expr(
&self,
simple_expr: &SimpleExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
simple_expr: &SimpleExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_select_distinct(
&self,
select_distinct: &SelectDistinct,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
[src]
&self,
select_distinct: &SelectDistinct,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
fn prepare_select_expr(
&self,
select_expr: &SelectExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
select_expr: &SelectExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_join_expr(
&self,
join_expr: &JoinExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
join_expr: &JoinExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_table_ref(
&self,
table_ref: &TableRef,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
table_ref: &TableRef,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_un_oper(
&self,
un_oper: &UnOper,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
[src]
&self,
un_oper: &UnOper,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
fn prepare_bin_oper(
&self,
bin_oper: &BinOper,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
[src]
&self,
bin_oper: &BinOper,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
fn prepare_logical_chain_oper(
&self,
log_chain_oper: &LogicalChainOper,
i: usize,
length: usize,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
log_chain_oper: &LogicalChainOper,
i: usize,
length: usize,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_function(
&self,
function: &Function,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
[src]
&self,
function: &Function,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
fn prepare_join_type(
&self,
join_type: &JoinType,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
[src]
&self,
join_type: &JoinType,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
fn prepare_order_expr(
&self,
order_expr: &OrderExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
order_expr: &OrderExpr,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_join_on(
&self,
join_on: &JoinOn,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
join_on: &JoinOn,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_order(
&self,
order: &Order,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
[src]
&self,
order: &Order,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
fn prepare_value(
&self,
value: &Value,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
value: &Value,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn value_to_string(&self, v: &Value) -> String
[src]
impl TableBuilder for PostgresQueryBuilder
[src]
fn prepare_table_create_statement(
&self,
create: &TableCreateStatement,
sql: &mut SqlWriter
)
[src]
&self,
create: &TableCreateStatement,
sql: &mut SqlWriter
)
fn prepare_column_def(&self, column_def: &ColumnDef, sql: &mut SqlWriter)
[src]
fn prepare_column_type(&self, column_type: &ColumnType, sql: &mut SqlWriter)
[src]
fn prepare_column_spec(&self, column_spec: &ColumnSpec, sql: &mut SqlWriter)
[src]
fn prepare_table_opt(&self, table_opt: &TableOpt, sql: &mut SqlWriter)
[src]
fn prepare_table_partition(
&self,
_table_partition: &TablePartition,
_sql: &mut SqlWriter
)
[src]
&self,
_table_partition: &TablePartition,
_sql: &mut SqlWriter
)
fn prepare_table_drop_statement(
&self,
drop: &TableDropStatement,
sql: &mut SqlWriter
)
[src]
&self,
drop: &TableDropStatement,
sql: &mut SqlWriter
)
fn prepare_table_drop_opt(&self, drop_opt: &TableDropOpt, sql: &mut SqlWriter)
[src]
fn prepare_table_truncate_statement(
&self,
truncate: &TableTruncateStatement,
sql: &mut SqlWriter
)
[src]
&self,
truncate: &TableTruncateStatement,
sql: &mut SqlWriter
)
fn prepare_table_alter_statement(
&self,
alter: &TableAlterStatement,
sql: &mut SqlWriter
)
[src]
&self,
alter: &TableAlterStatement,
sql: &mut SqlWriter
)
fn prepare_table_rename_statement(
&self,
rename: &TableRenameStatement,
sql: &mut SqlWriter
)
[src]
&self,
rename: &TableRenameStatement,
sql: &mut SqlWriter
)
impl TypeBuilder for PostgresQueryBuilder
[src]
fn prepare_type_create_statement(
&self,
create: &TypeCreateStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
[src]
&self,
create: &TypeCreateStatement,
sql: &mut SqlWriter,
collector: &mut dyn FnMut(Value)
)
fn prepare_type_drop_statement(
&self,
drop: &TypeDropStatement,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
[src]
&self,
drop: &TypeDropStatement,
sql: &mut SqlWriter,
_collector: &mut dyn FnMut(Value)
)
Auto Trait Implementations
impl RefUnwindSafe for PostgresQueryBuilder
impl Send for PostgresQueryBuilder
impl Sync for PostgresQueryBuilder
impl Unpin for PostgresQueryBuilder
impl UnwindSafe for PostgresQueryBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,