ISDBDatabase::QuerySongs

From MediaMonkey Wiki
Revision as of 21:08, 11 October 2011 by Steegy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBDatabase, Interface ISDBDatabase

Function QuerySongs(AddSQL As String) As SDBSongIterator


Parameters

Name Type Description
AddSQL String Only condition part of SQL statement (WHERE clause)


Method description

Returns a SDBSongIterator object with a list of tracks fulfilling criteria specified by AddSQL parameter.

Example code

Set Iter = SDB.Database.QuerySongs("SongLength > 60*1000")

Older versions

In MediaMonkey prior version 3.0 the AddSQL string had to start with "AND ", but this is no longer needed.