Anna-Team / AnnaDB

Developer-first database
Apache License 2.0
56 stars 4 forks source link

"TypeError: Not bool" on the initial insert #17

Closed taurus-forever closed 1 year ago

taurus-forever commented 1 year ago

Hi,

Please find the traceback for the crash on the very first insert into AnnaDB: https://gist.github.com/taurus-forever/56492ae09c13b94e1a4788241d432a34

The command was copied from the documentation: https://annadb.dev/documentation/insert/#example

roman-right commented 1 year ago

Hi @taurus-forever

Thank you for the issue! There is a typo in the query. Please, use b|true| instead of b|True|. Python syntax sneaked in :) I'll fix the doc soon

roman-right commented 1 year ago

The doc is fixed.

taurus-forever commented 1 year ago

The fix is confirmed. Resolved. Tnx!