不要怂,就是干,撸起袖子干!

Commit 799baaf0 by oss92

Show that sequelize supports geometry on documentation

1 parent ddce5fb8
Showing with 6 additions and 1 deletions
...@@ -33,7 +33,7 @@ We're glad to get pull request if any functionality is missing or something is b ...@@ -33,7 +33,7 @@ We're glad to get pull request if any functionality is missing or something is b
Still interested? Coolio! Here is how to get started: Still interested? Coolio! Here is how to get started:
### 1. Prepare your environment ### 1. Prepare your environment
Here comes a little surprise: You need [Node.JS](http://nodejs.org). In order to be a productive developer, I would recommend the latest v0.10. Here comes a little surprise: You need [Node.JS](http://nodejs.org).
### 2. Install the dependencies ### 2. Install the dependencies
......
...@@ -811,6 +811,11 @@ var helpers = { ...@@ -811,6 +811,11 @@ var helpers = {
SCALE: [DECIMAL] SCALE: [DECIMAL]
}; };
/**
* A geometry datatype represents two dimensional spacial objects.
* @property GEOMETRY
*/
var GEOMETRY = ABSTRACT.inherits(function(type, srid) { var GEOMETRY = ABSTRACT.inherits(function(type, srid) {
var options = _.isPlainObject(type) ? type : { var options = _.isPlainObject(type) ? type : {
type: type, type: type,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!