querysemantics

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package querysemantics verifies that membership filters on set-valued fields, text matching inside JSON values and sort admission mean the same thing on every store adapter and through every transport.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, factory Factory, options Options)

Run exercises the shared membership, JSON text and sort truth tables.

Types

type Factory

type Factory func(*testing.T, ridu.Config) (store.Store, *ridu.App)

Factory opens a migrated application on the store under test.

type Options

type Options struct {
	// JSONSubPathsUnsupported marks a store that rejects paths inside a JSON
	// value with unsupported_path instead of comparing them.
	JSONSubPathsUnsupported bool
}

Options records a store's documented, narrower query surface.

Jump to

Keyboard shortcuts

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