Created
May 25, 2019 06:45
-
-
Save karthik20522/cc0de39c2b8ef2d83707fed298161c8e to your computer and use it in GitHub Desktop.
select name,age from users
This file contains hidden or 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
def select: Parser[Select] = "select" ~ repsep(ident, ",") ^^ { | |
case "select" ~ f => Select(f: _*) | |
} | |
//output: Select(List[String]("name", "age")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment