Closed maroochee closed 1 year ago
Hey, thanks for using neogma :)
Currently there is no way to support it, and you'll have to do a map
to get only the dataValues
.
However, some ORMs like sequelize have an option to get only the data itself, which is something I can look at :)
Released in v1.12.0. You can just pass a plain: true
param to findMany
and findOne
and it should work as you described.
Hi, I'm starting to use neogma in my project and found out that the return value of .findMany() and QueryBuilder() seems to be different.
QueryRunner.getResultProperties is extracting the properties only
but findMany() only returns the whole instance
is there any way to convert instance into properties only? or do it by myself? that instance has "dataValues" property so I need that data only.