I'm a little confused about how String prefixes work #4129
Replies: 2 comments
-
to be honest it reminds me of yaml in a not so good way :/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
Just to confirm, does adding the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I encountered a problem when saving bot tokens from Telegram. The bot token looks like 1234567890:ASDFFsadDFdDFDF_AS and it is perceived as a pointer. Everything would be fine, but I did not immediately notice this because some tokens have a "-" symbol, which for some reason makes the database perceive such a line as a normal one and when saving, the s'...' prefix is not added there.
in short, then
-------- Query 1 (167.397µs) --------
[
{
id: bot:test,
token: ⟨123⟩:foo_baz
}
]
-------- Query 2 (73.719µs) --------
[
{
id: bot:test,
token: '123:foo-baz'
}
]
Beta Was this translation helpful? Give feedback.
All reactions