On Thu, 2006-06-15 at 15:11 +0800, Dreamingk(天成) wrote: > I am using trac and love it. I am writing a plugin to do codereview. > It's easy to create table by trac API in database, but i don't know > how to create view . > Who can tell me a way to do that? Thank you very much.
There is an existing code review plugin you may want to look at and see if it's close to what you're looking for: http://trac-hacks.org/wiki/PeerReviewPlugin The Trac DB modules don't provide any methods for creating views. If you think they're necessary you'll need to just write and execute the SQL. Views may be a bit difficult to write in a cross-DB-engine way, so it may be more compatible to just use subselects instead. -- Matthew Good <[EMAIL PROTECTED]> _______________________________________________ Trac-dev mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac-dev
