Open
Description
Describe the bug
Sending a time.Time
as part of a query is not supported. Will currently result in the behavior described in #186
Steps to reproduce
_, err = surrealdb.Create[struct{}](surrealConn, "table1", map[string]interface{}{
"created": time.Now(),
})
Expected behaviour
No errors but a correct marshaling of the standard library time.Time
SurrealDB version
surreal 2.0.4 for linux on x86_64 with surrealdb.go on v0.3.0
Contact Details
No response
Is there an existing issue for this?
- I have searched the existing issues
Code of Conduct
- I agree to follow this project's Code of Conduct
Activity