Trying to get VALUE_ARRAY to work #669
-
Hi, In my PostgreSQL/PostGIS Database, the values for 'Streckennummer' are stored in an array like so: {16, 18, 19, 5}. …
types:
bahnstrecke:
sourcePath: /bahnstrecke
type: OBJECT
properties:
nummerderbahnstrecke:
sourcePath: nummerderbahnstrecke
type: VALUE_ARRAY
valueType: STRING
… But it's still showing the values as strings: In some automatically generated config files I've seen the parameter additionalInfo:
multiple: "true" but this isn't documented anywhere I think it should be true without quotations marks? Could you give me a hint what I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @maaattes, I guess you are using PostgreSQL arrays? If that is the case, these are currently not supported. We have this capability on the radar, but so far all databases with multiple values used joins and separate tables, so for now only those are supported. If you had a table …
types:
bahnstrecke:
sourcePath: /bahnstrecke
type: OBJECT
properties:
nummerderbahnstrecke:
sourcePath: '[id=rid]bahnstrecke_nrb/nrb'
valueType: STRING
type: STRING
label: Nummer der Bahnstrecke
… If the table |
Beta Was this translation helpful? Give feedback.
Hi @maaattes, I guess you are using PostgreSQL arrays? If that is the case, these are currently not supported. We have this capability on the radar, but so far all databases with multiple values used joins and separate tables, so for now only those are supported.
If you had a table
bahnstrecke_nrb
with a foreign key referencerid
to the bahnstrecke feature and an attributenrb
with a ´single NRB value, the configuration would look as follows:I…