Hi,
I have a problem to retrieve my data, whatever the entity invoked.
The findById(), first () or last () functions returns my searched record.
But the find() function returns nothing.
The length property of my collection is set to 0, while my tables has up to 16 records. Data all appear in the web console.
The code used is :
var responder:IResponder = new mx.rpc.Responder(
function( evt:ResultEvent ):void
{
collection = evt.result as BackendlessCollection
trace( "collection length : " + collection );
},
function( evt:FaultEvent ):void
{
trace( "Error loading - " + evt.fault.faultDetail );
});
Backendless.Data.of( Traction ).find( null, responder );
Of course, Backendless is initialized and the classes mapped.
Thank you in advance,
Christophe