dbQueryCols ============================================== Purpose ---------------- Returns the number of fields in the record. Format ---------------- .. function:: num_fields = dbQueryCols(qid) :param qid: query number. :type qid: scalar :return num_fields: number of fields. :rtype num_fields: scalar