Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created November 1, 2019 13:14
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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