Commencer maintenant
Grist Tools

Grist Run Sql Query

Utilisez Grist Run Sql Query avec Grist Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion par clé API

Description du fournisseur

Tool to execute a read-only SQL SELECT query on a Grist document. Use after confirming the document ID and preparing a valid SQL SELECT statement.

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • sqlstring
    Obligatoire
    SQL SELECT statement to execute. Must be a single read-only SELECT (no INSERT/UPDATE/DELETE). Do not include trailing semicolon. WITH clauses and parameterized queries (using '?' placeholders) are supported.
  • argsarray
    Positional parameters to substitute for '?' placeholders in the SQL statement. Provide values in order matching the placeholders.
  • docIdstring
    Obligatoire
    Document ID of the Grist document to query. Obtain this via GRIST_LIST_WORKSPACES or from the document URL.
  • timeoutinteger
    Maximum execution time in milliseconds. Default is 1000ms. Can only be reduced from the default, not increased.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur