exosql v0.2.21 ExoSQL.Executor View Source

Link to this section Summary

Link to this section Functions

Link to this function column_reselect(data, columns, db, table, context) View Source

Executes the AST for the query.

Always returns a ExoSQL.Result and work over them.

Link to this function execute_join(table1, table2, expr, context, no_match_strategy) View Source
Link to this function get_extra_quals(res1, expr, context) View Source
Link to this function quals_with_vars(quals, vars) View Source
Link to this function simplify_expr_columns(other, names, vars) View Source

Simplify the column ids to positions on the list of columns, to ease operations.

This operation is required to change expressions from column names to column positions, so that ExoSQL.Expr can perform its operations on rows.