>>> from kenobi import KenobiDB
>>> db = KenobiDB('example.db')
>>> db.insert({'name': 'Yoda', 'lightsaber': 'green'})
True
>>> db.search('lightsaber', 'green')
[{'name': 'Yoda', 'lightsaber': 'green'}]
>>> from kenobi import KenobiDB
>>> db = KenobiDB('example.db')
>>> db.insert({'name': 'Yoda', 'lightsaber': 'green'})
True
>>> db.search('lightsaber', 'green')
[{'name': 'Yoda', 'lightsaber': 'green'}]
i’ll take
pissing on the OPs paradefor 100 AlexOP heard our advice and acted. In my book, that puts him in the awesome category.
We need more of that and more people willing to contribute rather than being Captain Obvious