Created
May 25, 2014 01:50
-
-
Save theRemix/e404fec94e10a8d103a6 to your computer and use it in GitHub Desktop.
Test fix to RecordMacros.hx
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
| -main Test | |
| -php test |
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
| import sys.db.Manager; | |
| import sys.db.Types; | |
| @:id(id) | |
| class User extends sys.db.Object { | |
| public var id : SId; | |
| public var name : SString<32>; | |
| } | |
| class Test | |
| { | |
| public function new() | |
| { | |
| var limit = User.manager.select(true, { limit : 2 }); | |
| var limit_offset = User.manager.select(true, { limit : [2, 5] }); | |
| } | |
| static public function main() | |
| { | |
| var app = new Test(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment