Visit: https://forum.phparea.com/thread/how-to-perform-database-queries-in-phalcon