Documentation
IneryDB Documentation
IneryDB is the decentralized database layer of the Inery ecosystem. It provides a familiar interface for data operations while ensuring decentralization.
CRUD Operations
Create (Insert)
To insert data into IneryDB, you use the insert action on the database contract.
{
"id": 1,
"user": "ineryuser",
"data": "{"name": "John Doe", "email": "[email protected]"}"
}
Read (Select)
Data can be queried using the RPC API or the DBMS interface.
curl -X POST http://127.0.0.1:8888/v1/chain/get_table_rows \
-d '{"json":true, "code":"inerydb", "scope":"inerydb", "table":"data"}'
Update
Updates are performed by submitting a new transaction with the updated data for a specific ID.
Delete
Data can be marked as deleted or removed from the active state through a consensus-validated transaction.
Data Compositions
IneryDB supports complex data compositions, allowing developers to define schemas and relationships between different data sets.