diff --git a/src/adapter/resource.ts b/src/adapter/resource.ts index d42028e..5f8c9b9 100644 --- a/src/adapter/resource.ts +++ b/src/adapter/resource.ts @@ -156,7 +156,11 @@ class Resource extends BaseResource { if (property.type() === 'uuid' || property.isId() || property.type() === 'boolean') { query.where(key, filterElement.value as string) - } else if (property.type() === 'string') { + } else if ( + property.type() === 'string' || + property.type() === 'textarea' || + property.type() === 'richtext' + ) { const dialect = this.databaseType() if (dialect === 'postgres') {