Welcome Guest, Not a member yet? Register   Sign In
Using Model's CRUD methods in advanced queries
#1

Hi all,
I have created 3 tables in my database.

Code:
Products (ID, name)
Categories (ID, name)
Products_Categories (productID, categoryID)

This last table is used to link one or more categories to one or more products.
Can I use CRUD methods available in CI 4 to get, for example, all products in a given category?
Thanks for your help.
Reply


Messages In This Thread
Using Model's CRUD methods in advanced queries - by RobT - 10-30-2019, 07:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB