Hi, when setting up the app with mysql tables it by default syncs the entire table, quickly adding to our allowed record count in Noloco.
While this works great, it would be really useful if a query could determine which records we actually need syncing to Noloco. So rather than importing everything in a table, we define whats needed.
For example, due to UK financial regulations we need to keep some client data for anything up to 25 years. We don’t need all that data in Noloco but do need to keep it in the original tables so we can run our own data queries backend.
Something like this I guess.
SELECT SQL_CALC_FOUND_ROWS * FROM tableClients WHERE category = ‘something’ where YEAR(date) = YEAR(DATE_SUB(CURDATE(), INTERVAL 3 YEAR));
Appreciate this may not be something beneficial to Noloco but from a customers point of view the costs could start to get out of hand as data grows.