Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
print("---Read All---")
all_users = user_repo.read_all()
for user in all_users:
print(user)
print("--------------\n")
print("---Read Many--")
rc_users = user_repo.read_many({'blog':'rubikscode.net'})
for user in rc_users:
print(user)
print("--------------\n")
print("--- Read ---")
one_rc_user = user_repo.read({'blog':'rubikscode.net'})
print(one_rc_user)
print("--------------\n")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment