@synergy360/capella-auth-db
v0.0.24
Published
``` require('dotenv').config(); const { getDoc, createDoc, updateDoc, upsertDoc, deleteDoc, viewQuery, ViewQueryTemp, n1qlRequest, n1qlRequestStale, n1qlRequestAgg, n1qlRequestCla, n1qlRequestAggCla, setUserPermissions } = require('@synergy
Downloads
17
Readme
Usage
require('dotenv').config();
const { getDoc, createDoc, updateDoc, upsertDoc, deleteDoc,
viewQuery, ViewQueryTemp, n1qlRequest, n1qlRequestStale,
n1qlRequestAgg, n1qlRequestCla, n1qlRequestAggCla,
setUserPermissions } = require('@synergy360/smartscreen-auth-db');
setUserPermissions({});
n1qlRequest("select meta().id, name from deco_db_common where type='client' limit 1", function(err, res) {
console.log(err);
console.log(res);
});