Skip to content

HTTP API: DELETE#862

Merged
JinHai-CN merged 3 commits intoinfiniflow:mainfrom
JinHai-CN:fix58
Mar 23, 2024
Merged

HTTP API: DELETE#862
JinHai-CN merged 3 commits intoinfiniflow:mainfrom
JinHai-CN:fix58

Conversation

@JinHai-CN
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Add HTTP API: Delete

infiniflow=> select * from t1;
 c1 
----
  3
  5
  3
  5
  3
  5
(6 rows)
curl --request DELETE --url localhost:23820/databases/default/tables/t1/docs --header 'accept: application/json' --header 'content-type: application/json' --data '    
{                                
    "filter": "c1  = 3"
} '
{"delete_row_count":3,"error_code":0}
infiniflow=> select * from t1;
 c1 
----
  5
  5
  5
(3 rows)

Issue link:#779

Type of change

  • New Feature (non-breaking change which adds functionality)

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
@JinHai-CN JinHai-CN mentioned this pull request Mar 22, 2024
23 tasks
@JinHai-CN JinHai-CN added the ci PR can be test label Mar 22, 2024
@JinHai-CN JinHai-CN merged commit 186d7d1 into infiniflow:main Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci PR can be test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant