March 8Mar 8 Owner I find that this works quite well if you want to get a cout of the number of objects in a database:({expression="\IPS\Db::i()->select('COUNT(*)', 'cms_custom_database_49', ['record_approved=?', 1])->first()"})Just replace the ID in the cms_custom_database_49 with the ID of the database you want to get the number of objects from.
I find that this works quite well if you want to get a cout of the number of objects in a database:
Just replace the ID in the cms_custom_database_49 with the ID of the database you want to get the number of objects from.