diff options
author | Jim Hahn <jrh3@att.com> | 2019-04-15 11:10:58 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-04-15 11:10:58 -0400 |
commit | fd3c23fd777f49603d370b88d0fb55405d92ce0a (patch) | |
tree | 9e2bdbd8cb6a0f68e2ac2bd6e25e5109c303d5a6 /models-examples | |
parent | aca88111b78129371aebd6d2c9250a8abb9cc2ac (diff) |
Use keys to speed DB queries
When a filter specifies a name (and possibly version), those can
be used to speed DB searches. Modified the code to use the keys
rather than always retrieving every record before applying the
filter.
Change-Id: I6b48d9e6880ab7e8132d5d8f770394720031b9b5
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-examples')
0 files changed, 0 insertions, 0 deletions