flql 0.1.4

Query parser for flinch in-memory database
Documentation

FLQL - Flinch Query Language

Rust

FLQL - Flinch Query Language is a lightweight query language designed to retrieve data from an in-memory database called Flinch. Flinch is a real-time unstructured document database that is capable of storing and retrieving documents in JSON format.

FLQL was created to simplify the querying process in Flinch and make it easier for developers to retrieve data from the database. It is a simple, intuitive, and expressive language that is easy to learn and use.

Features:

  • FLQL supports basic CRUD (Create, Read, Update, Delete) operations.
  • It supports querying documents based on a variety of criteria, including text matching, date range, and numerical range.
  • It uses a simple and intuitive syntax that is easy to read and write.
  • FLQL is optimized for performance and can handle large datasets with ease.

Getting Started:

To use FLQL, you will need to have Flinch installed and running on your system. Once Flinch is up and running, you can start querying your data using FLQL.

Create collection new({});

Drop collection drop('');

Check if pointer exists in collection exists('').into('');

Length of collection length('');

Update or Insert into collection put({}).into('');

Conditional Update or Insert into collection put({}).when(:includes(array_filter('e.f$.g'),2):).into('');

Update or Insert into collection to a Pointer put({}).pointer('').into('');

Get from collection get.from('');

Conditional Get from collection get.when(:includes(array_filter('e.f$.g'),2):).from('');

Get Pointer from collection get.pointer('').from('');

Get View from collection get.view('').from('');

Get Clip from collection get.clip('').from('');

Delete from collection delete.from('');

Conditional Delete from collection delete.when(:includes(array_filter('e.f$.g'),2):).from('');

Delete Pointer from collection delete.pointer('').from('');

Delete View from collection delete.view('').from('');

Delete Clip from collection delete.clip('').from('');