Skip to main content

ToSqlString

Trait ToSqlString 

Source
pub trait ToSqlString {
    // Required method
    fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String;
}
Expand description

Trait to convert an ast to a string

Required Methods§

Source

fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String

Convert the given value to String

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: ToSqlString> ToSqlString for Box<T>

Source§

fn to_sql_string<C: ToSqlContext>(&self, context: &C) -> String

Implementors§

Source§

impl ToSqlString for AlterTableBody

Source§

impl ToSqlString for ColumnConstraint

Source§

impl ToSqlString for ColumnDefinition

Source§

impl ToSqlString for CommonTableExpr

Source§

impl ToSqlString for CreateTableBody

Source§

impl ToSqlString for CreateTrigger

Source§

impl ToSqlString for CreateVirtualTable

Source§

impl ToSqlString for Delete

Source§

impl ToSqlString for Expr

Source§

impl ToSqlString for FrameBound

Source§

impl ToSqlString for FrameClause

Source§

impl ToSqlString for FromClause

Source§

impl ToSqlString for GroupBy

Source§

impl ToSqlString for Insert

Source§

impl ToSqlString for InsertBody

Source§

impl ToSqlString for JoinConstraint

Source§

impl ToSqlString for Limit

Source§

impl ToSqlString for NamedColumnConstraint

Source§

impl ToSqlString for NamedTableConstraint

Source§

impl ToSqlString for OneSelect

Source§

impl ToSqlString for Over

Source§

impl ToSqlString for QualifiedName

Source§

impl ToSqlString for ResultColumn

Source§

impl ToSqlString for Select

Source§

impl ToSqlString for SelectBody

Source§

impl ToSqlString for SelectInner

Source§

impl ToSqlString for SelectTable

Source§

impl ToSqlString for Set

Source§

impl ToSqlString for SortedColumn

Source§

impl ToSqlString for Stmt

Source§

impl ToSqlString for TableConstraint

Source§

impl ToSqlString for TriggerCmd

Source§

impl ToSqlString for TriggerCmdDelete

Source§

impl ToSqlString for TriggerCmdInsert

Source§

impl ToSqlString for TriggerCmdUpdate

Source§

impl ToSqlString for Type

Source§

impl ToSqlString for TypeSize

Source§

impl ToSqlString for Update

Source§

impl ToSqlString for Upsert

Source§

impl ToSqlString for UpsertDo

Source§

impl ToSqlString for UpsertIndex

Source§

impl ToSqlString for Window

Source§

impl ToSqlString for WindowDef

Source§

impl ToSqlString for With