Skip to content

fix orders by multiple fields#11

Open
SntTGR wants to merge 1 commit into
steplix:masterfrom
SntTGR:master
Open

fix orders by multiple fields#11
SntTGR wants to merge 1 commit into
steplix:masterfrom
SntTGR:master

Conversation

@SntTGR
Copy link
Copy Markdown

@SntTGR SntTGR commented Sep 15, 2021

example
query before:

...' INNER JOIN programs programs ON programs.id = schedules.id_program 
WHERE programs.id_program_type = 2 AND schedules.start > 9360 
ORDER BY start ASCend DESC 
LIMIT 1'

query after:

...' INNER JOIN programs programs ON programs.id = schedules.id_program 
WHERE programs.id_program_type = 2 AND schedules.start > 9360 
ORDER BY start ASC, end DESC 
LIMIT 1'

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