Skip to content

Commit

Permalink
Merged branch master into bug_76
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslabbe committed Dec 14, 2016
2 parents 6498889 + ed5ba06 commit d8f8890
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
14 changes: 14 additions & 0 deletions docs/abe-tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,17 @@ Multiple abe attribute into the same html tag
</html>
```

tips use visible false abe attribute

```html
{{abe type='text' key='text_1' visible="false"}}
{{abe type='text' key='text_2' visible="false"}}
<html>
<head>
</head>
<body class="{{text_1}} {{text_2}}">

</body>
</html>
```

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 d8f8890

Please sign in to comment.