-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Feature/gob #47
Feature/gob #47
Conversation
…y normalized inside Set()
Codecov Report
@@ Coverage Diff @@
## main #47 +/- ##
==========================================
- Coverage 83.91% 83.56% -0.35%
==========================================
Files 9 11 +2
Lines 976 1290 +314
==========================================
+ Hits 819 1078 +259
- Misses 108 150 +42
- Partials 49 62 +13
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks understandable to me 👍
README.md
Outdated
@@ -188,6 +188,48 @@ db.Query("todos").UpdateById(docId, map[string]interface{}{"completed": true}) | |||
db.Query("todos").DeleteById(docId) | |||
``` | |||
|
|||
## Data Types | |||
|
|||
Internally, CloverDB supports the following primitive data types: **int64**, **uint64**, **float64** and **time.Time**. When possible, values having different types are silently converted to one of the internal types: signed integer values get converted to int64, while unsigned ones to uint64. Float32 values are extended to float64. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could also add string to the primitive data types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I forgot to add string and bool to the README
PR for #46. Need to add exhaustive tests and improve code before merging