@loladb/sdk-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.60 • Public • Published

@loladb/sdk-js

Official JavaScript SDK for LolaDB.

The basics

Installation

npm i @loladb/sdk-js

Usage

Import and initialize the SDK.

import LolaDB from "@loladb/sdk-js";
const lola = new LolaDB('<<API_KEY>>')

Querying

Query a database after setting it up in the lolaDB App.

const {data, error} = await lola.query.execute({
  queryId: 'lola.q.-ddqHfqeZNihbChcAbf',
  context: {
    created_at: '2022-01-01',
    status: 'active'
  } 
})

More to come...

Package Sidebar

Install

npm i @loladb/sdk-js

Homepage

loladb.com

Weekly Downloads

14

Version

1.0.60

License

ISC

Unpacked Size

514 kB

Total Files

7

Last publish

Collaborators

  • andrei.hudovich
  • wes_loladb