feat: perform remote search on flows

This commit is contained in:
Ali BARIN
2022-08-07 15:39:47 +02:00
parent 0ea8f3a01a
commit 71939f9163
3 changed files with 45 additions and 14 deletions

View File

@@ -15,7 +15,7 @@ const getFlows = async (_parent: unknown, params: Params, context: Context) => {
.withGraphFetched('steps.[connection]')
.where((builder) => {
if (params.name) {
builder.where('flows.name', 'like', `%${params.name}%`);
builder.where('flows.name', 'ilike', `%${params.name}%`);
}
if (params.appKey) {