How to convert Slice> to Results?

前端 未结 0 1322
失恋的感觉
失恋的感觉 2020-11-30 19:03

I want to get the first n elements from a Results.

let results = realm.objects(myObj.type).prefix(5) 

results is now a Sli

相关标签:
回答
  • 消灭零回复
提交回复
热议问题