
The highest tagged major version is
v3.
package
Version:
v2.0.0
Opens a new window with list of versions in this module.
Published: Sep 17, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package given defines typed TypeQL input rows without a driver or CGo dependency.
type Rows interface {
MarshalGivenRows() ([]byte, error)
}
Rows supplies typed input rows for a TypeQL given stage.
type TypedRows struct {
Variables []string `json:"variables"`
Rows [][]Value `json:"rows"`
}
TypedRows contains values ordered by the declared TypeQL variable names.
NewRows declares the variables shared by every row.
Add appends one row of values in variable order.
MarshalGivenRows validates and encodes the rows for the driver.
type Value struct {
Type string `json:"type"`
Value any `json:"value,omitzero"`
}
Value is a typed value in a TypeQL given row.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.