Module restq::ast::dml

source ·
Expand description

DML stands for Data Manipulation Language and this module contains the AST for DML operations such as Insert, Delete, Update table.

Structs§

  • DELETE /product{product_id} 1 2 3
  • PATCH /product{*product_id,name} 1,go pro,1,go pro hero4 2,shovel,2,slightly used shovel
  • DELETE /product?product_id=1
  • PATCH /product{description=“I’m the new description now”}?product_id=1

Enums§

  • Insert can get data from a set of values or from a select statement

Functions§

  • bulk delete
  • bulk update
  • product?product_id=1
  • product{product_id,created_by,created,is_active}?returning=product_id,name
  • product{description=“I’m the new description now”,is_active=false}?product_id=1