MCPcopy Create free account
hub / github.com/bytebase/dbhub / ExecuteOptions

Interface ExecuteOptions

src/connectors/interface.ts:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 * This interface allows passing execution-specific options to connectors
61 */
62export interface ExecuteOptions {
63 /** Maximum number of rows to return (applied via database-native LIMIT) */
64 maxRows?: number;
65 /**
66 * Restrict to read-only SQL operations (application-level enforcement)
67 * Validates SQL keywords before execution to prevent write operations.
68 * Note: SDK-level readonly enforcement is set via ConnectorConfig.readonly
69 */
70 readonly?: boolean;
71}
72
73/**
74 * Configuration options for database connections

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected