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: this have available on model object, no mentioned of internal datatype...


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -