Hi! I'm new with CodeIgniter 4 (and with web frameworks in general), and while I was doing a project I've encountered a problem. I want to add an element to a DB, but I'll need to write into two different tables (one of them with a foreign key to another). Can I achieve it with $model->save() or do I have to use another method to achieve this (like a DB query with JOIN or something like that)?
Thanks in advance