escapetest

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package escapetest runs the SQL escape hatch (execute_sql) against a real database, the same way for every provider: a query, a write, a DDL the required estimate refuses, the same DDL with the estimate skipped, and the audit file holding the statements.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, driver string, prov bootstrap.Provider, table, probe string)

Run exercises execute_sql on prov (driver's), whose users table (rows 1 and 2 with id, email and tenant_id) is named table; probe names the table the DDL creates. Both may be schema-qualified.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL