convert value from routes/uri to string |
(04-16-2019, 07:21 AM)dave friend Wrote: I don't see why you are using the sub-select. Here is how to do the above using Query Builder, but without the sub-select. I think in basic queries it is required to select in sub-queries, am I correct? I have used the logic above before but with basic queries that are required to use sub-select so that it gets erorr which is caused to clash in the ID column, that's why I rotate that logic. the above method does produce the data that I want. but the method above is not a sub-query. the concern is that in the future I have to use multiple sub-queries. what if I faced a query like this (this is only for example): PHP Code: public function user_campaign($var1, $var2, $var3, $var4 ) I apologize in advance if I bother you |
Messages In This Thread |
convert value from routes/uri to string - by DELE - 04-13-2019, 01:42 AM
RE: convert value from routes/uri to string - by Wouter60 - 04-13-2019, 02:13 AM
RE: convert value from routes/uri to string - by DELE - 04-13-2019, 02:50 AM
RE: convert value from routes/uri to string - by Wouter60 - 04-13-2019, 03:04 AM
RE: convert value from routes/uri to string - by DELE - 04-14-2019, 05:48 AM
RE: convert value from routes/uri to string - by dave friend - 04-14-2019, 07:01 AM
RE: convert value from routes/uri to string - by DELE - 04-15-2019, 06:26 PM
RE: convert value from routes/uri to string - by dave friend - 04-16-2019, 07:02 AM
RE: convert value from routes/uri to string - by dave friend - 04-16-2019, 07:21 AM
RE: convert value from routes/uri to string - by DELE - 04-16-2019, 08:40 AM
|