Releases: SyntaxeQL/syntaxe
Releases · SyntaxeQL/syntaxe
v1.3.4
v1.3.3
What changed?
Added
- New SyntaxeEngine class for better handling of concurrent query operations
v1.3.2
What changed?
- Added esm and commonjs support
Example
// ESM
import Syntaxe from "syntaxe";// CommonJs
const Syntaxe = require("syntaxe");v1.3.1
What changed?
- Bug fixed in schema scanner
v1.3.0
What changed?
Added new class properties to hold the status values for a query.
success- contains the status of the query. Value can betrueorfalse.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
What changed?
- Added TypeScript support
v1.0.1
Version 1.0.1