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

the return of session.executeJson #5297

Closed
thewkgithub opened this issue Feb 1, 2023 · 2 comments
Closed

the return of session.executeJson #5297

thewkgithub opened this issue Feb 1, 2023 · 2 comments
Labels
type/question Type: question about the product

Comments

@thewkgithub
Copy link

Version: 3.3.0, Java

我在执行session.executeJson命令的时候,一般情况下,都会返回类似这种结构:

{"errors":[{"code":0}],"results":[{"spaceName":"","errors":{"code":0},"latencyInUs":1151}]}

这里面errors和results都是array,但这些array里面,一般只有一条记录。

我的问题是:

在什么情况下(执行什么命令),这些array里面会包含多条记录呢??

如果每次都是一条记录,为什么要返回一个array呢?

@Sophie-Xie Sophie-Xie added the type/question Type: question about the product label Feb 1, 2023
@Sophie-Xie Sophie-Xie changed the title 关于session.executeJson的问题. the return of session.executeJson Feb 1, 2023
@wey-gu
Copy link
Contributor

wey-gu commented Feb 1, 2023

cc @Aiee

@Aiee
Copy link
Contributor

Aiee commented Feb 2, 2023

This is saved for possible features later. Currently, only one response will be returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

4 participants