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

Commit 33799294 by Jan Aagaard Meier

Merge pull request #5119 from oss92/geometry_documentation

[ci skip] Show that sequelize supports geometry on documentation
2 parents 8a732fc1 799baaf0
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
Still interested? Coolio! Here is how to get started:
### 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
......
......@@ -811,6 +811,11 @@ var helpers = {
SCALE: [DECIMAL]
};
/**
* A geometry datatype represents two dimensional spacial objects.
* @property GEOMETRY
*/
var GEOMETRY = ABSTRACT.inherits(function(type, srid) {
var options = _.isPlainObject(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!