Project

General

Profile

Actions

Feature #3512

closed

Dbo: Consider adding loadLazy to the public API

Added by Bruce Toll over 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
Roel Standaert
Target version:
Start date:
08/03/2014
Due date:
% Done:

0%

Estimated time:

Description

When the ids of related objects are known, the loadLazy method appears to provide an efficient mechanism for adding dbo objects (without retrieving related objects).

For your consideration, I've attached a patch that makes loadLazy public - along with test cases for loadLazy and various alternatives.

The patch was lightly tested with Wt github version 3.3.3-10-g87e2887 on Debian GNU/Linux 7.6 (Wheezy).


Files

Actions #1

Updated by Koen Deforche over 10 years ago

  • Status changed from New to InProgress
  • Assignee set to Roel Standaert
  • Target version set to 3.3.4

Hey Bruce,

I hadn't considered that use-case, and then I have to agree with your proposed change.

Regards,

koen

Actions #2

Updated by Roel Standaert about 10 years ago

  • Status changed from InProgress to Resolved
Actions #3

Updated by Koen Deforche almost 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF