Comments (2)
Hi!
This is correct behavior, with the 2.0 a string like "2023-09-07T01:23:52Z"
, "018a6680-bef9-701b-9025-e1754f296a0f"
, and will no longer be automatically typed based on their contents. You will now need to prefix the string with the correct prefix to get a type other then a plain string. d
for Date-times and u
for UUIDs.
Issues #4238 #4235 and #4234 are all because of this change.
The docs still need to be updated to reflect this change.
from surrealdb.
I'll close this issue, as this is possible in SurrealDB 2.0, and the documentation will be updated to reflect the necessary changes to the SurrealQL behaviour 🚀 🎉 !
from surrealdb.
Related Issues (20)
- Bug: literals of a object with option fields require them to be set as NONE instead of just missing HOT 1
- Bug: Literal objects get inserted as empty without FLEXIBLE TYPE
- Feature: add option<any>
- Feature: Run assertions at transaction level instead of line level
- Bug: "No iterator has been found" when selecting ORDER BY indexedField DESC HOT 1
- Bug: issue with updating fields using self-referential expressions
- Feature: GraphQL over HTTP / HTTPs HOT 1
- Bug: ULID sorting and range selection
- Bug: importing relations with bracket notation fails on 2.0.0-beta.1 HOT 1
- Deserialisation error when taking a field
- Bug: field name can no longer start with numbers in 2.0.0-beta.1
- Bug: Cannot Use Container Name for TIKV Deployment
- Bug: Unable to pass or return a closure to a function HOT 3
- Feature: Add a closure type
- Suggestion: Move the SurrealQL type conversion functions in the `type` module into their own submodule
- Bug: Query parser misinterprets reserved word usage
- Bug: Does export / import actually work? HOT 4
- Bug: Nested JSON Schema using Schemafull not properly parsing.
- Bug: Cannot Set Object Key as Variable on Object Init
- Bug: Does surrealdb 2.x not support TiKV? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from surrealdb.