Hi
I need some help on profile, i am running 10 db query on my home page including 4 models, but in profiling results it show for $db following
DATABASE: cms (page:$db) QUERIES: 10 (0.0427 seconds) (Hide)
for any model call on same page results are following
DATABASE: cms (Model_m:$_database) QUERIES: 10 (0.0087 seconds)
my question is CI executing 10 queries on each db or model call if yes than it is calling 10 queries on each model load. this is really confusing please somebody clear it. these are just 10 calls or more.
in my CI 2 profile log it show each call under $db, but with CI 3 it show 10 query for $db, also on each model.
I need some help on profile, i am running 10 db query on my home page including 4 models, but in profiling results it show for $db following
DATABASE: cms (page:$db) QUERIES: 10 (0.0427 seconds) (Hide)
for any model call on same page results are following
DATABASE: cms (Model_m:$_database) QUERIES: 10 (0.0087 seconds)
my question is CI executing 10 queries on each db or model call if yes than it is calling 10 queries on each model load. this is really confusing please somebody clear it. these are just 10 calls or more.
in my CI 2 profile log it show each call under $db, but with CI 3 it show 10 query for $db, also on each model.