![]() |
|
|
+ Search |
![]()
|
May 22nd, 2001 11:48
Engineer TCSI,
Yes it can. For Bulk methods Get, Set, and Delete, the second
argument is "target". This can be either a string SQL query fragment,
or a tuple of PyOsp stub instances.
import Osp, <unit>, Bulk
getList = ( <unit>.<class>._attrs['<attr name 1>'],
<unit>.<class>._attrs['<attr name 2>'] )
return Bulk.Get( <unit>.<class>, '<where clause>', getList,
None, <tomId>)