Skip to content

Releases: SyntaxeQL/syntaxe

v1.3.4

04 May 15:55

Choose a tag to compare

What changed?

Added

  • Support for BSON (e.g. MongoDB data)

v1.3.3

03 May 13:47

Choose a tag to compare

What changed?

Added

  • New SyntaxeEngine class for better handling of concurrent query operations

v1.3.2

19 Apr 07:30

Choose a tag to compare

What changed?

  • Added esm and commonjs support

Example

// ESM
import Syntaxe from "syntaxe";
// CommonJs
const Syntaxe = require("syntaxe");

v1.3.1

15 Apr 11:29

Choose a tag to compare

What changed?

  • Bug fixed in schema scanner

v1.3.0

14 Apr 03:51

Choose a tag to compare

What changed?

Added new class properties to hold the status values for a query.

  • success - contains the status of the query. Value can be true or false.
  • error - contains some information on why the query failed.

Example

import Syntaxe from "syntaxe";

const sx = new Syntaxe({
  data: [1,2,3],
  schema: `[size]`
});

sx.query().then((result) => {
  if (sx.success) {
    // Do something with result
  } else {
    let error = sx.error;
  }
});

v1.2.0

06 Apr 19:59

Choose a tag to compare

What changed?

  • Added TypeScript support

v1.0.1

06 Apr 19:04

Choose a tag to compare

Version 1.0.1