leonardorickOriginal post
Rank 1: Thread
Something like:
JavaScript
databases .getDocument('maindb', 'users', '932704e53a242ff3c02l')Summary
There was a question about accessing the database by name. The answer is yes, you can use a custom ID for the database ID to simplify things when using multiple environments. Here is an example of how to do it:
```javascript
databases.getDocument('maindb', 'users', '932704e53a242ff3c02l')
```