FAQ
Query conditions are correct but results are empty
When using database queries, if empty results are returned, there are usually two situations:
- No data matches the query conditions
- Data is filtered by permission control
Troubleshooting Methods
Confirm data existence
- Check directly in the CloudBase console whether the target data exists in the collection
- Verify that the creation time and field values of the data meet expectations
Check permission configuration
- Check whether the basic permission settings of the collection allow the current user to read
- If using security rules, verify that the rule expressions are correct
- Confirm that the query conditions include the necessary fields required by security rules
Verify query conditions
- Simplify query conditions and gradually troubleshoot which condition causes empty results
- Check whether field names, data types, and query syntax are correct