Last active
August 29, 2015 14:07
-
-
Save Ke-/aaee6ee0dff54f14fc9e to your computer and use it in GitHub Desktop.
Active Statement Example
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
| local( | |
| query = .ds->table( | |
| ::mytable | |
| )->select( | |
| #columns | |
| )->where( | |
| #where | |
| )->orderby( | |
| #orderby | |
| )->limit( | |
| #max * (#pagenumber -1),#max | |
| ), | |
| count = #query->count | |
| ) | |
| with row in #query->rows do { | |
| // do some stuff | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment