Skip to content

Instantly share code, notes, and snippets.

@theRemix
Created May 25, 2014 01:50
Show Gist options
  • Select an option

  • Save theRemix/e404fec94e10a8d103a6 to your computer and use it in GitHub Desktop.

Select an option

Save theRemix/e404fec94e10a8d103a6 to your computer and use it in GitHub Desktop.
Test fix to RecordMacros.hx
-main Test
-php test
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