Skip to content

Conversation

manelmontilla
Copy link

@manelmontilla manelmontilla commented Aug 22, 2025

Add Support for SurrealDB .surql Migration Files

Overview

This PR adds support for embedding and processing SurrealDB .surql files in Refinery.

Motivation

We would like to implement a driver for SurrealDB, but it uses SurrealQL (.surql) as its query language. Currently Refinery only supports .sql and .rsfiles.
This change enables Refinery to recognize and process .surql migration files.

@manelmontilla manelmontilla marked this pull request as ready for review August 22, 2025 12:57
Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, and thanks for the interest!
If I understand correctly SurrealQL is a superset of SQL.

This PR only enables the support for SurrealQL extension, it doesn't support its data types and functions.
Can you elaborate on how would this help you support SurrealDB?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants