Comments (4)
Hi @peteole thank you for this issue!
Currently the REPL opens a new connection to the database for each submitted query, and therefore all context between queries is reset.
We'll be changing this really soon so that it connects over the WebSocket connection instead, meaning that all context is kept between submitted queries.
That should then fix this issue.
from surrealdb.
This is also related to #35
from surrealdb.
It's also the case for HTTP API, as there is no session being kept.
If you LET $name = "tobie"
in one request and then, CREATE person SET name = $name;
in another request, it will have the same problem.
Any comments on that @tobiemh, as if that's supposed to be supported in future or?
from surrealdb.
Hi @tobiemh. Kindly assign this to me.
from surrealdb.
Related Issues (20)
- Bug:dependency Chrono broke
- Bug: Querying Object-based Record ID's does not work as expected.
- Bug: type::thing inconsistent behaviour HOT 1
- Bug: Rust fails to build surrealdb-core lib HOT 1
- Bug: Massive performance degradation on v1.4.2 HOT 2
- Bug: DELETE ONLY does not work
- Bug: Compile error in release flag. HOT 3
- Bug: Some small issues with milli/nanoseconds when parsing into a Datetime
- Bug: docker do not work HOT 2
- Feature: seedable random function
- Bug: Vector indexing becomes exponentially more time consuming HOT 9
- Bug: Poor performance handling binary payload
- Bug: $before var is null on event
- Bug: No index is used when using time::now()
- Bug: surrealdb-worker panicked at core/src/syn/error/mod.rs
- Bug: Error running node agent tick HOT 5
- Feature: Daemon Mode
- Bug: vars parse error on ws query method when adding 'live'
- Feature: view auto update from other tables
- .
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.