Trait svc_storage::postgres::init::PsqlInitSimpleResource
source · pub trait PsqlInitSimpleResourcewhere
Self: SimplePsqlType + Clone,{
// Provided method
fn _get_create_table_query() -> String { ... }
}
Expand description
Generic PostgreSQL trait to provide table init functions for Resource
struct
Provided Methods§
sourcefn _get_create_table_query() -> String
fn _get_create_table_query() -> String
Constructs the create table query for the resource for internal use
Object Safety§
This trait is not object safe.