LeoR
LeoR

Reputation: 716

How to use Sequel with PostGIS

I am using the Sequel gem to access multiple postgres databases. The databases partially use the PostGIS extension. There is a postgis adapter for ActiveRecord, but I haven't found one for Sequel.

So my current solution is to use raw SQL to query postgis based data. Is there a better way?

Upvotes: 3

Views: 491

Answers (1)

Peter Fitzgibbons
Peter Fitzgibbons

Reputation: 81

Currently using raw sql in AR as well, so no, I think raw sql may be the most plain solution for this.

Upvotes: 1

Related Questions