You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to define selected columns by array (using %n modifier) where column names are not only names but expressions like DATE_FORMAT, IF(), atc?
According to docs this should be possible, but final query does not contain columns that are defined as expressions.
Version: 4.1.3
dibi::expression in conjunction with %n modifier and alias not working
used as:
dibi::fetchAll('SELECT %n FROM users', $cols);
will result in SELECT name AS firstname, surname AS lastname FROM users
The text was updated successfully, but these errors were encountered: