-
Hi, starting a backend rewrite in rust, I was looking for a db/orm solution. I always wanted to try surreal and heard a lot of good things about it. While playing around with it, I noticed some things I wanted to ask/give feedback about: 1. Is there some way of ensuring sync between the db schema and my structs/queries? 2. Migrations 3. Ergonomics I know implementing the things I asked for is a ton of work and I don't want to seem too demanding here, let me make this clear: SurrealDB is sooo cool and I'd really like to see it succeed. I just wanted to give some feedback on my first impressions with it and ask around, if I just overlooked things or misunderstand anything or if you are maybe currently working on this and maybe need help? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hey @m1212e! Thanks for your feedback, these are things we have indeed been thinking about and have some plans for but as you mentioned are a ton of work, where most of our work has been on improving the core functionality before moving into all the supporting tooling that is needed as well. ideas are always appreciated, specifically around your first question, sqlx is amazing in this regard, if use have some ideas around how to integrate SurrealQL, that would be amazing! |
Beta Was this translation helpful? Give feedback.
-
+1 on having more dev tools, especially for schema syncing, and typing of queries - (in JS) |
Beta Was this translation helpful? Give feedback.
-
Would love to see something like sqlc for Surreal |
Beta Was this translation helpful? Give feedback.
Hey @m1212e!
Thanks for your feedback, these are things we have indeed been thinking about and have some plans for but as you mentioned are a ton of work, where most of our work has been on improving the core functionality before moving into all the supporting tooling that is needed as well.
ideas are always appreciated, specifically around your first question, sqlx is amazing in this regard, if use have some ideas around how to integrate SurrealQL, that would be amazing!