From: Peter Rabbitson Date: Mon, 26 Aug 2013 11:58:22 +0000 (+0200) Subject: These comments are woefully outdated X-Git-Tag: v0.08260~185 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=410a6bced6035333d48c2b92ad968a722a0a0b09;p=dbsrgits%2FDBIx-Class.git These comments are woefully outdated Setting DBIC_TRACE=1 won't help either - we use the fast-path insert which mean the user won't see anything --- diff --git a/examples/Schema/insertdb.pl b/examples/Schema/insertdb.pl index 15bf71b..57cf5a1 100755 --- a/examples/Schema/insertdb.pl +++ b/examples/Schema/insertdb.pl @@ -7,10 +7,6 @@ use MyApp::Schema; my $schema = MyApp::Schema->connect('dbi:SQLite:db/example.db'); -# here's some of the sql that is going to be generated by the schema -# INSERT INTO artist VALUES (NULL,'Michael Jackson'); -# INSERT INTO artist VALUES (NULL,'Eminem'); - my @artists = (['Michael Jackson'], ['Eminem']); $schema->populate('Artist', [ [qw/name/], diff --git a/lib/DBIx/Class/Manual/Example.pod b/lib/DBIx/Class/Manual/Example.pod index e41945b..432b292 100644 --- a/lib/DBIx/Class/Manual/Example.pod +++ b/lib/DBIx/Class/Manual/Example.pod @@ -137,10 +137,6 @@ insertdb.pl my $schema = MyApp::Schema->connect('dbi:SQLite:db/example.db'); - # here's some of the SQL that is going to be generated by the schema - # INSERT INTO artist VALUES (NULL,'Michael Jackson'); - # INSERT INTO artist VALUES (NULL,'Eminem'); - my @artists = (['Michael Jackson'], ['Eminem']); $schema->populate('Artist', [ [qw/name/],