brianc / node-libpq

Simple, low level native bindings to PostgreSQL's libpq from node.js
111 stars 41 forks source link

Added ftable and ftablecol functions #58

Closed TVrijdag closed 2 months ago

TVrijdag commented 6 years ago

Hey,

We have recently noticed that query results of the native pg module does not contain the tableID or columnID of fields. These properties are however included in the result of node-postgres.

This PR adds ftable(fieldNumber: int): int and ftablenum(fieldNumber: int): int to libpq. If you accept this PR, I could propose a PR for node-pg-native if you would like me to.

brianc commented 2 months ago

welp - 6 years later...finally merging this! 🤦 Been out of the native game for a while...but this is appreciated none the less!