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
(langStringValue) - The language identifier for the source code (e.g."sql","lqp", or"rel").
(sourcestr) - The source code to attach.
Returns
Expression- AnExpressionrepresenting the raw source attachment.
Examples
Attach raw Rel source code:
common.raw_source("rel", "def my_rule { 42 }")