What doesn't it mean when a query got this :: ? for exmaple, "DB::connect" ??
THanks.
If it really IN a query:
SELECT bla::integer FROM table
then it's type-casting. Whatever is in 'bla' will be presented asif it is an integer.
But, DB::connect sounds more like you are calling the 'connect' method of the DB object.
so it only can be use in sql statement only is it?
It can be used everywhere, but it doesn't mean the same every where.