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: Unable to filter entries via edge tables HOT 2
- Bug: Unable to create directory structure for SURREAL_OBJECT_CACHE
- Bug: full-text search not working
- Bug: query never finish with DEFINE FIELD HOT 3
- Bug: Expired token is working HOT 4
- Bug: WHERE clause does not respect relations HOT 2
- Bug: Unexpected behaviour when deleting from a pre-computed table view
- Bug: Unexpected behaviour when using using array slicing with a graph query
- Bug: The protocol or storage engine does not support backups on this architecture HOT 2
- Bug: matches operator @@ causes Versioned Error on old data after upgrade from 1.1.0 to 1.2.1 HOT 2
- Bug: Not able to create record with field typeof datetime from Rust HOT 2
- Bug: >1 Aggregate Tables on the same table result to wrong values in all except the last aggregate table defined
- Bug: brew install surrealdb/tap/surreal -not working on Mac ->M2
- Bug: $auth is null after successful scope auth. db.info() is undefined. HOT 2
- Bug: SureralDB can't survive TiKV cluster restart HOT 2
- Bug: Setting Index of bool make = and == in SELECT WHERE behavior weird .
- Feature: debug logging from user-space
- Feature: Add version checks to upgrade surrealdb on start up. HOT 9
- Bug: Mixed quotes / double quotes possible issue
- Bug: defining the table before each variable for subqueries HOT 1
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.