fixed list$ when ids are passed;(drop of other options when building the SQL select, like: limit$, sort$)