Soft delete doesn't work with like? |
(11-02-2019, 10:57 AM)edica Wrote: So would it be better to use only the Query Builder Class? I think the idea was to have a few Model methods for some very frequently needed tasks related to basic CRUD operations. I don't know that these were intended to "look" or fully behave like Builder functions for implementing more complex CRUD ops. Looks like you're able to make it work so that's a good thing. If you can make it do what you need then why not use it? While we're talking about Model vs Builder, it might be smart to keep in mind that the Model's "write" functions (insert, update, etc) are more than simple wrappers around Builder methods of the same name, nor are they using __call() "magic" to get to Builder methods. So make sure you understand what the core code is doing before trying to chain Model methods with Builder methods. |
Messages In This Thread |
Soft delete doesn't work with like? - by edica - 10-29-2019, 07:51 AM
RE: Soft delete doesn't work with like? - by MGatner - 11-01-2019, 06:34 AM
RE: Soft delete doesn't work with like? - by edica - 11-01-2019, 12:40 PM
RE: Soft delete doesn't work with like? - by dave friend - 11-01-2019, 08:39 PM
RE: Soft delete doesn't work with like? - by edica - 11-02-2019, 06:40 AM
RE: Soft delete doesn't work with like? - by dave friend - 11-02-2019, 08:03 AM
RE: Soft delete doesn't work with like? - by edica - 11-02-2019, 10:57 AM
RE: Soft delete doesn't work with like? - by dave friend - 11-02-2019, 11:55 AM
|