FAQ
Metering and Billing FAQs
What are the billing differences between Document Databases and MySQL databases?
- Document Databases: Metering includes API calls and data storage usage
- MySQL Database: Metering includes compute resource usage and storage usage
Note
When using data models on both databases, calls to the data models will also record the number of API calls.
Usage-Related FAQs
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
- Database read/write operations use the _openid field to determine data ownership
- 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