mfrasca / bauble.classic

desktop version of Bauble
http://bauble.readthedocs.io
GNU General Public License v2.0
2 stars 1 forks source link

functions in search tool #70

Closed mfrasca closed 8 years ago

mfrasca commented 9 years ago

candidate functions are: count(relation_field) - the amount of objects connected to 'this'. year(timestamp_field) - extract year from timestamp.

the reason for year(timestamp) is so that we can easily select all that has happened during a calendar year.

count(relation) would allow for queries like:

species where count(accessions) > 10

mfrasca commented 8 years ago

This issue was moved to Bauble/bauble.classic#184