You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To be clear, you can execute any literal value or function name using Sequelize.fn('functionName', Sequelize.literal('literalValue')) which may suit your needs
Yeah, I’ve been doing that. I think if you only supported the data types, that might be helpful. For modeling.
On Mar 28, 2014, at 4:46 PM, Daniel Durante [email protected] wrote:
To be clear, you can execute any literal value or function name using Sequelize.fn('functionName', Sequelize.literal('literalValue')) which may suit your needs
—
Reply to this email directly or view it on GitHub.
Hi, i'm interested in postgis support as well, a plugin would probably be a good solution, but i wonder how / if it is possible to define custom types (one would need to define the way to read/write to the typed column) and custom indexes.
I managed to find out how to do that in node-orm2 (it wasn't so so pretty) and wondered if things are easier to extend in sequelize ?
Activity
mickhansen commentedon Mar 3, 2014
It's not on the roadmap currently. No plans to add it, if there's a lot of community requests for it we could look at it.
emadd commentedon Mar 6, 2014
How about support for PG read replication?
mickhansen commentedon Mar 6, 2014
We'll implement read replication across all dialects once we refactor all the connection handling to a more abstract level.
emadd commentedon Mar 6, 2014
Excellent
durango commentedon Mar 28, 2014
To be clear, you can execute any literal value or function name using
Sequelize.fn('functionName', Sequelize.literal('literalValue'))which may suit your needsemadd commentedon Mar 28, 2014
Yeah, I’ve been doing that. I think if you only supported the data types, that might be helpful. For modeling.
On Mar 28, 2014, at 4:46 PM, Daniel Durante [email protected] wrote:
kapouer commentedon Mar 29, 2014
Hi, i'm interested in postgis support as well, a plugin would probably be a good solution, but i wonder how / if it is possible to define custom types (one would need to define the way to read/write to the typed column) and custom indexes.
I managed to find out how to do that in node-orm2 (it wasn't so so pretty) and wondered if things are easier to extend in sequelize ?
benshaw commentedon Aug 6, 2014
Also interested in postgis support as that is the main reason we use postgres in the first place.
MaokaiLin commentedon Oct 14, 2014
Same here. It would be great if
postgiscould be supported!I think a more general module allowing easy extension of new types would be even better.
andreabadesso commentedon Oct 17, 2014
+1
Ouwen commentedon Oct 19, 2014
+1
mohlman3 commentedon Oct 28, 2014
+1
Ouwen commentedon Nov 3, 2014
@MaokaiLin
Yeah an extension that lets you easily add datatypes and the like would be really nice.
FelixCosma commentedon Dec 3, 2014
+1
3 remaining items
Toub commentedon Feb 17, 2015
+1
sharathm commentedon Mar 22, 2015
+1
rafaelveloso commentedon Mar 23, 2015
+1
igorgolovanov commentedon Mar 31, 2015
+1
leoromanovsky commentedon Apr 5, 2015
+1.. if that helps :-)
warrieka commentedon Apr 9, 2015
+1
albertkeba commentedon May 7, 2015
+1
felipythondev commentedon May 9, 2015
+1
thecaddy commentedon May 17, 2015
+1
hal-gh commentedon May 31, 2015
+1
gordlea commentedon Jun 29, 2015
Looks like this was just merged into master: #4013
janmeier commentedon Jun 29, 2015
@gordlea Indeed, but only with postgres support for now. I'll close this one once @mikeingrose has added support for other dialecst as well
mshahriarinia commentedon Jul 12, 2015
+1
janmeier commentedon Jul 13, 2015
Closing this, since postgis support has landed. #2839 will be used to track general gis / geometry support