neutron-lib/releasenotes/notes/add-support-for-fetching-specific-column-in-OVO-81b764b203849776.yaml
Hongbin Lu 5aad62cbc0 Support fetching specific db column in OVO
This commit introduces a new method 'get_values' in
neutron_lib.db.model_query module. Callers can leverage
this method to fetch specific field of a OVO.

Related patch in Neutron: https://review.openstack.org/#/c/610182/

Change-Id: I524c7101fa2dcbc5bd78587bf1fc8107faca70b5
2018-11-26 20:21:50 +00:00

10 lines
345 B
YAML

---
features:
- |
Add method ``get_values`` in ``neutron_lib.db.model_query``.
This method allow callers to fetch specific column from
a database model.
Add keyword parameter ``field`` to method ``query_with_hooks``.
The default value of this parameter is None.
Callers can set this parameter to query specific column.