xowiki::hstore::dict_as_hkey (public)

 xowiki::hstore::dict_as_hkey dict

Defined in packages/xowiki/tcl/xowiki-utility-procs.tcl

Parameters:
dict
Returns:
dict value in form of a hstore key.

Partial Call Graph (max 5 caller/called nodes):
%3 test_api_hstore api_hstore (test xowiki) xowiki::hstore::dict_as_hkey xowiki::hstore::dict_as_hkey test_api_hstore->xowiki::hstore::dict_as_hkey xowiki::hstore::double_quote xowiki::hstore::double_quote (public) xowiki::hstore::dict_as_hkey->xowiki::hstore::double_quote xowiki::FormPage instproc update_item_index xowiki::FormPage instproc update_item_index (public) xowiki::FormPage instproc update_item_index->xowiki::hstore::dict_as_hkey xowiki::hstore::update_form_instance_item_index xowiki::hstore::update_form_instance_item_index (private) xowiki::hstore::update_form_instance_item_index->xowiki::hstore::dict_as_hkey xowiki::update_item_index xowiki::update_item_index (public) xowiki::update_item_index->xowiki::hstore::dict_as_hkey

Testcases:
api_hstore
Source code:
    set keys {}
    variable ::xowiki::hstore::max_value_size
    foreach {key value} $dict {
      set v [double_quote $value]
      if {$v eq ""
          || ($max_value_size > 0 && [string length $v] >= $max_value_size)
        } {
        continue
      }
      lappend keys [double_quote $key]=>$v
    }
    return [join $keys ,]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: