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

Aperta
#1,143 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
mysql, postgresql, rust, sql, sqlite
Ambito
backend, databases

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Rust
Stelle
2.6k
Fork
175
Merge medio
14h 16m
PR unite (30g)
43

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sqlpage/SQLPage

Tutte le issue di sqlpage/SQLPage

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.