How can I perform simple queries on app state that returns the custom data type like a document on firebase.
i.e I'd like to query a list of a custom data type (users) in my app state that will return the object where username field is equal to specific input.
I can do this with custom code bit can this be done with native tools. i.e simple search