pocketbase/js-sdk

getOne with empty string returns result

Laecherlich opened this issue · 1 comments

Hey, I noticed that calling collection('...').getOne('') returns all data of the table in pages the same as getFullList.
Its not a big problem for me, I will just add a check before but I wanted to let you know :).

It will fallback to getList() but I agree that is not expected behavior.

Should be fixed in v0.20.2.

The Dart SDK will also be updated sometime later today.