tag:blogger.com,1999:blog-7476449567742726187.post4328015641946611820..comments2023-12-18T12:25:52.296-08:00Comments on Database Soup: Stupid Hacks: Dictionary replace functionJosh Berkushttp://www.blogger.com/profile/09671139717468724246noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-7476449567742726187.post-68323564464869234512015-08-30T19:23:53.395-07:002015-08-30T19:23:53.395-07:00Sounds good to me. ${} makes sense to you too?Sounds good to me. ${} makes sense to you too?Josh Berkushttps://www.blogger.com/profile/09671139717468724246noreply@blogger.comtag:blogger.com,1999:blog-7476449567742726187.post-85278441291409715352015-08-30T13:24:34.104-07:002015-08-30T13:24:34.104-07:00I propose to add named/path placeholders to to for...I propose to add named/path placeholders to to format function. Internally it can use #> operator, and it can be used for any type with this operator support. So "format('the name: ${name}', hstore '{name => Pavel})" or "format('the name: ${name}', json '{name: "Pavel"})"<br />Pavel Stěhulehttps://www.blogger.com/profile/01996484227228696817noreply@blogger.comtag:blogger.com,1999:blog-7476449567742726187.post-54925530155191169232015-08-30T13:17:48.424-07:002015-08-30T13:17:48.424-07:00Pavel,
Are you suggesting that format() be extend...Pavel,<br /><br />Are you suggesting that format() be extended to add #> and similar from JSON[B]?David Fetterhttps://www.blogger.com/profile/06408194859600882631noreply@blogger.comtag:blogger.com,1999:blog-7476449567742726187.post-20066512804665865522015-08-30T12:23:47.078-07:002015-08-30T12:23:47.078-07:00Not quite following you ...Not quite following you ...Josh Berkushttps://www.blogger.com/profile/09671139717468724246noreply@blogger.comtag:blogger.com,1999:blog-7476449567742726187.post-33500541403102792062015-08-28T21:49:23.038-07:002015-08-28T21:49:23.038-07:00We have a operator :get_value" "-->&q...We have a operator :get_value" "-->" and probably it can be implemented to "format" function - so write patch, please.Pavel Stěhulehttps://www.blogger.com/profile/01996484227228696817noreply@blogger.com