Navigation Menu

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

Currency no-join mode #2535

Closed
yurikuzn opened this issue Dec 19, 2022 · 1 comment
Closed

Currency no-join mode #2535

yurikuzn opened this issue Dec 19, 2022 · 1 comment
Assignees
Milestone

Comments

@yurikuzn
Copy link
Contributor

yurikuzn commented Dec 19, 2022

The config parameter currencyNoJoinMode.

Espo applies a join for each currency field to convert a value to the default currency. If an entity has a lot of currency fields it may cause the error 'MySQL can only use 61 tables in a join'. MySQL does not have an option to increase this limitation.

The no-join mode will make Espo to use an SQL expression w/o joining the currency_rate table.

Downside: You will need to clear cache (in Espo) every time you change currency rates.

@yurikuzn yurikuzn added this to the Version 7.3.0 milestone Dec 19, 2022
@yurikuzn yurikuzn self-assigned this Dec 19, 2022
@yurikuzn
Copy link
Contributor Author

085e5ef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant