ibeal / KitchenDB

A personal project to create something that can track inventory and recipes to suggest recipes to make determined by inventory
2 stars 0 forks source link

improve db interactions #18

Open ibeal opened 4 years ago

ibeal commented 4 years ago

For the table view, I should make filters and sort by functions available. This would require gui elements and some updated database calls.

I imagine the gui elements would include a sort by combo input, and a combo input before the search bar indicating what field to search.

The database side, would need to expand the searchdb function to handle the extra paramters, which most likely means providing several sql commands in a switch statement. The would also need to be a sort function that could wrap the output.