summaryrefslogtreecommitdiff
path: root/doc/reference/javascript_reference.rst
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2020-03-26 18:06:39 +0000
committerRomain Derie <rde@odoo.com>2020-03-26 18:12:47 +0000
commitbd4a44cece6cc51d7358ec3861633bb53db53005 (patch)
treee4d16f59522fe880a1b1711f761ec51b82ea30ac /doc/reference/javascript_reference.rst
parent2c09e00a64a6f565d56c16c0b72549bc6c680b6a (diff)
[IMP] base: perf - try/except instead of exists
Most of the time, the record exists, but we still ensure it does, every single time, making an SQL query. Doing a try catch will result in the same behavior, but won't make that query most of the time. task-2211013
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions