Prisma Tools
Prisma Execute Sql Query
Usa Prisma Execute Sql Query con Prisma Tools mediante Aident Loadout. Revisa sus entradas, salidas, configuración, precio y riesgo antes de ejecutarla.
Action de escrituraNivel de riesgo 2 de 5Conexión OAuth
Descripción del proveedor
Execute SQL queries through a direct SSL PostgreSQL connection and return rows, row count, and execution time. SQL is not restricted to read-only statements; commands may modify data even if fetching results fails.
Precios y límites
- Precio
- Action gratuita
- Pago unificado
- No compatible actualmente
Entradas
- Database host with port (format: 'db.prisma.io:5432'). Obtain this from create_connection action response field 'host'. This is the direct PostgreSQL endpoint for your Prisma Postgres database.hoststringObligatorio
- Database username (tenant ID from Prisma). Obtain this from create_connection action response field 'user'. This is a unique identifier for your database tenant.userstringObligatorio
- SQL SELECT query to execute against the database. Use standard PostgreSQL syntax. Common examples: 'SELECT * FROM users LIMIT 10', 'SELECT name, email FROM customers WHERE active = true', 'SELECT table_name FROM information_schema.tables WHERE table_schema = \'public\''. Avoid I…querystringObligatorio
- Database password (secret key from Prisma). Obtain this from create_connection action response field 'pass'. Format is typically 'sk_xxxxx'. Keep this secure.passwordstringObligatorio
- Optional array of parameters for parameterized queries using %s placeholders. Example: query='SELECT * FROM users WHERE id = %s AND active = %s', parameters=[123, true]. Parameters are automatically escaped to prevent SQL injection. Use %s for each parameter in order they appear…parametersarray
Salida observable
- Data from the action executiondataObligatorio
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulbooleanObligatorio
Skills que usan esta Action
Casos de uso relacionados
Aún no hay casos de uso relacionados verificados.