Clearer query API

Đang mở
#154 13 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
30/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
postgresql, rust

Hướng nghiên cứu

Read the linked discussion #88 to understand the original proposal, then inspect the query API and how bind and existing finalizers handle statements that return rows versus those that do not. The issue asks to explore an execute finalizer; define its expected behavior and tests before assessing what implementation would be needed.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

breaking feature

Non-returning statements have this peculiar property that they are executed right after binding their parameters. Meanwhile, statements that return something are only executed after using one of the finalizers.

I'd like to explore the idea of adding an execute finalizer for non-returning statements.

Originally suggested here https://github.com/cornucopia-rs/cornucopia/discussions/88#discussioncomment-3656850.

Ngôn ngữ chính
Rust
Star
1.2k
Fork
77
Merge trung bình
5 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của cornucopia-rs/cornucopia

Tất cả issue của cornucopia-rs/cornucopia

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.