Reputation: 71
Is there an implementation of ORM for cloud spanner in nodejs?
I can see that we can use the good old knex.js for mostly read operations, but that also seems more like a workaround.
Upvotes: 0
Views: 1444
Reputation: 3512
If you are willing to go for unofficial and (probably) unsupported implementations, then there is this repository that adds support for Spanner to TypeORM: https://github.com/Rocketmakers/typeorm/tree/master/src/driver/spanner
It might be worth a try, and as it is open source, you have the possibility of adding features yourself. I have not tried it out myself, so I don't know how much it actually supports.
Upvotes: 2
Reputation: 36
Unfortunately, I don't believe there is support for any ORMs in NodeJS at the moment. There is only ORM support for Hibernate, Spring Data and Django (beta).
Upvotes: 1