3.1.14 • Published 3 years ago

@symatem/query v3.1.14

Weekly downloads
50
License
BSD-2-Clause
Repository
github
Last release
3 years ago

npm License minified size downloads semantic-release Styled with prettier Commitizen friendly

@symatem/query

Queries within SymatemJS

import { SymatemQueryMixin } from "@symatem/query";

...

const backend = await new SymatemQueryMixin(RustWasmBackend);

const {isa} = myRootSymbols;
const { A, baseType } = backend.placeholders(recordingNamespace, {A:undefined, baseType: 'baseType'});

for(const result of backend.query([
    [A, isa, B],
    [B, isa, baseType]
    ]))
    {
        console.log(result.get(A),result.get(B));
    }

API

Table of Contents

SymatemQueryMixin

Extend the backend with the query functionality.

Parameters

  • base function prototype of the backend class to extend

license

BSD-2-Clause

3.1.14

3 years ago

3.1.13

4 years ago

3.1.12

4 years ago

3.1.11

4 years ago

3.1.10

4 years ago

3.1.9

4 years ago

3.1.8

4 years ago

3.1.7

4 years ago

3.1.6

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.0

4 years ago