X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FBasicCRUD.pod;h=d1ec819a12476ee6da7600ad2b5a28c7f21b0760;hb=6395438e94034711cd5cb5f7646f868f045b1776;hp=b06639553e3fbec202f141cb64fc0d3e3f820a54;hpb=936a5dd5c424d816dd470690473c1e38127a0c3c;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod b/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod index b066395..d1ec819 100644 --- a/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod +++ b/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod @@ -206,11 +206,28 @@ in the development server log messages: INSERT INTO books (rating, title) VALUES (?, ?): `5', `TCPIP_Illustrated_Vol-2' INSERT INTO book_authors (author_id, book_id) VALUES (?, ?): `4', `6' + SELECT author.id, author.first_name, author.last_name + FROM book_authors me JOIN authors author + ON ( author.id = me.author_id ) WHERE ( me.book_id = ? ): '6' + +The C statements are obviously adding the book and linking it to +the existing record for Richard Stevens. The C