gbif / occurrence

Occurrence store, download, search
Apache License 2.0
22 stars 15 forks source link

feat: internal service to translate predicates to SQL WHERE #356

Open MortenHofft opened 3 weeks ago

MortenHofft commented 3 weeks ago

For the b3 project we need to create an easy way to generate sql cubes via the UI.

The select and grouping I suppose I would do in a custom service, but it would be nice to reuse the existing predicate => sql code. As far as i understand we already have this code.

In short I would like a service that takes a predicate and returns the WHERE part of an SQL query