RedBeanNode Playground

node v10.24.1
version: 1.0.0
endpointsharetweet
Import RedBeanNode
const { R } = require("redbean-node")
Setup connection
R.setup();
Your Logic Below!
(async () => { let post = R.dispense('post'); post.text = 'Hello World'; // create or update let id = await R.store(post); console.log("Post ID: " + id); // close connection await R.close(); })();
Loading…

no comments

    sign in to comment