postgresql - How to get sequelize.ARRAY internal datatype -
node seqeulize supports postgres array type. http://docs.sequelizejs.com/variable/index.html#static-variable-datatypes
say :
namevariations: { type: sequelize.array(sequelize.string), allownull: true, }
let's assume model called city.
when looking @ city model, see attribute called namevaritions of type "array", couldn't find way in seqeulzie find array internal type (in case seqeulize.string).
how can achieved in seqeulize? there way read internal type seqeuzlie model or model instance?
the following image shows have available on model attribute:
Comments
Post a Comment