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:
-
req
(THTTPRequest)
-
resp
(THTTPResponse)
["entity1", "entity2", ...]
or {unsafe: Boolean, resultAsObject: Boolean, entities: ["entity1", "entity2", ...]}
In case resultAsObject === true
return object notation of script, otherwise - text
req
(THTTPRequest)
resp
(THTTPResponse)