0.2.0 • Published 3 years ago

ts-sparql v0.2.0

Weekly downloads
7
License
ISC
Repository
-
Last release
3 years ago

TS SPARQL

TS SPARQL is an object to SPARQL mapper

Connection

const tsSparql = TsSparql.init(options);

Options

PropertyDescription

Models

Definition

@Entity('user')
export class User {
    @Id()
    @Property()
    public id: string;
}

Entity

Decorating a class with the Entity decorator.

Storage

{
    "keys": ["user"],
    "default": "",
    "prefixes": {
        "user": {}
    },
    "ids": {
        "user": "id"
    },
    "properties": {
        "user": [
            {
                "key": "key",
                "prefix": "aasdgasg",
                "literal": true
            }
        ]
    }
}
0.2.0

3 years ago

0.1.1

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago