columnType method

int columnType(
  1. int column
)

Returns the column type oid

Implementation

int columnType(int column) {
  if (column < 0 || column >= columns)
    throw LibPqException("Column index out of range!");
  return psql.pq.PQftype(res, column);
}