'emr_track.ls' returns a list of all tracks (global and user) in the
database that match the pattern (see 'grep'). If called without any
arguments all tracks are returned.
If pattern is specified without a track attribute (i.e. in the form of
'pattern') then filtering is applied to the track names. If pattern is
supplied with a track attribute (i.e. in the form of 'name = pattern') then
track attribute is matched against the pattern.
Multiple patterns are applied one after another. The resulted list of tracks
should match all the patterns.
If db_id
parameter is set, only tracks within the specific db would be shown.
Note that tracks which were overridden by other databases would not be shown, even if
their files exist within the database. See emr_db.connect
for more details.
'emr_track.global.ls', 'emr_track.user.ls', 'emr_track.logical.ls' work similarly to
'emr_track.ls' but instead of returning all track names, each of them
returns either global, local or logical tracks accordingly.