Repository navigation
0.2.0
馃殌PocketbaseArduino 0.2.0
What's Changed?
- Add
getList()function
pb.collection("notes").getList("page", "perPage", "sort", "filter", "skipTotal", "expand", "fields");- Improved function for
GETRequestto support for both ESP8266 and ESP32 (needs further testing!!)
What's next?
- Improve documentation
- add
create()function - improve syntax for other body parameters (having to place nullptr works for now, but is very inconvenient for developers)
// current implementation
String record = pb.collection("websites").getOne("1", "websites");
// "wtf i need to place nullptr just because its optional?" - some random dev
String record = pb.collection("websites").getOne("1", nullptr);
....
// and instead use
String record = pb.collection("websites").getOne("1").expand("websites");chain methods is much more flexible in terms of how developers will write syntax (hopefully 馃榾)
Wanna know what Pocketbase is?: https://pocketbase.io/
Full Changelog: https://github.com/jeoooo/PocketbaseArduino/commits/0.1.0
What's Changed
- separated expand and fields to a chain method by @jeoooo in #1
- implemented getList function by @jeoooo in #2
New Contributors
Full Changelog: 0.1.0...0.2.0