pub struct Table(pub Rc<Table_>);Tuple Fields§
§0: Rc<Table_>Implementations§
source§impl Table
impl Table
sourcepub fn field(
&self,
v: &mut Version,
schema_id: impl ToString,
id: impl ToString,
type_: FieldType
) -> Field
pub fn field(
&self,
v: &mut Version,
schema_id: impl ToString,
id: impl ToString,
type_: FieldType
) -> Field
Define a field
pub fn rowid_field(&self, v: &mut Version, custom_type: Option<String>) -> Field
sourcepub fn constraint(
&self,
v: &mut Version,
schema_id: impl ToString,
id: impl ToString,
type_: ConstraintType
)
pub fn constraint(
&self,
v: &mut Version,
schema_id: impl ToString,
id: impl ToString,
type_: ConstraintType
)
Define a constraint