IBM / nodejs-idb-connector

A JavaScript (Node.js) library for communicating with Db2 for IBM i, with support for queries, procedures, and much more. Uses traditional callback-style syntax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Field Column Header text

joaojmendes opened this issue · comments

Please create a method to get column header of Field, at this moment we only have the:

statement.fieldName(index);

and
maybe:
statement.FieldHeader(index)

Thank you!

What do you mean by field header?

Hello @joaojmendes , Did you mean the label for a column? API link.

SQL_DESC_LABEL CHAR(128) The label for this column, if one exists. Otherwise, a zero-length string.For this attribute to be retrieved, the attribute SQL_ATTR_EXTENDED_COL_INFO must have been set to SQL_TRUE for either the statement handle or the connection handle.

Currently we have some problems when calling the API SQLColAttribute to get the column label. I need to find some other solutions.

👋 Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.