Is there a best practice way to accomplish a query of this nature (with many more records) through D

Is there a best practice way to accomplish a query of this nature (with many more records) through D1's API?
INSERT INTO example_table (activity_id, user_id, status) 
VALUES 
  (2496, 1, 'AVAILALBE'),
  (2496, 1, 'NOT_AVAILABLE'),
  (2496, 2, 'AVAILABLE') 
ON CONFLICT DO UPDATE SET status = excluded.status;
Was this page helpful?