Last active
December 11, 2015 04:39
-
-
Save guillaumebort/4546727 to your computer and use it in GitHub Desktop.
Hoho, I've something that will allow to write an awesome Scala Macro for #playframework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> compile | |
[info] Compiling 1 Scala source to /private/tmp/my/target/scala-2.10/classes... | |
> Analysing SQL: select name, age from people where age > ? | |
-- Parameters: | |
java.lang.Integer | |
-- Returns: | |
java.lang.String | |
java.lang.Integer | |
------------- | |
> Analysing SQL: select 1 | |
-- Returns: | |
java.lang.Integer | |
------------- | |
> Analysing SQL: slect * from people | |
ERROR: syntax error at or near "slect" | |
Position: 1 | |
------------- | |
> Analysing SQL: select * from people | |
-- Returns: | |
java.lang.Integer | |
java.lang.String | |
java.lang.Integer | |
------------- | |
> Analysing SQL: insert into people values (?,?,?) | |
-- Parameters: | |
java.lang.Integer | |
java.lang.String | |
java.lang.Integer | |
------------- | |
> Analysing SQL: delete from people where age < ? | |
-- Parameters: | |
java.lang.Integer | |
------------- | |
> Analysing SQL: select address.city from address join people on people.id = address.people_id where people.age > ? | |
-- Parameters: | |
java.lang.Integer | |
-- Returns: | |
java.lang.String | |
------------- | |
[success] Total time: 1 s, completed Jan 16, 2013 1:07:53 PM |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment