Comments (4)
Hi @demfabris thank you!
Would love to have you involved with the project, and contributing!
This issue is actually almost completed (bcaea75). The only issue at the moment is that if you change the NS/DB using it is not reflected...
-- These will use the configured NS / DB when connecting...
SELECT * FROM $session.ns;
SELECT * FROM $session.db;
SELECT * FROM session::ns();
SELECT * FROM session::db();
-- If you then change to another NS / DB...
USE NS test DB test;
-- Then the change is not yet reflected in these functions...
SELECT * FROM $session.ns;
SELECT * FROM $session.db;
SELECT * FROM session::ns();
SELECT * FROM session::db();
from surrealdb.
Hi, came here from r/rust. Would love to help
from surrealdb.
@demfabris the code where this happens is ...
surrealdb/lib/src/dbs/executor.rs
Lines 181 to 210 in 28f66f4
It should be relatively easy to change the NS/DB stored in the $session
context here too, but I'm just thinking whether there is a better way of going about this...
from surrealdb.
I'm unable to make progress because of #52. Still trying to figure out a workaround
edit: #58
from surrealdb.
Related Issues (20)
- Feature: Merge Objects of an Array
- Bug: futures in table views do not update
- Feature: do not return error on CHANGEFEED if datetime is before table create
- Bug: Live queries should include a delete table notification and live query termination notifcation
- Feature: Moving otel.name="surrealdb.rpc/ping" from DEBUG to TRACE logs
- Bug: re-executing `DEFINE SCOPE` erases all existing JWTs HOT 1
- Bug: partial search on full-text index is not working
- Bug: Since 1.2.0, adding a `WHERE` clause to a query resolving record links or graph edges, causes those links to result in `NONE` HOT 4
- Bug: MATH::SQRT_2 not working
- Feature: Add WHERE NOT EXISTS for INSERT HOT 1
- Bug: Index not used in select when condition value is uuid or date
- Bug: exit code: 0xc0000005, STATUS_ACCESS_VIOLATION HOT 3
- 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
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.