On Thu, Nov 10, 2011 at 14:52, Charlie Katz <[email protected]> wrote: > Hi, > With SQL tracing turned on via $schema->storage->debug(1), does every SQL > statement reported represent a trip to the database? Or is it showing the > SQL that would be required to retrieve the requested value, regardless of > whether it's already in memory?
It is the actual SQL that was sent to the DB. Anything that DBIC can find without going to the DB doesn't generate SQL, let alone get shown in the trace. Rob _______________________________________________ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[email protected]
