Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 96d341aaab |
+1
-1
@@ -156,7 +156,7 @@ func ObjToTime(obj interface{}, e ...*Error) *time.Time {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return &time.Time{}
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func ObjToFloat64(obj interface{}, e ...*Error) float64 {
|
func ObjToFloat64(obj interface{}, e ...*Error) float64 {
|
||||||
|
|||||||
+2
-2
@@ -341,7 +341,7 @@ func (that *HoTimeDB) Query(query string, args ...interface{}) []Map {
|
|||||||
}
|
}
|
||||||
return that.Query(query, args...)
|
return that.Query(query, args...)
|
||||||
}
|
}
|
||||||
return that.Query(query, args...)
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return that.Row(resl)
|
return that.Row(resl)
|
||||||
@@ -379,7 +379,7 @@ func (that *HoTimeDB) Exec(query string, args ...interface{}) (sql.Result, *Erro
|
|||||||
}
|
}
|
||||||
return that.Exec(query, args...)
|
return that.Exec(query, args...)
|
||||||
}
|
}
|
||||||
return that.Exec(query, args...)
|
return resl, that.LastErr
|
||||||
}
|
}
|
||||||
|
|
||||||
return resl, that.LastErr
|
return resl, that.LastErr
|
||||||
|
|||||||
Reference in New Issue
Block a user