Say I have query 'select person.* from person where ...';
I execute it with db.driver.executeQuery.
With result returned from executeQuery, how can I conveniently create a Person model object (that is already defined)?
I'm trying to bridge gap between code that is using ORM vs non-ORM code base.
Say I have query 'select person.* from person where ...'; I execute it with db.driver.executeQuery. With result returned from executeQuery, how can I conveniently create a Person model object (that is already defined)? I'm trying to bridge gap between code that is using ORM vs non-ORM code base.
Thanks in advance!