insertkeytest

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package insertkeytest checks, against a real database without RETURNING (MySQL, OceanBase), that create_record reports the key the row was stored under, the same way for every such provider: an auto-increment key the caller leaves out, writes as NULL or 0 (the database generates it), or writes as a value of its own, under the key's alias.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

Run creates schema.tickets (schema may be empty) on prov, driver's, and creates its rows through create_record.

Types

This section is empty.

Jump to

Keyboard shortcuts

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