Skip to main content

What is Koxy Database


Intro

Koxy Database is a fully managed, scalable, and secure database service that is designed to make it easy to store and manage your data. Koxy Database is based on the JSON document data model, which makes it easy to store and query your data.


Features

  • Fully managed: Koxy Database is a fully managed service, which means that you don't have to worry about managing the underlying infrastructure. Koxy Database takes care of all of the maintenance and provisioning, so you can focus on your application.

  • Scalable: Koxy Database is scalable by default and comes with unlimited data storage.

  • Secure: Koxy Database is secure your data is protected from unauthorized access. Koxy Database uses industry-standard security measures to protect your data.

  • JSON document data model: Koxy Database uses the JSON document data model, which makes it easy to store and query your data. JSON documents are a lightweight and flexible data format that is easy to read and write.

  • Document embedding: Koxy Database supports a feature called document embedding, which allows you to add relationships to documents. This means that you can store related data in the same document, which can make it easier to query and manage your data. learn more

How to use Koxy Database

To start using Koxy Database first you need to upgrade your Cloudspace to a paid plan. once you do that you can click on Database in yoru Cloudspace's sidebar.

What are collections

Collections are like folders for your documents. for example you can have a collection for users and another collection for posts. every collection has a unique ID that's used to identify the collection in your database.

What are documents

Data in Koxy Database is saved as JSON documents. Every document has a document_id that defines the document in a collection.

This is an example of a document data:

{
"name": "kais",
"email": "kais@email.com",
"avatar": null
}

and the document structure will be like this:

"created_at": timestamp,
"data": {
"name": "kais",
"email": "kais@email.com",
"avatar": null
},
"document_id": "ID", // the id of the document
"collection": "collection ID" // the id of the document's collection

Costs and limits

There is no storage limits in Koxy Database, however every CRUD operation is considered a cloud run and will cost you a run.