benchset

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package benchset installs the bench set for the tests that use its generated model.

The bench set (contracts/fixtures/bench/dbspec-set.json) uses the table shared_note of its external document bench_shared.dbs, which must exist before the set installs (docs/spec/dbspec.md "External documents"), so Install installs the external document first as its own set, as scripts/bench-db.mts does, and then the bench set.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(db *orm.DB) error

Install installs the external document of the bench set, then the bench set, on the database of db.

func Shared

func Shared() (*orm.Schema, error)

Shared is the schema value of contracts/fixtures/bench/bench_shared.dbs, as the set that owns it would generate it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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