GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
That would be pretty sweet, the api parity would be welcome as the sugar provided by the Client and Query objects could be totally reused, and you're totally welcome to try it. I would caution though it might be harder than it initially looks unless you intend on 'faking' some of the events.
I moved the connection logic from the client to the connection. Branch is here:
Does this make sense to you?
Next step is the implementation of prepared statements etc. in the new nativeConnection mdoule. Involved methods are:
Maybe we want to hide this process as well in the javscriptConnection module...
I refactored the hell out of the native connection code! libq and pg-native