Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-762

Allow querying of datapoints by attribute value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Done
    • Normal
    • Resolution: Fixed
    • None
    • Old Issues
    • GeoStreams
    • None

    Description

      Add a 'values' parameter for datapoint search that hooks into the PSQL "@>" operator that allows querying by property, e.g. in the gltg db:

      select * from datapoints where datapoints.data @> '{"site": "03336890"}' ;

      I would implement this with:

      /api/geostreams/datapoints?source=HRU&filter={"site":"03336890"} 

      ...or similar.

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                mburnet2 Maxwell Burnette
                mburnet2 Maxwell Burnette
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Tasks