DDLGenerator

Methods

generateDDL(req, resp) inner

Endpoint for generate DDL script Expect POST request with JSON in BODY: ["entity1", "entity2", ...] or {unsafe: Boolean, resultAsObject: Boolean, entities: ["entity1", "entity2", ...]}

In case resultAsObject === true return object notation of script, otherwise - text

Arguments:
  1. req (THTTPRequest)
  2. resp (THTTPResponse)