A completed Compiled structure contains the full SQL string and collection of bound values.
一个完成的Compiled结构包含完整的SQL字符串,并绑定值的集合。
You can get the SQL string for a query by using your database tool's SQL view. In Microsoft Access 97, you can view SQL for a query by opening the query in Design Mode and then choosing the View SQL item from the View menu.
Much safer would be to encode the tainted value of $name to a SQL string literal and use the result in the SQL query, guaranteeing that no dangerous command embedded in $name will be evaluated.
Bound parameters are also supported in Phalcon\Mvc\Model. You are encouraged to use this methodology so as to eliminate the possibility of your code being subject to SQL string and integer placeholders are supported. Binding parameters can simply be achieved as follows
Contenuto potenzialmente sensibile o inappropriato
La funzione degli esempi è unicamente quella di aiutarti a tradurre la parola o l'espressione cercata inserendola in un contesto. Gli esempi non sono stati scelti e validati manualmente da noi e potrebbero contenere termini o contenuti non appropriati. Ti preghiamo di segnalarci gli esempi da correggere e quelli da non mostrare più. Le traduzioni potenzialmente sensibili, inappropriate o colloquiali sono in genere evidenziate in rosso o in arancione.