How to create bucket or database using couchbase lite , and how to give specific name to bucket instead of db. How to create more than one bucket in single server url from couchbase lite sdk.
You can reference this blog on how to create the buckets in the Couchbase Admin UI.
Using Couchbase Lite programmatically in your project would be to reference the database by name and using the
manager class and
getDatabase() method while passing in a String name for your database.
Take a look at the Creating Manager and Database section in the Mobile Developer Portal on how to do this in code.