pub fn insert_one<'a, T>(entity: &T, conn: &mut Conn) -> Result<u64, ToqlError>where
T: 'a + Indelup<'a, T>,Expand description
Insert one struct.
Skip fields in struct that are auto generated with #[toql(skip_inup)].
Returns the last generated id.