xo::db::sql::acs_rel_type proc create_type (public)
xo::db::sql::acs_rel_type create_type [ -dbn dbn ] -rel_type rel_type \ -pretty_name pretty_name -pretty_plural pretty_plural \ [ -supertype supertype ] -table_name table_name \ -id_column id_column -package_name package_name \ -object_type_one object_type_one [ -role_one role_one ] \ -min_n_rels_one min_n_rels_one -max_n_rels_one max_n_rels_one \ -object_type_two object_type_two [ -role_two role_two ] \ -min_n_rels_two min_n_rels_two -max_n_rels_two max_n_rels_two \ [ -composable_p composable_p ]
Defined in packages/xotcl-core/tcl/05-db-procs.tcl
Automatically generated method
- Switches:
- -dbn
(optional)- -rel_type
(required)- -pretty_name
(required)- -pretty_plural
(required)- -supertype
(defaults to"relationship"
) (optional)- -table_name
(required)- -id_column
(required)- -package_name
(required)- -object_type_one
(required)- -role_one
(optional)- -min_n_rels_one
(required)- -max_n_rels_one
(required)- -object_type_two
(required)- -role_two
(optional)- -min_n_rels_two
(required)- -max_n_rels_two
(required)- -composable_p
(defaults to"t"
) (optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.