Replies: 4 comments 2 replies
-
请问在ceresdb sql中二进制怎么表示?因为我看数据类型支持Varbinary,我在写escape函数 |
Beta Was this translation helpful? Give feedback.
1 reply
-
I'll file an issue to track this feature. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ceresdb笔记/文档需要补充的地方
PRIMARY KEY 必须要包含 ts 列
小的需求想法
类似 https://docs.rs/tokio-postgres/latest/tokio_postgres/
有时候参数是来自用户的输入,直接format! 容易被sql注入
比如记录用户的的浏览器头,sec-ch-ua: "Not:A-Brand";v="99", "Chromium";v="112" 这是一个文本字段,还有引号,而且是用户输入的,不escape就没法存入
Beta Was this translation helpful? Give feedback.
All reactions