Project

General

Profile

Feature #3512

Dbo: Consider adding loadLazy to the public API

Added by Bruce Toll almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Low
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

#1

Updated by Koen Deforche almost 8 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

#2

Updated by Roel Standaert over 7 years ago

  • Status changed from InProgress to Resolved
#3

Updated by Koen Deforche over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF