pub struct EntityManager(pub DBPlatform);

Tuple Fields

0: DBPlatform

Implementations

get all the records of this table

get the table from database based on this column name

set the autoincrement value of the primary column(if present) of this table. If the primary column of this table is not an autoincrement, returns Ok(None).

get all the user table and views from the database

get all the tablenames

Get the total count of records

get all table and views grouped per schema

called when the platform used is postgresql

called multiple times when using database platform that doesn;t support multiple value insert such as sqlite

this is soly for use with sqlite since sqlite doesn’t support bulk insert

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.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

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

Should always be Self
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more