Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ldkit/library/lens/query_builder.ts>QueryBuilder

LDkit - Linked Data query toolkit for TypeScript developers
Latest
class QueryBuilder
import { QueryBuilder } from "https://deno.land/x/ldkit@2.0.0/library/lens/query_builder.ts";

Constructors

new
QueryBuilder(schema: ExpandedSchema, options: Options)

Properties

private
readonly
df: RDF.DataFactory
private
readonly
options: Options
private
readonly
schema: ExpandedSchema
deleteQuery: (iris: IRI[]) => unknown

Methods

private
entitiesToQuads(entities: Entity[])
private
getShape(flags: Flags, searchSchema?: SearchSchema)
deleteDataQuery(quads: RDF.Quad[])
getByIrisQuery(iris: IRI[], where?: SearchSchema)
getQuery(
where: string | RDF.Quad[] | undefined,
limit: number,
offset: number,
)
getSearchQuery(
where: SearchSchema,
limit: number,
offset: number,
)
insertDataQuery(quads: RDF.Quad[])
insertQuery(entities: Entity[])
updateQuery(entities: Entity[])