| Class | Description |
|---|---|
| SetDirective |
The set directive knows to only insert "SET" if there is any content returned by the containing tags,
If that content begins or ends with ",", it knows to strip it off.
|
| TrimDirective |
The trim directive knows to only insert the prefix and suffix if there is any content returned by the containing tags
And the trim directive will remove prefixOverrides and suffixOverrides in the content
They are used in templates like
<@trim prefix="where (" prefixOverrides=["and ", "or "] suffix=")" suffixOverrides=[" and", " or"]>...</@trim> |
| TrimDirective.TrimSymbol |
Trim directive param container
|
| TrimDirective.TrimWriter |
Trim directive writer
|
| WhereDirective |
The where directive knows to only insert "WHERE" if there is any content returned by the containing tags,
If that content begins or ends with "AND" or "OR", it knows to strip it off.
|