non-callback for count

2 posts, 0 answers
  1. jon
    jon avatar
    20 posts
    Member since:
    Jul 2014

    Posted 03 Sep 2014 Link to this post

    hi, please tell me how to get the count value without using callback as follows:

    var el = new Everlive('your-api-key-here');
    var data = el.data('Books');
    data.count()
    .then(function(data){
    alert(JSON.stringify(data));
    },
    function(error){
    alert(JSON.stringify(error));
    });
  2. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 04 Sep 2014 Link to this post

    Hi,

    This thread was answered here.

    Regards,
    Anton Dobrev
    Telerik
     
    Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
     
Back to Top