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

Abierto
#1,143 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
mysql, postgresql, rust, sql, sqlite

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Rust
Estrellas
2.6k
Forks
175
Merge medio
14 h 16 min
PR fusionados (30 d)
43

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de sqlpage/SQLPage

Todos los issues de sqlpage/SQLPage

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.