Remove TODO's about Null. We'll implement Option<T> in another PR
This commit is contained in:
parent
ee757c7ca2
commit
8cc5b92808
1 changed files with 0 additions and 4 deletions
|
|
@ -13,9 +13,6 @@ pub enum DbType {
|
|||
// ==============Values================
|
||||
pub type Uuid = u64;
|
||||
|
||||
// TODO: What about nulls? I would rather not have that in SQL, it sucks.
|
||||
// I would rather have non-nullable values by default,
|
||||
// and something like an explicit Option type for nulls.
|
||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
|
||||
pub enum Value {
|
||||
Number(f64), // TODO: Can't put floats as keys in maps, since they don't implement Eq. What to
|
||||
|
|
@ -28,7 +25,6 @@ pub enum IndexableValue {
|
|||
String(String),
|
||||
Int(u64),
|
||||
Uuid(Uuid),
|
||||
// TODO: what about null?
|
||||
}
|
||||
|
||||
impl DbType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue