Commit f759fd0
committed
Use a non-ambigious syntax for generating hstore SQL
hstore(ARRAY['key', 'value'], ARRAY['key2', 'value2'])
Might be mistaken for another form:
hstore(ARRAY['key'], ARRAY['value'])
By using the following syntax, there is not ambigiuation:
hstore('key', value') || hstore('key2', 'value2')1 parent f6ef633 commit f759fd0
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments