Skip to content

For queries with no results VDMS returns an error #59

@mwahle

Description

@mwahle

Instead of an error VDMS should return an empty result set:

db.query([{'AddEntity': {'class': 'Test2', 'properties': {'x': 1}}}])
Out[6]: ([{'AddEntity': {'info': '', 'status': 0}}], [])

db.query([{"FindEntity": {'class': 'Test2', 'constraints': {'x': ['==', 2]}}}])
Out[7]: 
([{'FailedCommand': 'Transaction',
   'info': 'Failed PMGDTransaction',
   'status': -1}],
[])

Metadata

Metadata

Assignees

Labels

BugIndicates unexpected or undesired behaviors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions