X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FBasicCRUD.pod;fp=lib%2FCatalyst%2FManual%2FTutorial%2FBasicCRUD.pod;h=75eb95e46c9630753b1a838b66ac3f1b772c9fc3;hb=f2c10d65222a90ee666a98daeff0120508061b52;hp=b06639553e3fbec202f141cb64fc0d3e3f820a54;hpb=f16ea55da8d12e081cd1e12f25b011d8fc250e88;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod b/lib/Catalyst/Manual/Tutorial/BasicCRUD.pod index b066395..75eb95e 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