Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- IntRange(1,566).map {
- TestData(UUID.randomUUID().toString())
- }.forEach {
- val doc = colref.document()
- doc.set(it)
- }
- batch.commit().await()
- IntRange(1,10).forEach {
- println("Firebase collection size : ${docRef.collection("results").get().await().size()}")
- delay(10)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement