Registered Member
|
Hi, i'm trying to work on something that will generate an HTML page for my collection, including tags that retrieve cover art. I'm a C++ programmer and don't have that much experience with javascript, but i can code. I've looked through the documentation provided, but i can't see anything on using the db query results or what kind of queries i can do. What tables are available to me in the db? Is there a documented layout of the db somewhere? And in the following code ( assuming that columns and tables are filled in based on what i want to select ), what can i do with the results object? The dev documentation claims to return a QStringList which i can't find in the QtScript docs.
var sql = Amarok.Collection.escape( "SELECT columns FROM tables" ) results = Amarok.Collection.query ( sql ) Thanks in advance David Goemans |
KDE Developer
|
It should be an Array of String.
Amarok Developer
|
Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]