>>> from kenobi import KenobiDB  

>>> db = KenobiDB('example.db')  

>>> db.insert({'name': 'Yoda', 'lightsaber': 'green'})  
True  

>>> db.search('lightsaber', 'green')  
[{'name': 'Yoda', 'lightsaber': 'green'}]  
  • logging_strict@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    23 hours ago

    i’ll take pissing on the OPs parade for 100 Alex

    OP 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