Instance Method
nestedSubpathExpression(in:for:)
Given a column name and a path consisting of one or more elements, return an expression appropriate for accessing a value at the given JSON path.
func nestedSubpathExpression(in column: any SQLExpression, for path: [String]) -> (any SQLExpression)?
Discussion
A nil result signals that JSON subpath expressions are not supported, or that the given path is not valid for this dialect.
Defaults to returning nil.
Default Implementations
SQLDialect Implementations
nestedSubpathExpression(in:for:)Default implementation ofnestedSubpathExpression(in:for:).
See Also
Modifier Methods
customDataType(for:)A function which is consulted whenever anSQLDataTypewill be serialized into a query. The dialect may return an expression which will replace the default serialization of the given type. Returningnilcauses the default to be used.normalizeSQLConstraint(identifier:)A function which is consulted whenever a constraint name will be serialized into a query. The dialect must return an expression for an identifer which is unique to the input identifier and is a valid constraint name for the dialect.