raw_source
relationalai.semantics.std.common
raw_source(lang: StringValue, source: str) -> ExpressionAttach raw source code to the transaction when the backend understands this language.
Parameters
Section titled “Parameters”
(langStringValue) - The language identifier for the source code (e.g."sql","lqp", or"rel").
(sourcestr) - The source code to attach.
Returns
Section titled “Returns”Expression- AnExpressionrepresenting the raw source attachment.
Examples
Section titled “Examples”Attach raw Rel source code:
>>> common.raw_source("rel", "def my_rule = 42")