Trait pg_worm::query::PushChunk

source ·
pub trait PushChunk<'a> {
    // Required method
    fn push_to_buffer<T>(&mut self, buffer: &mut Query<'a, T>);
}
Expand description

A trait implemented by everything that goes inside a query.

Required Methods§

source

fn push_to_buffer<T>(&mut self, buffer: &mut Query<'a, T>)

Pushes the containing string and the params to the provided buffer.

Implementors§

source§

impl<'a> PushChunk<'a> for Where<'a>

source§

impl<'a> PushChunk<'a> for Delete<'a>

source§

impl<'a> PushChunk<'a> for SqlChunk<'a>

source§

impl<'a> PushChunk<'a> for Update<'a, SomeSet>

source§

impl<'a, T> PushChunk<'a> for Select<'a, T>