GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.14.0
  • Code samples
  • GitHub

withOrigin()

Home > @gooddata/sdk-backend-spi > IDatasetsQuery > withOrigin

IDatasetsQuery.withOrigin() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Sets origin for the query.

Signature:

withOrigin(origin: ObjectOrigin | (string & {})): IDatasetsQuery;

Parameters

Parameter

Type

Description

origin

ObjectOrigin | (string & {})

origin to apply. This is an open string union to allow platform-specific origin values in addition to the built-in literals.

Returns:

IDatasetsQuery

datasets query

  • IDatasetsQuery.withOrigin() method
  • Parameters
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use