Article View: pl.comp.lang.php
Article #231091Re: MVC: zapytanie SQL z kontrolera
From: Borys Pogoreło
Date: Wed, 29 Jul 2015 18:08
Date: Wed, 29 Jul 2015 18:08
14 lines
1700 bytes
1700 bytes
Dnia Tue, 28 Jul 2015 05:28:36 -0700 (PDT), jivanmukta@poczta.onet.pl napisał(a): > Przyjąłem zasadę, że w przypadku prostych, pojedynczych instrukcji SQL, używam kodów błędów (najczęściej TRUE/FALSE), np.: > (...) > Czy to ma sens? Nie ma, bo w żaden sposób wtedy nie odróżnisz błędów od siebie, by móc odpowiednio zareagować. I niepotrzebnie sobie komplikujesz życie pisząc kod na dwa sposoby. -- Borys Pogoreło borys(#)leszno,edu,pl
Technical Details
Message-ID:
<v064hvoepzou.1up3w35uq1ug6.dlg@40tude.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mailReferences:
<40546498-26c6-4e09-a62f-815df4bdc3f8@googlegroups.com> <18ib0oawqi49n$.zkxevcy1a7jc.dlg@40tude.net> <db28497e-bddd-44e5-9575-5cf1a3fe5c41@googlegroups.com> <1mg1pouopguup.jcxkalwncm2x$.dlg@40tude.net> <41f4e3a9-f1eb-4566-b59d-070e8adb52c6@googlegroups.com> <f1w4cvuwawti$.in9jfueie26q$.dlg@40tude.net> <140d567e-85f8-4073-a5ea-6bcfc4362b09@googlegroups.com> <mbampg1n4760$.1rvzkky97kjm7.dlg@40tude.net> <a72748a9-2485-40bb-854d-55955a769c80@googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!news.promontel.net.pl!not-for-mail From: Borys Pogoreło <borys@pl.edu.leszno> Newsgroups: pl.comp.lang.php Subject: Re: MVC: zapytanie SQL z kontrolera Date: Wed, 29 Jul 2015 20:08:25 +0200 Organization: snafu Lines: 14 Message-ID: <v064hvoepzou.1up3w35uq1ug6.dlg@40tude.net> References: <40546498-26c6-4e09-a62f-815df4bdc3f8@googlegroups.com> <18ib0oawqi49n$.zkxevcy1a7jc.dlg@40tude.net> <db28497e-bddd-44e5-9575-5cf1a3fe5c41@googlegroups.com> <1mg1pouopguup.jcxkalwncm2x$.dlg@40tude.net> <41f4e3a9-f1eb-4566-b59d-070e8adb52c6@googlegroups.com> <f1w4cvuwawti$.in9jfueie26q$.dlg@40tude.net> <140d567e-85f8-4073-a5ea-6bcfc4362b09@googlegroups.com> <mbampg1n4760$.1rvzkky97kjm7.dlg@40tude.net> <a72748a9-2485-40bb-854d-55955a769c80@googlegroups.com> NNTP-Posting-Host: agog139.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: thunar.promontel.net.pl 1438193286 14625 217.99.238.139 (29 Jul 2015 18:08:06 GMT) X-Complaints-To: abuse@promontel.net.pl NNTP-Posting-Date: Wed, 29 Jul 2015 18:08:06 +0000 (UTC) User-Agent: 40tude_Dialog/2.0.14.1pl X-fnord: obey. Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit