ydb-platform / ydb-rs-sdk

Apache License 2.0
52 stars 18 forks source link

add todo list example #165

Closed DXist closed 11 months ago

DXist commented 11 months ago

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Added initial code for TODO list cli application

Pull request type

Please check the type of change your PR introduces:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

-

-

Other information

rekby commented 11 months ago

Hello, thanks for the work with example.

Please add init_db command (with uncomment code for create table) - for work example with clean database and fix linter issue for merge the PR.

DXist commented 11 months ago

Hi @rekby ,

I have added initdb and cleardb commands and done some cleanup.

rekby commented 11 months ago

hi, @DXist.

Now the example works, thanks. I don't find any way to "done"/remove item.

Can you add command for done or remove items? And if the program will no have done command - no need done in table schema.

rekby commented 11 months ago

Thanks for the example, I will finish remove commands in dedicated branch

DXist commented 11 months ago

@rekby , I've just pushed markdone/remove commands to this branch. Enabled autocommit as well.