API: qldb
Source:
qldb/qldb.ts
Usage
javascript
//first we need to create a table
import { QLDBRepository } from "sdk/qldb";
const qldb = new QLDBRepository("myLedger", "testTable").createTable();
//use the newly created object to interact with qldb
import { QLDBRepository } from "sdk/qldb";
const qldb = new QLDBRepository("myLedger", "testTable");
qldb.insert({ "foo": "bar" })
console.log(qldb.getAll())