2017-02-21 9 views
0

ブラウザでIndexed DBを使用するIonic2 Storageを使用しようとしています。 DBに格納されているキーの総数を取得するにはどうしたらいいですか?Ionic2 Storage(IndexedDB)でキーの長さを取得する方法

this._storage.length()私T与える{__zone_symbol__state:ヌル、__zone_symbol__value:配列[0]}

答えて

0

I答え、this._storage.length()戻り

this._storage.length().then((data) => { 
    console.log(data); 
    }) 
を約束得
関連する問題