Prisma Tools
Prisma Execute Sql Query
通过 Aident Loadout 使用 Prisma Tools 的 Prisma Execute Sql Query。执行前查看输入、输出、设置、价格和风险。
写入操作风险等级 2/5OAuth 连接
服务提供商说明
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.
价格与限制
- 价格
- 免费操作
- 统一支付
- 暂不支持
输入
- 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.hoststring必填
- Database username (tenant ID from Prisma). Obtain this from create_connection action response field 'user'. This is a unique identifier for your database tenant.userstring必填
- 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…querystring必填
- Database password (secret key from Prisma). Obtain this from create_connection action response field 'pass'. Format is typically 'sk_xxxxx'. Keep this secure.passwordstring必填
- 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
可观察输出
- Data from the action executiondata必填
- Error if any occurred during the execution of the actionerrorstring
- Whether or not the action execution was successful or notsuccessfulboolean必填
使用此操作的技能
相关使用场景
尚未关联经过验证的相关使用场景。