When to use "$" in front of a variable and when to use ":"

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

Maintainer thường phản hồi trong vòng 1 ngày

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
mysql, postgresql, rust, sql, sqlite
Lĩnh vực
backend, databases

Hướng nghiên cứu

Start by reading the SQLPage documentation and code paths that handle SUBMIT parameters and query-string variables; the issue does not name specific files or tests. Check whether $ and : are parsed differently and review relevant history around the reported behavior change. Done means determining whether the syntax or behavior changed and documenting or fixing the confirmed discrepancy.

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

Mô tả

waiting for response

I had some code that has been running fine for several months that all of a sudden stopped working around 11/28. I think I was incorrectly using "$" in front of passed parameters names instead of ":".

Is it possible that you previously allowed this, but a recent upgrade became stricter? I am hoping that might explain why my unchanged code suddenly stopped working.

So, is it correct that variables passed in a SUBMIT should use ":" and variable passed in a query string should use "$"

Ngôn ngữ chính
Rust
Star
2.6k
Fork
175
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
43

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 sqlpage/SQLPage

Tất cả issue của sqlpage/SQLPage

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.