Getting "bad parameter or other API misuse" for a prepared statement with correct data
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 13.7k
- Fork
- 1.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I'm running some queries that produce the error "bad parameter or other API misuse", while the query and the params are all correct. I'm running the DB in a worker, is there any chance to have more info on what is actually going on? Since the query looks good, and it actually runs fine in tests, I'm wondering what else could be wrong.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Start with the prepared-statement path used by the worker and compare it with the tests where the same query and parameters succeed. Determine what causes the API-misuse error and make the resulting failure provide more useful information or document the cause, then verify the worker case and existing tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, sqlite
- Lĩnh vực
- database
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100