Method Postgres.postgres_result()->num_fields() Method num_fields int num_fields() Description Returns the number of fields in the result.