xowiki::add_ltree_order_column (private)
xowiki::add_ltree_order_column
Defined in packages/xowiki/tcl/xowiki-utility-procs.tcl
Add page_order of type ltree, when ltree is configured (otherwise string)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # catch SQL statement to allow multiple runs catch {::xo::db::sql::content_type create_attribute -content_type ::xowiki::Page -attribute_name page_order -datatype text -pretty_name Order -column_spec [::xo::dc map_datatype ltree]} ::xo::db::require index -table xowiki_page -col page_order -using [expr {[::xo::dc has_ltree] ? "gist" : ""}] ::xowiki::update_views return 1XQL Not present: Generic, PostgreSQL, Oracle