Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

拼接nGql,插入点失败 #209

Closed
minxinqing opened this issue Jun 1, 2022 · 1 comment
Closed

拼接nGql,插入点失败 #209

minxinqing opened this issue Jun 1, 2022 · 1 comment

Comments

@minxinqing
Copy link

原生语句如下:

INSERT VERTEX guild (code, open_id, custom_id, name, status)
        VALUES "guild_1051":(3919530414697626, 0, "", "111222的服务器aa\", 0);

使用studio能成功执行,使用go客户端就报下面的错误。

{"level":"fatal","msg":"INSERT VERTEX guild (code, open_id, custom_id, name, status)\n\tVALUES \"guild_1051\":(3919530414697626, 0, \"\", \"111222的服务器aa\\\", 0);, ErrorCode: -1004, ErrorMsg: SyntaxError: Unterminated string:  near `us)\n\t'","time":"2022-06-01 19:29:02"}
@minxinqing
Copy link
Author

反斜杠需要转义

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant