I'm trying to implement a simple optimistic lock, but I can't find any method where I get the number
I'm trying to implement a simple optimistic lock, but I can't find any method where I get the number of affected lines for an update, while still allowing binding of values. The D1Database has
exec(): D1ExecResult (which does include count), but if I want to perform something similar on D1PreparedStatement, I'm lost. What am I missing?



