[−][src]Struct quaint::connector::PostgreSql
A connector interface for the PostgreSQL database.
Methods
impl PostgreSql
[src]
pub async fn new(url: PostgresUrl) -> Result<Self>
[src]
Create a new connection to the database.
Trait Implementations
impl Debug for PostgreSql
[src]
impl Queryable for PostgreSql
[src]
ⓘImportant traits for DBIO<'a, T>fn execute<'a>(&'a self, q: Query<'a>) -> DBIO<'a, Option<Id>>
[src]
ⓘImportant traits for DBIO<'a, T>
ⓘImportant traits for DBIO<'a, T>fn query<'a>(&'a self, q: Query<'a>) -> DBIO<'a, ResultSet>
[src]
ⓘImportant traits for DBIO<'a, T>
ⓘImportant traits for DBIO<'a, T>fn query_raw<'a>(
&'a self,
sql: &'a str,
params: &'a [ParameterizedValue]
) -> DBIO<'a, ResultSet>
[src]
ⓘImportant traits for DBIO<'a, T>
&'a self,
sql: &'a str,
params: &'a [ParameterizedValue]
) -> DBIO<'a, ResultSet>
ⓘImportant traits for DBIO<'a, T>fn execute_raw<'a>(
&'a self,
sql: &'a str,
params: &'a [ParameterizedValue]
) -> DBIO<'a, u64>
[src]
ⓘImportant traits for DBIO<'a, T>
&'a self,
sql: &'a str,
params: &'a [ParameterizedValue]
) -> DBIO<'a, u64>
ⓘImportant traits for DBIO<'a, T>fn raw_cmd<'a>(&'a self, cmd: &'a str) -> DBIO<'a, ()>
[src]
ⓘImportant traits for DBIO<'a, T>
ⓘImportant traits for DBIO<'a, T>fn select<'a>(&'a self, q: Select<'a>) -> DBIO<'a, ResultSet>
[src]
ⓘImportant traits for DBIO<'a, T>
ⓘImportant traits for DBIO<'a, T>fn insert<'a>(&'a self, q: Insert<'a>) -> DBIO<'a, Option<Id>>
[src]
ⓘImportant traits for DBIO<'a, T>
ⓘImportant traits for DBIO<'a, T>fn update<'a>(&'a self, q: Update<'a>) -> DBIO<'a, ()>
[src]
ⓘImportant traits for DBIO<'a, T>
ⓘImportant traits for DBIO<'a, T>fn delete<'a>(&'a self, q: Delete<'a>) -> DBIO<'a, ()>
[src]
ⓘImportant traits for DBIO<'a, T>
impl TransactionCapable for PostgreSql
[src]
ⓘImportant traits for DBIO<'a, T>fn start_transaction(&self) -> DBIO<Transaction>
[src]
ⓘImportant traits for DBIO<'a, T>
Auto Trait Implementations
impl !RefUnwindSafe for PostgreSql
impl Send for PostgreSql
impl Sync for PostgreSql
impl Unpin for PostgreSql
impl !UnwindSafe for PostgreSql
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,
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> Same<T> for T
type Output = T
Should always be Self
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,