Created
November 1, 2019 13:14
-
-
Save NMZivkovic/35c10e2206f2fdfa56ce5a9fe4450317 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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