@triply/triplydb
    Preparing search index...

    Interface QueryUpdateConfig

    What Query.update takes: this query's metadata, minus its text.

    Only the fields you pass are changed. The query text is versioned rather than edited in place — see Query.addVersion.

    interface QueryUpdateConfig {
        accessLevel?: AccessLevel;
        autoselectService?: boolean;
        dataset?: string | Dataset;
        description?: string;
        displayName?: string;
        name?: string;
        preferredService?: string;
        serviceConfig?:
            | { configuredAs?: "serviceType"; type: SparqlQueryServiceType }
            | { configuredAs: "serviceId"; service: string };
        tags?: string[];
    }

    Hierarchy

    • Omit<QueryMetaUpdate, "dataset">
      • QueryUpdateConfig
    Index
    accessLevel?: AccessLevel
    autoselectService?: boolean

    Use 'serviceConfig' to select what service to run the query on.

    dataset?: string | Dataset

    The dataset to run against, as a Dataset or its id.

    description?: string
    displayName?: string
    name?: string
    preferredService?: string

    Use 'serviceConfig' to select what service to run the query on.

    serviceConfig?:
        | { configuredAs?: "serviceType"; type: SparqlQueryServiceType }
        | { configuredAs: "serviceId"; service: string }

    Type Declaration

    • { configuredAs?: "serviceType"; type: SparqlQueryServiceType }
      • OptionalconfiguredAs?: "serviceType"

        Support for selecting specific services was dropped, for the confusion it caused.

      • type: SparqlQueryServiceType
    • { configuredAs: "serviceId"; service: string }
      • configuredAs: "serviceId"

        Support for selecting specific services was dropped, for the confusion it caused.

      • service: string

        Support for selecting specific services was dropped, for the confusion it caused.

    tags?: string[]