I cannot find any appropriate method to get the last insert ID. Currently, if I use the Db class to execute queries I will need to do something like this
Db::query($query, $bind); return Db::get()->lastInsertId();
I think that's how it is supposed to work currently. How would you want to use it instead?
Ok. I'm asked question just for clarification.
Ok. Please ask questions in the Forums next time. There's a category for that http://forum.piwik.org/list.php?9