0.1.2 • Published 2 years ago
@axelote/db v0.1.2
Axelote DB
Light and fast Axelote library for data operations using AxeloteDB
Official website: https://axelote.com
Table of Contents
Features
- Make calls to AxeloteDB via JavaScript API asynchronous for axelote apps
Installation
Using npm:
$ npm install @axelote/dbExamples
Initialize Axelote
const db = axeloteDB(DEVELOPER_TOKEN);Creating table:
await db.createTable('invoices');Deleting table:
await db.deleteTable('invoices');Fetching data:
await db.table('invoices').select(['ID'], ['USER_ID'], 'desc');Inserting data:
await db.table('invoices').insert({name: 'Foo'});Updating data:
await db.table('invoices').update({ id: 'ID', name: 'Joo'});Deleting data:
await db.table('invoices').delete(['ID'], ['USER_ID']);License
Axelote DB is completely free to use (you need to have developer account). See LICENSE.md or License page