Diagram
  • Introduction
  • Get Started
    • Hello World
    • Connecting to a DB
    • From a template
  • Concepts
    • Endpoints
    • Algorithm
  • Nodes
    • Bcrypt
    • Code
    • Constant
    • Database
    • EasyDB
    • Firestore
    • If / Then
    • Request
    • Response
    • JWT
    • Mapper
    • MongoDB
    • Stripe
    • Webhook
  • Templates
    • Login
    • Register
    • Get User
  • Resources
    • Dashboard
    • Contact
    • FAQs
Powered by GitBook
On this page
  • General
  • Input
  • Output
  • Use Cases

Was this helpful?

  1. Nodes

EasyDB

PreviousDatabaseNextFirestore

Last updated 3 years ago

Was this helpful?

General

The EasyDB node allow to create, read, list and delete keys on an Easy DB database.

Input

CASE: Put

  • Key: Receives a String with the key to update. Learn more on .

  • Data: Receives an `Object, String, Number or Boolean with the data to save in the key. Learn more on .

CASE: Get

  • Key: Receives a String with the key to retrieve. Learn more on .

CASE: Delete

  • Key: Receives a String with the key to delete. Learn more on .

CASE: List

  • The list commands requires no parameters. Learn more on .

Environment variables:

  • easydb: Requires Database and Token to be set.

Output

CASE: Put

CASE: Get

CASE: Delete

CASE: List

Use Cases

Retrieve a value from the database.

  • Request (Get) ➡ EasyDB (Get) ➡ Response (200)

Update a value on the database.

  • Request (Post) ➡ EasyDB (Put) ➡ Response (200)

This operation returns no data. Learn more on .

Out: Returns an Object, String, Number or Boolean with the retrieved data. Learn more on .

This operation returns no data. Learn more on .

Out: Returns an array of Object, String, Number or Boolean with the all database keys. Learn more on .

easydb.put
easydb.put
easydb.get
easydb.delete
easydb.list
easydb.put
easydb.get
easydb.delete
easydb.list