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 40814b76
authored
May 07, 2015
by
Mick Hansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue with custom getter not passing options along
1 parent
74262d3b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
changelog.md
lib/instance.js
package.json
changelog.md
View file @
40814b7
# Next
# 2.1.1
-
[
BUG
]
.get() now passes along options correctly when using a custom getter
-
[
FEATURE
]
Lock modes in Postgres now support
`OF table`
-
[
FEATURE
]
Lock modes in Postgres now support
`OF table`
-
[
FEATURE
]
New transaction lock modes
`FOR KEY SHARE`
and
`NO KEY UPDATE`
for Postgres 9.3+
-
[
FEATURE
]
New transaction lock modes
`FOR KEY SHARE`
and
`NO KEY UPDATE`
for Postgres 9.3+
-
[
FEATURE/REFACTOR
]
Rewritten scopes with complete support for includes and scopes across associations
-
[
FEATURE/REFACTOR
]
Rewritten scopes with complete support for includes and scopes across associations
...
...
lib/instance.js
View file @
40814b7
...
@@ -217,7 +217,7 @@ module.exports = (function() {
...
@@ -217,7 +217,7 @@ module.exports = (function() {
if
(
this
.
_hasCustomGetters
)
{
if
(
this
.
_hasCustomGetters
)
{
for
(
_key
in
this
.
_customGetters
)
{
for
(
_key
in
this
.
_customGetters
)
{
if
(
this
.
_customGetters
.
hasOwnProperty
(
_key
))
{
if
(
this
.
_customGetters
.
hasOwnProperty
(
_key
))
{
values
[
_key
]
=
this
.
get
(
_key
);
values
[
_key
]
=
this
.
get
(
_key
,
options
);
}
}
}
}
}
}
...
...
package.json
View file @
40814b7
{
{
"name"
:
"sequelize"
,
"name"
:
"sequelize"
,
"description"
:
"Multi dialect ORM for Node.JS"
,
"description"
:
"Multi dialect ORM for Node.JS"
,
"version"
:
"2.1.
0
"
,
"version"
:
"2.1.
1
"
,
"author"
:
"Sascha Depold <sascha@depold.com>"
,
"author"
:
"Sascha Depold <sascha@depold.com>"
,
"contributors"
:
[
"contributors"
:
[
{
{
...
...
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