diff --git a/docs/en/resources/tools/looker/looker-query.md b/docs/en/resources/tools/looker/looker-query.md index 53f7790d13..3f5f443dc7 100644 --- a/docs/en/resources/tools/looker/looker-query.md +++ b/docs/en/resources/tools/looker/looker-query.md @@ -61,6 +61,8 @@ tools: "field.id2": "condition2", ...}. Do not put the field.id in quotes. Filter expressions can be found at https://cloud.google.com/looker/docs/filter-expressions. + If the condition is a string that contains a comma, use a second + set of quotes. For example, {"user.city": "'New York, NY'"}. Sorts can be specified like [ "field.id desc 0" ]. diff --git a/internal/prebuiltconfigs/tools/looker.yaml b/internal/prebuiltconfigs/tools/looker.yaml index 73bc3b50ca..08abfe8d83 100644 --- a/internal/prebuiltconfigs/tools/looker.yaml +++ b/internal/prebuiltconfigs/tools/looker.yaml @@ -118,6 +118,8 @@ tools: quotes. Filter expressions can be found at https://cloud.google.com/looker/docs/filter-expressions. There is one mistake in that, however, Use `not null` instead of `-NULL`. + If the condition is a string that contains a comma, use a second + set of quotes. For example, {"user.city": "'New York, NY'"}. Sorts can be specified like [ "field.id desc 0" ]. @@ -843,4 +845,4 @@ toolsets: - get_project_file - create_project_file - update_project_file - - delete_project_file \ No newline at end of file + - delete_project_file