Is it possible to add aditional SQL statements that are executed "as are" at the end of the generated SQL Script?
Maintainer thường phản hồi trong vòng 1 ngày
@huydo862003 đang làm issue này rồi.
Từ ngày 6/11/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Greetings, I would like to start this issue saying thanks for such amazing tool that has helped me for more than a couple of years at this point.
The title of my issue might be confusing but I hope to clarify it with the following use case:
I am in need of declaring a complex ((or maybe not so much)) index definition, something like this CREATE UNIQUE INDEX ON "auth"."users" (is_root) WHERE is_root = true.
So far I haven´t been able to find any way of declaring such thing using DBML, so I the only option left is to modify the generated script, which is not optimum.
Is it there any way of declaring SQL statements that are executed at the end of the generated SQL Script, "as are"?.
I'm concerned that such thing would hurt the ability to export to other databases but It would be a nice opt-in feature.
Thanks for reading.
- Ngôn ngữ chính
- JavaScript
- Star
- 3.7k
- Fork
- 233
- Merge trung bình
- 2 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 23
Chuẩn bị môi trường
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 holistics/dbml
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
@dbml/core 12.0.0 Postgres importer: timestamptz becomes timestamp, schema-qualified type doubled, Ref with ?<? rejected by parserCó thể đã có người làm @zzoraemon043 đã nhận 2 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
holistics/dbml#884 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
holistics/dbml#880 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
holistics/dbml#868 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của holistics/dbml
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
liberation-data/drivine#826 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(website): add a GitLab CI/CD button next to the GitHub Action button on the homepageCó thể đã có người làm @shryssssss-maker đã nhận hôm nay. Đang mởdocumentation enhancement first-timers-only good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
OWASP/cve-lite-cli#1739 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
opensearch-project/OpenSearch-Dashboards#13241 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Config works: annke-i81emĐang mởconfig-report via-web
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 61/100
ch-bas/cctv-camera-database#432 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bugs UI / UX / Design System
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100