Databases
Databases are first-class ACP SDK primitives. The database manager covers database lifecycle plus collection and document CRUD, which makes it a natural fit for app backend code and platform automation.
Databases
Manage databases, collections, and documents from one SDK surface.
Create databases and collections
Use the databases manager to create the database, then create collections and documents through the nested collection/document methods. The surface is designed to feel operational rather than transport-centric.
Use projectId when the database should be attached to a project.
Use createCollection() for logical grouping before inserting documents.
Use getAnalytics() when you need runtime visibility on the database surface.
Create a database and seed documents
Loading...
Read and update database documents in Python
Loading...
Operate databases from application code
The database manager is not limited to setup. It is also useful inside app control planes, migration flows, and scheduled maintenance jobs.
Use listCollections() and listDocuments() for admin-style inspection.
Use updateDocument() and deleteDocument() for operational maintenance.
Use deleteCollection() and delete() for cleanup flows.