Yandex Cloud YDB icon

Yandex Cloud YDB

Interact with Yandex Cloud YDB (Yandex Database)

Actions2

Query → Execute

AI-generated

Summary

Execute a YQL query against Yandex Cloud YDB and return the results according to a selected return mode.

Inputs

  • YQL Query (required) — The YQL query string to execute on the database (e.g., SELECT statements).
  • Return Mode — Specifies how query results are returned: all result sets, only the first result set, or only the first row of the first result set.

Output shape

a JSON object containing the query results structured according to the Return Mode chosen

If 'All Result Sets' is selected, returns an object with all result sets, result set count, and total rows. If 'First Result Set' is selected, returns an object with the first result set's rows and row count. If 'First Row Only' is selected, returns a single JSON object of the first row or null if no rows. Supports multi-item inputs, returning corresponding outputs per input item with error details if an item fails and Continue On Fail is enabled.

Links

Discussion