haxetink / tink_sql

SQL embedded into Haxe
MIT License
53 stars 16 forks source link

nodejs postgresql driver #92

Open axelhuizinga opened 4 years ago

axelhuizinga commented 4 years ago

I would like to use your lib but need a nodejs pg driver - can we add the missing pieces quickly?

piboistudios commented 4 years ago

Well, I am similarly planning to write a Driver for node mssql.

Maybe this will help but my plan so far is:

The main thing I have yet to figure out is how to deal with a more promise based API.. both PG and MSSQL return connection pools as promises in the packages I've seen and MySQL doesn't apparently. But I'm sure that's not a big deal since tink already natively support JS promises.