Skip to content

Instantly share code, notes, and snippets.

@dbaba
Last active October 7, 2015 06:58
Show Gist options
  • Save dbaba/3123774 to your computer and use it in GitHub Desktop.
Save dbaba/3123774 to your computer and use it in GitHub Desktop.
ModelMapper.count() from MOAT js API Document
var myArrayTypeMapper =
session.newModelMapperStub('MyArrayType');
myArrayTypeMapper.count({
success : function(result) {
if (result.count > 100) {
// do something
...
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment