This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok.Collection.query return type

Tags: None
(comma "," separated)
Fencer
Registered Member
Posts
1
Karma
0

Amarok.Collection.query return type

Fri Aug 07, 2009 7:33 pm
hi there, I'm using the following code to read out all albums with no artist set:

sql=Amarok.Collection.query("SELECT name,id FROM albums WHERE ISNULL(artist)");
Amarok.alert(sql);

now my  problem is that sql[0] will only contain the name but not the id.
So the question is: How can I get all collumns out of the result?


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]