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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -