Sequelize-typescript: How can I specify a JSON data type?

Created on 17 Sep 2018  路  2Comments  路  Source: RobinBuschmann/sequelize-typescript

Using postgres

Most helpful comment

Hey @shamoons, what about @Column(DataType.JSON) data: any;?

All 2 comments

Hey @shamoons, what about @Column(DataType.JSON) data: any;?

Is there any better approach than 'any' ? Sonar is not happy with any.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

YaroslavOsetrov picture YaroslavOsetrov  路  3Comments

oscarcalvo picture oscarcalvo  路  3Comments

fareshan picture fareshan  路  3Comments

josecolella picture josecolella  路  4Comments

fareshan picture fareshan  路  3Comments