You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/08/16 11:44:43 UTC
[GitHub] [incubator-doris] e0c9 opened a new issue #6456: [Proposal] Support prepared statement in doris
e0c9 opened a new issue #6456:
URL: https://github.com/apache/incubator-doris/issues/6456
Currently doris does not support prepared statements. For some reason we need to support it:
1. Improve performance when re-using the same statement that you prepared.
2. More importantly, it effectively prevents SQL injection attacks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [incubator-doris] e0c9 commented on issue #6456: [Proposal] Support prepared statement in doris
Posted by GitBox <gi...@apache.org>.
e0c9 commented on issue #6456:
URL: https://github.com/apache/incubator-doris/issues/6456#issuecomment-904598760
https://gorm.io/docs/sql_builder.html#Raw-SQL
```golang
var result Result
db.Raw("SELECT id, name, age FROM users WHERE name = ?", 3).Scan(&result)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org