user_1 = { | |
'name':"Vanja", | |
'age':29, | |
'blog':"eventroom.org" | |
} | |
user_2 = { | |
'name':"Marko", | |
'age':36, | |
'blog':"rubikscode.net" | |
} | |
result = user_repo.insert_many([user_1, user_2]) | |
print(result.acknowledged) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment