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

オープン
#1,143 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
mysql, postgresql, rust, sql, sqlite
領域
backend, databases

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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 "$"

主要言語
Rust
スター
2.6k
フォーク
175
平均マージ
14時間 16分
マージ済み PR(30日)
43

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sqlpage/SQLPage のほかの issue

sqlpage/SQLPage の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。