• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Are Transactions supported together with the usage of Models?

#3
(12-30-2018, 09:34 PM)kilishan Wrote: That's a good question, actually. The _call method and the builder instance should allow you to access the transactions through the model but I honestly haven't tried it.

Thanks! It works via the __call method. Did not know about it. Perhaps it is worthwhile to mention anywhere at a prominent place that methods of the builder and the database connection can be used directly from the model.

PS: It is actually indirectly mentioned at a hidden place: in the note paragraph of the "Working With Query Builder" section.
Reply


Messages In This Thread
RE: Are Transactions supported together with the usage of Models? - by HardyW - 12-31-2018, 01:04 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.