Hey! I have a case where I need to fetch all active users only. I have a field called deleted, I need to return only the users that have deleted equal false. What is the best way to do that? and is there a way to do it without using scopes?
Thank you for your help
Hi @antoh, and welcome to our community,
I guess the scope feature is your best choice here (If you want your user to only access user with deleted=false)
scope
deleted=false
If you want your users to simply have a view with all users with deleted=false, a segment would do the trick (See https://docs.forestadmin.com/documentation/reference-guide/segments)
Let me know if that helps.