Skip to content

Commit

Permalink
style: add missing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
php-coder authored Jul 26, 2020
1 parent ddb2e16 commit 58033fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Generates the endpoints (or a whole app) from a mapping (SQL query -> URL)
FROM categories
WHERE id = :p.categoryId
```
Note that the queries use a little unusual named parameters: `:b.name`, `p.categoryId`, etc The prefixes `b` (body) and `p` (path) are used here in order to bind to parameters from the appropriate sources. The prefixes are needed only during code generation and they will absent from the resulted code.
Note that the queries use a little unusual named parameters: `:b.name`, `:p.categoryId`, etc The prefixes `b` (body) and `p` (path) are used here in order to bind to parameters from the appropriate sources. The prefixes are needed only during code generation and they will absent from the resulted code.

1. Generate code
```console
Expand Down

0 comments on commit 58033fb

Please sign in to comment.