I get stuck a bit at query creation at API server, I just want to respond with modified tracks data. I have tracks table with few columns like this.
tracks(id, audio_fingerprint, name, creation_date, modified_date)
Now I just want tracks which are updated after it's last fetched timestamp (Array of audio fingerprint and last fetched timestamp passed as API request parameter).
SELECT * from tracks WHERE (audio_fingerprint, modified_date) IN (Array(audioFingerprint, > lastFetchedTimestamp));
(^^ It is invalid query, just used for understanding).
Thanks