Back

Daily Clock-In

  • 0
  • Databases
  • Functions
  • Flutter
  • Cloud
Zionnite
11 Apr, 2024, 15:02

Hello Appwrite and awsoome Appwrite's Users,

Please my question is above or not the standard support for appwrite product, but i do really need your insight and direction

in my project, i'm paring user together upon certain conditions, so right now i want to pair user who have clock-in into the app at least 5times a week (that is 7days) my goal is to pair active users with active users not active users with in-active users

please, how do i achieve this?

TL;DR
Use a separate collection to store each user's clock-in state for better performance rather than user prefs. This will help you pair active users who have clocked in at least 5 times a week with each other.
darShan
11 Apr, 2024, 15:17

you could use a separate collection to store every user's clock in state. another is user prefs but performance would be much bettet with the former logic.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more