![]() |
11-04-2021, 06:59 AM
(This post was last modified: 11-04-2021, 07:00 AM by objecttothis. Edit Reason: clarity )
@manager, a quick followup. Am I correct in my understanding then that the $builder does not need to be reinstantiated unless the table that the operation is being performed against is being changed?
For example the following code doesn't need a new `$builder = $this->db->table();` reference because the delete() is being run against the same attribute_links table? PHP Code: $builder = $this->db->table('attribute_links'); |
Messages In This Thread |
CI4 $this-db->Table() inside foreach or outside - by objecttothis - 11-04-2021, 02:08 AM
RE: CI4 $this-db->Table() inside foreach or outside - by manager - 11-04-2021, 06:24 AM
RE: CI4 $this-db->Table() inside foreach or outside - by objecttothis - 11-04-2021, 06:59 AM
RE: CI4 $this-db->Table() inside foreach or outside - by manager - 11-04-2021, 11:10 AM
RE: CI4 $this-db->Table() inside foreach or outside - by objecttothis - 11-04-2021, 11:31 AM
RE: CI4 $this-db->Table() inside foreach or outside - by manager - 11-04-2021, 10:19 PM
RE: CI4 $this-db->Table() inside foreach or outside - by objecttothis - 11-04-2021, 10:45 PM
RE: CI4 $this-db->Table() inside foreach or outside - by manager - 11-05-2021, 11:56 AM
RE: CI4 $this-db->Table() inside foreach or outside - by includebeer - 11-05-2021, 03:10 PM
RE: CI4 $this-db->Table() inside foreach or outside - by InsiteFX - 11-06-2021, 01:17 AM
|