source: MML/trunk/applications/database/mym/dbm/@BasicDB/itemList.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 408 bytes
Line 
1function [id, items, tags] = itemList(a_f)
2% ITEMLIST - list id the identifiers
3%   [id, items, tags] = itemList(f) return the elements of the current
4%     collection of f.
5
6q = 'SELECT id FROM {S}';
7id = mym(a_f.conInfo.id, q, a_f.ctx.collection);
8if nargout>=2
9  items = itemGet(a_f, id);
10end
11if nargout>=3
12  q = 'SELECT tag FROM {S} WHER id={Si}';
13  tags = mym(a_f.conInfo.id, q, a_f.ctx.collection);
14end
Note: See TracBrowser for help on using the repository browser.