Skip to content

Commit

Permalink
Update abe-sql.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybesson committed Dec 14, 2016
1 parent 68e2664 commit aa45620
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/types/abe-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ Request:
```
select some_variable from / where `abe_meta.template` IN (`template_name_1`, `template_name_2`, `template_name_3`)
// ex with variables
select some_variable from / where `template` IN `{{variable_array}}`
select some_variable from / where `{{abe_meta.template}}` IN `a title`
select some_variable from / where `template` IN (`{{variable_array}}`)
select some_variable from / where `{{abe_meta.template}}` IN (`a title`)
```

variable_array can be something like this
Expand Down Expand Up @@ -196,7 +196,7 @@ If the json look like this
the result of the request look like that

```
select some_variable from / where `template` IN `{{variable_array}}`
select some_variable from / where `template` IN (`{{variable_array}}`)
=
Expand All @@ -209,14 +209,14 @@ Request:
```
select some_variable from / where `abe_meta.template` NOT IN (`template_name_1`, `template_name_2`, `template_name_3`)
// ex with variables
select some_variable from / where `template` NOT IN `{{variable_array}}`
select some_variable from / where `{{abe_meta.template}}` NOT IN `a title`
select some_variable from / where `template` NOT IN (`{{variable_array}}`)
select some_variable from / where `{{abe_meta.template}}` NOT IN (`a title`)
```

Same as `IN`

```
select some_variable from / where `template` NOT IN `{{variable_array}}`
select some_variable from / where `template` NOT IN (`{{variable_array}}`)
=
Expand Down

0 comments on commit aa45620

Please sign in to comment.