Created
June 20, 2011 06:40
-
-
Save musketyr/1035214 to your computer and use it in GitHub Desktop.
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
import static eu.appsatori.gdata.gsql.SSQL.* | |
// Groovy 1.7 syntax | |
select(all).from("Spreadsheet").sheet("Worksheet").limit(10).offset(5) | |
select(1, "test", 5, "it").from("Spreadsheet") | |
select(all).from("Spreadsheet").order(by).column("Column Name").sort(desc) | |
// fancy new 1.8 syntax | |
select all from "Spreadsheet" sheet "Worksheet" limit 10 offset 5 | |
select 1, "test", 5, "it" from "Spreadsheet" | |
select all from "Spreadsheet" order by column "Column Name" sort desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment