Skip to content

Instantly share code, notes, and snippets.

@SirEdvin
Created October 27, 2018 07:23
Show Gist options
  • Save SirEdvin/356637cb000272559f99496722903311 to your computer and use it in GitHub Desktop.
Save SirEdvin/356637cb000272559f99496722903311 to your computer and use it in GitHub Desktop.
In [2]: from unqlite import UnQLite
In [3]: db = UnQLite()
In [4]: cdb = db.collection('test')
In [5]: cdb.create()
In [6]: cdb.store({'c2': {}, 'c3': []})
Out[6]: 0
In [7]: cdb.all()
Out[7]: [{'c2': [], 'c3': [], '__id': 0}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment