/
DSL Reference
DSL Reference
- Mez Files, Units and Functions — units | functions | comments | global scope
- Navigation — DSL_VIEWS built-in enum
- Data Types — primitives | object | persistent | @OneToMany etc. | @NotTracked | enum
- Collections — pop(), length(), etc. | notify | select
- User Roles — @Role | @RoleName | @Restrict | @RolesAllowed | userRole | Identity object | notify
- Control Structures — return | if/else | for loop | foreach
- Date Functions — addDays, daysBetween, etc. | Mez:now vs Date:now
- String Functions — concat, split, length, translate, etc.
- Math Functions — pow | sqrt | random
- Type Conversion — fromString(s) | implicit conversion
- Functions on Persistent Entities — new | save | read | delete | user | invite | removeRole
- Querying Data — all, equals, notEquals, etc. | select | sql
- Scheduled Functions — @Scheduled | __scheduled_function_result__ | @OnScheduledFunctionResultUpdate
- Emails — Mez:email | Mez:emailAttach
- SMS Messages — Mez:sms | notify | @ReceiveSms | @OnSmsResultUpdate | __sms_result__
- Payments — pay | payWithRef | @OnPaymentUpdate
- Input Data Validation — notnull() etc. | validator | validator annotations
- Logs and Pop-ups — Mez namespace | log | alert | warn | error | alertWarn | alertError
- Executing SQL Natively — sql:query | sql:execute
- Inbound API — @POST | @GET | @PUT | @DELETE | @ResponseExclude | @ResponseExpand | api:setStatusCode
- Native JSON Types — json | jsonarray | jsonPut | jsonGet
- CSV Processing — fromCsv | Mez:createBatch | fromCsvLine | MezBatch | MezBatchItem | blob
- Exception Handling — try | catch | finally | throw
- Outbound API — api:get | api:post | api:delete | api:put | MezApiRequest | MezApiResponse
- Unit Tests — @Test | Assert | test
- USSD — @USSD | MezUssdMenu | MezUssdMenuOption
- Overview DSL Reference
- Crypto Functions — createCryptoKey, encrypt, decrypt
- Jasper Report Downloads — downloadReport
- Blob Functions — Blob:fromString, Blob:toString, Blob:wrapFromString, Mez:downloadFile
Related content
Querying Data
Querying Data
Read with this
SAWIF
More like this
View Reference
View Reference
Read with this
ASI
More like this
Collections
Collections
Read with this
Helium Beginner's Tutorial
Helium Beginner's Tutorial
Read with this