



wrangler deployone() does not return null, it will throw when it doesn't find a result.rowsRead you get is not the number of results. It's the number of rows read by SQLite to satisfy your query. So, if you do joins, scans, etc, and only end up with 1 row, you are not just charged for 1 row, but all the rows that had to be read to answer your query. Cannot create binding for class 'Trainer' because it is not currently configured to implement durable objects. Did you forget to apply a --new-class migration to it? [code: 10061]npx wrangler deploy --new-class Trainer
✘ [ERROR] Unknown arguments: new-class, newClass[[durable_objects.bindings]]
name = "DURABLE_TRAINER"
class_name = "Trainer"
[[migrations]]
tag = "v1"
new_classes = ["Trainer"]wrangler deploy Cannot create binding for class 'Trainer' because it is not currently configured to implement
durable objects. Did you forget to apply a --new-class migration to it? [code: 10061]one()rowsRead