Am 06.02.14 18:17, schrieb Wolfgang Winkler: > I've added a datatype "dict" to the list of possible DbiResults. ... > dict for {k v} $result { > set user_id [dict get $v user_id] > dict set result $k user_url "user?user_id=$user_id" > } ah, nice... updating the dict as result set is conveniant I hear Stephen in the background saying, why not
set flat [dbi_rows -cols cols { select .... }] set dict [dbi_convert -format dict $cols $flat] dict for {k v} $dict { .... } will do some more tests about the "built-in" result types vs. the flat list converter over the weekend.... all the best -gn ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel