Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
public
/
sequelize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
不要怂,就是干,撸起袖子干!
Commit 799baaf0
authored
Dec 30, 2015
by
oss92
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show that sequelize supports geometry on documentation
1 parent
ddce5fb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
CONTRIBUTING.md
lib/data-types.js
CONTRIBUTING.md
View file @
799baaf
...
@@ -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
...
...
lib/data-types.js
View file @
799baaf
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment