Bug report #20993
Hstore default value doesn´t work
| Status: | Closed | ||
|---|---|---|---|
| Priority: | Normal | ||
| Assignee: | - | ||
| Category: | Forms | ||
| Affected QGIS version: | 3.4.3 | Regression?: | No |
| Operating System: | Windows 7 | Easy fix?: | No |
| Pull Request or Patch supplied: | No | Resolution: | |
| Crashes QGIS or corrupts data: | No | Copied to github as #: | 28812 |
Description
I set default value as:
map_to_hstore(map('field1', 'value1', 'field2', 'value2'))
but it assigns nothing (null/empty). But if I check "apply default value on update" and I change another field value, and save layer, the default value is assigned.
History
#1
Updated by Jorge Rosales almost 7 years ago
- Status changed from Open to Closed
Using map('field1', 'value1', 'field2', 'value2') instead.
Sorry for in inconveniences.