piccolo-orm / piccolo_admin

A powerful web admin for your database.
https://piccolo-orm.com/ecosystem/
MIT License
299 stars 35 forks source link

Support `match` param #349

Closed dantownsend closed 7 months ago

dantownsend commented 7 months ago

Piccolo API has support for the match GET param, which is used to determine how text values should be matched.

For example, this gets all movies with names beginning with Star Wars.

?name=Star+Wars&name__match=starts

By default the match value is contains, which means all movies with names containing Star Wars are returned.

We don't currently have UI for this in the filter sidebar of Piccolo Admin - it would be great to add it.