[FEATURE] Support ~~`UPSERT`~~ `REPLACE` in `sqlVerbs` and in front end grammar
@general-kroll-4-life đang làm issue này rồi.
Từ ngày 23/8/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Feature Description
support
UPSERTREPLACE as an alias to UPDATE, helps to differentiate put and patch methods with the same signatures
Example(s)
for the following DML operation:
UPSERT INTO google.compute.firewalls
SET field1 = 'value1'
WHERE project = 'my-project'
AND firewall = 'my-firewall'
would use this resource definition...
firewalls:
id: google.compute.firewalls
name: firewalls
title: Firewalls
methods:
...
update:
operation:
$ref: '#/paths/~1projects~1{project}~1global~1firewalls~1{firewall}/put'
response:
mediaType: application/json
openAPIDocKey: '200'
patch:
operation:
$ref: '#/paths/~1projects~1{project}~1global~1firewalls~1{firewall}/patch'
response:
mediaType: application/json
openAPIDocKey: '200'
sqlVerbs:
...
upsert:
- $ref: '#/components/x-stackQL-resources/firewalls/methods/update'
update:
- $ref: '#/components/x-stackQL-resources/firewalls/methods/patch'
...
to access the upsert route, treated the same as and update but routed to the proper operation in the path
- Ngôn ngữ chính
- Go
- Star
- 0
- Fork
- 0
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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.
Issue khác của stackql/stackql-devel
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
stackql/stackql-devel#110 · 2 bình luận ·
-
Mock High Value Cloud Providers Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
stackql/stackql-devel#103 ·
-
stackql/stackql-devel#101 · 1 bình luận · 1 người được giao ·
-
stackql/stackql-devel#100 · 1 người được giao ·
-
Expand production dashbaords Đang mở
stackql/stackql-devel#99 · 1 người được giao ·
Tất cả issue của stackql/stackql-devel
Issue tương tự
-
kind/bug needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
matrixorigin/matrixone#29223 ·
-
needs-acceptance wg/data-plane-networking
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
vllm-project/semantic-router#4024 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
alexgorbatchev/dotfiles#107 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100