fn insert_all<'a>(
        &'a self,
        conn: &PgConnection,
    ) -> Result<Vec<Self::Return>, diesel::result::Error>
    where
        &'a Self: Insertable<Self::Table>,
        InsertStatement<Self::Table, <&'a Self as Insertable<Self::Table>>::Values>:
            RunQueryDsl<PgConnection> + LoadQuery<PgConnection, Self::Return>,
    {
        diesel::insert_into(Self::Table::table())
            .values(self)
            .get_results(conn)
    }
/// Insert all values into the table.
Insert all values into the table.
Insert all values into the table .
fn insert_all<'a>(
        &'a self,
        conn: &PgConnection,
    ) -> Result<Vec<Self::Return>, diesel::result::Error>
    where
        &'a Self: Insertable<Self::Table>,
        InsertStatement<Self::Table, <&'a Self as Insertable<Self::Table>>::Values>:
            RunQueryDsl<PgConnection> + LoadQuery<PgConnection, Self::Return>,
    {
        diesel::insert_into(Self::Table::table())
            .values(self)
            .get_results(conn)
    }
fn insert_all < ' a > ( & ' a self , conn : & PgConnection , ) -> Result < Vec < Self :: Return > , diesel :: result :: Error > where & ' a Self : Insertable < Self :: Table > , InsertStatement < Self :: Table , < & ' a Self as Insertable < Self :: Table > > :: Values > : RunQueryDsl < PgConnection > + LoadQuery < PgConnection , Self :: Return > , { diesel :: insert_into ( Self :: Table :: table ( ) ) . values ( self ) . get_results ( conn ) }
Insert all values into the table.
Insert all values into the table .
&'a self
conn
&PgConnection
&'a self
conn
&PgConnection