Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest SurrealQL Features #6

Closed
DrewRidley opened this issue Jan 8, 2023 · 5 comments
Closed

Latest SurrealQL Features #6

DrewRidley opened this issue Jan 8, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@DrewRidley
Copy link

Hey,

Great work with this project! is it still under active development? If so, is there an eta for when stuff like if statements, nested clauses and websockets will be supported?

@igalklebanov
Copy link
Owner

igalklebanov commented Jan 8, 2023

Hey 👋

I'll examine these and other gaps and plan the next steps. What's currently blocking you the most?

@DrewRidley
Copy link
Author

Currently my biggest concern would be the lack of complex relational queries.

SELECT ->knows->(? AS f1)->knows->(? AS f2)->(knows, likes AS e3 WHERE influencer = true)->(? AS f3) FROM person:tobie;
I am unaware of a way to execute a query like this with this library (this is definitely a more extreme example though)

Websockets I think I could probably manage to implement myself and submit a PR. I really don't know a lot about query builders so I don't know how much I could help in building a relational query builder.

@igalklebanov
Copy link
Owner

igalklebanov commented Jan 8, 2023

The initial goal was to cover everything in the official docs, and allow more advanced undocumented stuff through raw sql & escape hatches.

There's a PR tackling surreal-specific select query stuff, and a branch tackling if queries.

I'd see if I can finish those soon.

A PR with a dialect for the websocket client would be much appreciated..

@igalklebanov
Copy link
Owner

Just released version 0.6.0 with IF ELSE statement support.

@igalklebanov
Copy link
Owner

Just released version 0.7.0 with SurrealDbWebSocketsDialect.

@igalklebanov igalklebanov added the enhancement New feature or request label Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants