Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

atelier-saulx/old-based-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

❗ ARCHIVED REPO

This repo has been archived, all the documentation as been moved to the based public repo.

Documentation

Based as a data platform offers tool to change it's server-side behaviour, as well as tool to develop on the client side.

On the server-side, Based allows the user to upload custom functions, and manage authorization.

On the client-side, we provide a set of methods which utilize the Based query language to interact with a Based instance. The syntax of these methods changes slightly depending on the type of operation requested.

Based also comes equipped with a CLI, find more about it here.

Client-side methods

Check out the Based query language for the schema, sets, and for gets.

In summary, the main methods the Based client offers are

Name Args Function
based.set() query Add or modify data on the database
based.get() query Extract and shape data from the database.
based.observe() query, onData: (data: any, checksum: number), onErr?: (err: Error) Subscribe to a query or server-side method.
based.delete() id Remove a node from the database
based.configure() schema query Change schema.
based.digest() string Hash the input string, returning sha-64 digest.
based.call() string Executes a server-side function.

About

Documentation for Based

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published