[MM-24665] refactor team store to use squirrel (#14549)

* Refactor team store to use squirrel

* Fixing or expression

* Refactor team store to use squirrel

* Refactor team store to use squirrel

* Refactor team store to use squirrel

* Refactor team store to use squirrel

* Removing shadow declaration

* Fix error messages

* Improving Update() and Delete() calls

* Update store/sqlstore/team_store.go

Using squirrel to build 'in' clause

Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>

* Add missing translation

Co-authored-by: Dante Pippi <dantepippi@gmai.com>
Co-authored-by: Miguel de la Cruz <mgdelacroix@gmail.com>
Co-authored-by: mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Claudio Costa <cstcld91@gmail.com>
Этот коммит содержится в:
dantepippi
2020-08-03 09:24:26 -03:00
коммит произвёл GitHub
родитель 94ee1fa5c6
Коммит d22dd262ee
4 изменённых файлов: 253 добавлений и 178 удалений

Просмотреть файл

@@ -7402,6 +7402,10 @@
"id": "store.sql_team.get_all_private_team_listing.app_error",
"translation": "We could not get all private teams."
},
{
"id": "store.sql_team.get_all_private_team_page_listing.app_error",
"translation": "We could not get all private teams in page."
},
{
"id": "store.sql_team.get_all_team_listing.app_error",
"translation": "We could not get all teams."