Created
October 25, 2022 04:18
-
-
Save iisaka51/cef98c340afa65d95f9d50246c8a25c2 to your computer and use it in GitHub Desktop.
example of read_contests
This file contains 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
In [1]: from datajuggler import serializer as io | |
In [2]: io.read_contents('sqlite:///users.sqlite#users') | |
Out[2]: | |
[{'id': 1, 'name': 'David Coverdale', 'age': 71, 'belongs': 'Whitesnake'}, | |
{'id': 2, 'name': 'Neal Schon ', 'age': 68, 'belongs': 'Journey'}, | |
{'id': 3, 'name': 'Tom Scholz', 'age': 75, 'belongs': 'Boston'}, | |
{'id': 4, 'name': 'David Gilmour', 'age': 75, 'belongs': 'Pink Floyd'}, | |
{'id': 5, 'name': 'Ann Wilson', 'age': 71, 'belongs': 'Heart'}, | |
{'id': 6, 'name': 'Nacy Wilson', 'age': 67, 'belongs': 'Heart'}] | |
In [3]: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment