How to get attributes of columns from SQL query (PHP Phalcon PostgreSQL)

I have two tables: manager, order.

One manager has many orders.

How i can get columns types, which in SELECT, from query like this

SELECT m.name, o.date, o.phone
FROM manager m
LEFT JOIN order o ON m.id = o.manager_id


Source: php

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.