This is a migrated thread and some comments may be shown as answers.

non-callback for count

1 Answer 14 Views
JavaScript SDK
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jon
Top achievements
Rank 1
jon asked on 03 Sep 2014, 10:12 AM
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));
});

1 Answer, 1 is accepted

Sort by
0
Anton Dobrev
Telerik team
answered on 04 Sep 2014, 11:51 AM
Hi,

This thread was answered here.

Regards,
Anton Dobrev
Telerik
 
Everlive is now Telerik Backend Services, and is part of the Telerik Platform.
 
Tags
JavaScript SDK
Asked by
jon
Top achievements
Rank 1
Answers by
Anton Dobrev
Telerik team
Share this question
or