<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Oct 20, 2008 at 4:13 AM, Seb Ruiz <span dir="ltr">&lt;<a href="mailto:ruiz@kde.org">ruiz@kde.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Max,<br>
I&#39;d like to be able to give scripts access to insert or update tracks<br>
into the local sql collection database. My primary reason for doing<br>
this is to workaround numerous issues within QtScript combined with<br>
QtSql. Essentially, I&#39;d like to be able to do something to the effect<br>
of sqlCollection()-&gt;insertTrack( url ); and add associated statistical<br>
data to that track (playcount, score etc).<br>
<br>
What is your opinion on exposing this sort of functionality? If you&#39;re<br>
okay with that, what would be the best implementation?<br>
<br>
Cheers,<br>
Seb</blockquote></div><br>I really can&#39;t imagine any other script ever needing to do this. So to me that means either you should rethink having it be a script at all or it means that you shouldn&#39;t worry about making the API clean, since its essentially an internal API. So do whatever makes implementation easy.<br>
<br>Ian<br></div>