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

feat: create methods to interact with DetaBase #3

Merged
merged 17 commits into from Jan 24, 2022
Merged

feat: create methods to interact with DetaBase #3

merged 17 commits into from Jan 24, 2022

Conversation

yeikel16
Copy link
Owner

No description provided.

- change `UnsupportedError` to `DetaObjectException`
save more than one element in the same call, the list must contain no more than 25 elements.
add _checkValidObjectType to the put method
Creates a new item only if no item with the same key exists. Throw [DetaObjectException] if key already exists.
Retrieves an item from the database by its key.
Deletes an item from the database.
- correct grammar in `get` method message
Updates an item in the database.
@yeikel16 yeikel16 linked an issue Jan 19, 2022 that may be closed by this pull request
Retrieves multiple items from the database based on the
provided (optional) filters.
- fix parameter in `_authorizationHeader`
@yeikel16 yeikel16 self-assigned this Jan 21, 2022
@yeikel16 yeikel16 added the enhancement New feature or request label Jan 21, 2022
@yeikel16 yeikel16 added this to In Porgres in deta-dart via automation Jan 21, 2022
@yeikel16 yeikel16 linked an issue Jan 21, 2022 that may be closed by this pull request
7 tasks
- add more doc to `insert` method
- encode only the key value in the url
@yeikel16 yeikel16 linked an issue Jan 23, 2022 that may be closed by this pull request
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@d7eec05). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##             main        #3   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         3           
  Lines           ?       163           
  Branches        ?         0           
========================================
  Hits            ?       163           
  Misses          ?         0           
  Partials        ?         0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d7eec05...4d3fc8c. Read the comment docs.

@yeikel16 yeikel16 changed the title feat: interact with the database of the Deta platform feat: create methods to interact with DetaBase Jan 24, 2022
@yeikel16 yeikel16 merged commit 45b513e into main Jan 24, 2022
deta-dart automation moved this from In Porgres to Done Jan 24, 2022
@yeikel16 yeikel16 deleted the deta-base branch March 19, 2022 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
deta-dart
  
Done
2 participants