Struct diesel::pg::PgQueryBuilder

source ·
pub struct PgQueryBuilder { /* private fields */ }
Available on crate feature postgres_backend only.
Expand description

The PostgreSQL query builder

Implementations§

Constructs a new query builder with an empty query

Trait Implementations§

Returns the “default value” for a type. Read more
Add sql to the end of the query being constructed.
Quote identifier, and add it to the end of the query being constructed.
Add a placeholder for a bind parameter to the end of the query being constructed.
Increases the internal counter for bind parameters without adding the bind parameter itself to the query
Returns the constructed SQL query.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert self to an expression for Diesel’s query builder. Read more
Convert &self to an expression for Diesel’s query builder. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.