/
TQL Coding Style and Guidelines
TQL Coding Style and Guidelines
Coding Style
Code Templates
Code Formatting
Naming Consideration
Documentation and Comments
Packaging and Deployment
Enforcement
Macro calls
- Use fully qualified Macro Names when calling them
- Macro Arguments as modifiers
Macro Definition
# Macro(name: "QueryCreate"): Argument: StatusCheck: Failure ContinueCheck: false Result: Query: Create: Include: $Macro.Argument Scope: "Atomiton.Common.UpdateOp": Status: $Macro.Argument.StatusCheck Continue: $Macro.Argument.ContinueCheck
Macro Calling
# Atomiton.DB.QueryCreate(StatusCheck: "[:#t#[:MX-RT:][:ResMV:].NewProject.Status:]", ContinueCheck: "[:/'[:#t#[:MX-RT:][:ResMV:].NewProject.Status:]' = 'Success':]", as: "NewProject:$Name", using: "Atomiton.EngineManager.Blocks"): Project: Name: $Macro.Argument.Name Include: $Macro.Argument
, multiple selections available,
Related content
What is TQL?
What is TQL?
More like this
TQL Model grammar
TQL Model grammar
More like this
Lifecycle of models
Lifecycle of models
Read with this
Development lifecycle
Development lifecycle
Read with this
A-Stack Threading Model
A-Stack Threading Model
Read with this