Skip to content

Trying to get VALUE_ARRAY to work #669

Discussion options

You must be logged in to vote

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 reference rid to the bahnstrecke feature and an attribute nrb with a ´single NRB value, the configuration would look as follows:


types:
  bahnstrecke:
    sourcePath: /bahnstrecke
    type: OBJECT
    properties:
      nummerderbahnstrecke:
        sourcePath: '[id=rid]bahnstrecke_nrb/nrb'
        valueType: STRING
        type: STRING
        label: Nummer der Bahnstrecke

I…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@maaattes
Comment options

@cportele
Comment options

Answer selected by maaattes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants