Namespaces
-
list
-
-
datalist
-
-
subdatalist
-
-
show
-
-
create_form
-
-
create
-
-
update_form
-
-
update
-
-
loadtab
-
-
set_status
-
-
search
-
-
destroy
-
Type Definitions
-
associationObject
-
Description
An object providing association function and its parameter.Properties
Name Type Description funcstring Sequelize alias function (Ex: setR_user) used to create association in database valuenumber | Array.<number> Parameter of alias function. Id or array of ids to associate Examples
const association = {func: 'setR_user', value: [42, 84]}; await entityInstance[association.func](association.value);Details
-
fileObject
-
Description
File object built from multer data in `model_builder.parseBody()`Properties
Name Type Attributes Description isPictureboolean If file is for a picture field isModifiedboolean True when any modification occur client side. Used to know if a previous version need to be deleted attributestring Field attribute of the file finalPathstring Secured and formated filepath bufferbuffer <optional> If there is no buffer, the file as been removed from form data and needs to be deleted on disk funcfunction <optional> Function called in `res.success()` with the fileObject as parameter. Default function that write or remove file to/from disk is added in '/create' and '/update' routes. Provide your own to change how file is handled Details