Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: zbytečné GROUP BY #13

Open
castamir opened this issue Apr 22, 2016 · 0 comments
Open

Bug: zbytečné GROUP BY #13

castamir opened this issue Apr 22, 2016 · 0 comments

Comments

@castamir
Copy link
Contributor

https://github.com/SmallhillCZ/Supervizor/blob/master/app/model/Invoice/InvoiceRepository.php#L99
id je PK a bude vždy unikátní...


https://github.com/SmallhillCZ/Supervizor/blob/master/app/presenters/AjaxPresenter.php#L296
nad identifier existuje constraint UNIQUE...


V obou případech dochází k vyhození výjimky v případě, že je použita jiná, striktnější databáze (např. sqlsrv)

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

No branches or pull requests

1 participant