Thanks to visit codestin.com
Credit goes to github.com

Skip to content

PostGIS support #5535

Answered by griffio
vladimir-tichy asked this question in Q&A
Discussion options

You must be logged in to vote

Has anyone worked with SQLDelight and PostGIS together?

I don't have any experience with PostGIS and SQLDelight doesn't know about extensions

How would you approach handling custom types and functions through a custom dialect?

There are two ways:
Simpler: You can try extending the existing PostgreSql dialect with delegation e.g https://github.com/griffio/sqldelight-custom-dialect.
This maybe the quickest way to get some minimally useful functions working
Complex: Create an entirely new PostgreSql dialect where you can add custom language features in the grammar e.g https://github.com/Faire/sqldelight-cockroachdb-dialect

Is there any possibility of adding native support for PostGIS in…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vladimir-tichy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants