Skip to main content
Module

x/ldkit/rdf.ts>RDF.QueryResultCardinality

LDkit - Linked Data query toolkit for TypeScript developers
Go to Latest
interface RDF.QueryResultCardinality
import { type RDF } from "https://deno.land/x/ldkit@v0.5.1/rdf.ts";
const { QueryResultCardinality } = RDF;

QueryResultCardinality represents the number of results, which can either be an estimate or exact value.

Properties

type: "estimate" | "exact"

indicates the type of counting that was done, and MUST either be "estimate" or "exact".

value: number

Indicates an estimated of the number of results in the stream if type = "estimate", or the exact number of results in the stream if type = "exact".