Browse Source

feat(testing): minor cleanup

pull/3848/head
Muhammed Mustafa 2 years ago
parent
commit
ed0e96303f
  1. 8
      packages/nocodb/src/lib/models/User.ts

8
packages/nocodb/src/lib/models/User.ts

@ -201,14 +201,6 @@ export default class User implements UserType {
)
.as('projectsCount')
);
// .count(`${MetaTable.PROJECT_USERS}.fk_user_id`, { as: 'projectsCount' })
// .leftJoin(MetaTable.PROJECT_USERS, function () {
// this.on(
// `${MetaTable.PROJECT_USERS}.fk_user_id`,
// '=',
// `${MetaTable.USERS}.id`
// );
// });
if (query) {
queryBuilder.where('email', 'like', `%${query.toLowerCase?.()}%`);
}

Loading…
Cancel
Save