- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class Relations
Methods (to be applied on the object)
default (scripted)
xo::db::require default
- Testcases:
- xotcl_core_tutorial_2, xotcl-core
exists_column (scripted)
xo::db::require exists_column
- Testcases:
- xotcl_core_tutorial_2, xotcl-core
exists_table (scripted)
function_args (scripted, public)
xo::db::require function_args [ -kernel_older_than kernel_older_than ] \ [ -package_key_and_version_older_than package_key_and_version_older_than ] \ [ -check_function check_function ] sql_file
Load the SQL file, if the kernel is older than the specified version, and the version of the specified package is older, and the check_function does not exist in function_args.
Sample usage: ::xo::db::require function_args \
-kernel_older_than 5.5.0 \
-older_than_package_key_and_version "xowiki 0.50" \
-check_function "acs_object_type__create_type" \
[acs_package_root_dir xotcl-request-broker]/patches/funcs-1.sql- Switches:
- -kernel_older_than (optional)
- -package_key_and_version_older_than (optional)
- -check_function (optional)
- Parameters:
- sql_file (required)
- Testcases:
- No testcase defined.
index (scripted)
xo::db::require index
- Testcases:
- xotcl_core_tutorial_2, xotcl-core
not_null (scripted)
xo::db::require not_null
- Testcases:
- xotcl_core_tutorial_2, xotcl-core
package (scripted)
references (scripted)
xo::db::require references
- Testcases:
- xotcl_core_tutorial_2, xotcl-core
sequence (scripted)
table (scripted)
xo::db::require table
- Testcases:
- xotcl_core_tutorial_2, xotcl-core
unique (scripted)
xo::db::require unique
- Testcases:
- xotcl_core_tutorial_2, xotcl-core
view (scripted)
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables