xowiki::hstore::dict_as_hkey (public)
xowiki::hstore::dict_as_hkey dict
Defined in packages/xowiki/tcl/xowiki-utility-procs.tcl
- Parameters:
- dict (required)
- Returns:
- dict value in form of a hstore key.
- Partial Call Graph (max 5 caller/called nodes):
- 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