Metaprogramming#

eval

Evaluate the given metacode.

sql

Create a SQL statement dynamically.

sqlCol

Generate metacode for selecting one or multiple columns with or without calculations.

sqlColAlias

Use metacode and an optional alias name to define a column.

sqlDelete

Dynamically generate a metacode of the SQL delete statement.

sqlUpdate

Dynamically generate a metacode of the SQL update statement.

expr

Generate metacode from args.

parseExpr

Convert string into metacode, which can be executed by function eval.

binaryExpr

Connect X and Y with the binary operator specified in optr to generate metacode of a binary expression.

unifiedExpr

Connect the operands in objs with the binary operators in optrs to generate metacode of a multivariate expression.

funcByName

Dynamically execute an operator or a function.

makeCall

Call a function with the specified parameters to generate a piece of script.

makeUnifiedCall

Generate metacode for function call.