Skip to content

db.column References in the Order part of a query parse correctly.#2

Open
joeynovak wants to merge 1 commit intosoundintheory:masterfrom
novaksolutions:master
Open

db.column References in the Order part of a query parse correctly.#2
joeynovak wants to merge 1 commit intosoundintheory:masterfrom
novaksolutions:master

Conversation

@joeynovak
Copy link

This query: SELECT NovaLog.id, NovaLog.type, NovaLog.message, NovaLog.email_sent, NovaLog.hide, NovaLog.created, NovaLog.modified FROM meridian-dc.nova_logs AS NovaLog WHERE email_sent = '1' ORDER BY NovaLog.created DESC LIMIT 1

Would not parse correctly. I did a quick fix that gets it parsing, but I didn't run the test suite yet. I don't have time to checkout the project, run the tests, etc... (My environment isn't setup for composer at the moment), but I wanted to send you the fix / make you aware of the problem.

Joey

This query: SELECT `NovaLog`.`id`, `NovaLog`.`type`, `NovaLog`.`message`, `NovaLog`.`email_sent`, `NovaLog`.`hide`, `NovaLog`.`created`, `NovaLog`.`modified` FROM `meridian-dc`.`nova_logs` AS `NovaLog`   WHERE `email_sent` = '1'   ORDER BY `NovaLog`.`created` DESC  LIMIT 1

Would not parse correctly.  I did a quick fix that gets it parsing, but I didn't run the test suite yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant