Table
Create table and insert/update/delete rows
Create Table: The empty table statement
let emptyOrderList = table(orderNo, price, isConfirmed);Converting a record to a table
let myTable = *myRecord;
let myOtherTable = *[a: 1, b: 2];Insert row: The table concatenation (&) operator
let newOrderList = orders & selectedOrder;
let allOrders = localOrders & centralOrders;
let orders = orders & [orderNo: orderNo, partNo: partNo, qty: qty];Update row: The WITH Keyword
let newItems = items with [price: price * 1.03];Delete rows: The EXCEPT Keyword
Delete rows: The EXCEPT WHERE Keyword
Last updated
Was this helpful?