result = table.query_scalar(
["pk", "text", "vector", "number"],
expr = "number > 200"
)
Result:
This method returns a Dictionary where the key is field name and the associated value is field-value list. If the error pops up when querying, “HippoConn.handle_json_resp” will raise related exception.
Parameter description:
Parameters | Description | Required |
---|---|---|
output_fields (list[str]) | Output field list | Yes |
expr (str) | Expression used in query | Yes |