businessdad
MVPHackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
businessdad MVP
Reactions
-
Re: Is it possible to know if a Gdn_Model::Save() was successful, without using an autoincrement key?
That could be an idea. Time for an experiment! It's set in Gdn_SqlDriver::Query(): public function Query($Sql, $Type = 'select') { switch ($Type) { case 'insert': $ReturnType = 'ID'; break; case 'upd… (View Post)2 -
Is it possible to know if a Gdn_Model::Save() was successful, without using an autoincrement key?
I've struggling with an apparently failing Save() statement for a couple of hours, only to find out that it actually saves data correctly, but it doesn't return what one would expect. Environment is … (View Post)3 -
Re: SQL fetching advice needed.
I reckon that it should work. The amount of data is tiny anyway, therefore having an index on the seven columns you indicated might not make such big difference. (View Post)2 -
Re: SQL fetching advice needed.
I reckon he means five where clauses, processed using AND. That is "where X AND where Y AND where Z..." @peregrine I see that you already got excellent answers from @hbf and @R_J. What they… (View Post)2 -
Re: SQL fetching advice needed.
If you really have to filter by (potentially) any and every column, then you might be better off indexing each column separately, rather than creating combined indexes. However, I would advise agains… (View Post)2