package
0.0.698
Repository: https://github.com/ory/x.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

JSONScan is a generic helper for storing a value as a JSON blob in SQL.
JSONValue is a generic helper for retrieving a SQL JSON-encoded value.
NamedInsertArguments returns columns and arguments for SQL INSERT statements based on a struct's tags.
NamedUpdateArguments returns columns and arguments for SQL UPDATE statements based on a struct's tags.

# Structs

FalsyNullBool represents a bool that may be null.
NullBool represents a bool that may be null.
NullDuration represents a nullable JSON and SQL compatible time.Duration.
NullInt64 represents an int64 that may be null.

# Type aliases

Duration represents a JSON and SQL compatible time.Duration.
Expandable controls what fields to expand for projects.
Expandables is a list of Expandable values.
JSONArrayRawMessage represents a json.RawMessage which only accepts arrays that works well with JSON, SQL, and Swagger.
JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger.
MapStringInterface represents a map[string]interface that works well with JSON, SQL, and Swagger.
NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- swagger:model nullJsonRawMessage.
swagger:type string swagger:model nullString.
NullTime implements sql.NullTime functionality.
StringSliceJSONFormat represents []string{} which is encoded to/from JSON for SQL storage.
StringSlicePipeDelimiter de/encodes the string slice to/from a SQL string.