dumpsql

command
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command dumpsql dumps the generated SQL for a specific OpenFGA test case. This tool outputs the specialized check functions and dispatcher SQL that would be generated for a test's authorization model.

Usage:

dumpsql <name>              # Dump SQL for a specific test by exact name

Output Sections:

MODEL:      The original FGA model (for reference)
ANALYSIS:   Feature analysis for each relation (what SQL patterns needed)
FUNCTIONS:  Generated specialized check functions
DISPATCHER: The dispatcher function that routes to specialized functions

Examples:

dumpsql wildcard_direct
dumpsql computed_userset_simple

Jump to

Keyboard shortcuts

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