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 51d2af2e
authored
Nov 03, 2014
by
Jan Aagaard Meier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated dependencies
1 parent
68a68801
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
lib/plugins/counter-cache.js
package.json
lib/plugins/counter-cache.js
View file @
51d2af2
...
@@ -74,7 +74,7 @@ module.exports = (function() {
...
@@ -74,7 +74,7 @@ module.exports = (function() {
update
:
function
(
targetId
)
{
update
:
function
(
targetId
)
{
var
query
=
CounterUtil
.
_targetQuery
(
targetId
);
var
query
=
CounterUtil
.
_targetQuery
(
targetId
);
return
association
.
target
.
count
({
where
:
query
}).
then
(
function
(
count
)
{
return
association
.
target
.
count
({
where
:
query
}).
then
(
function
(
count
)
{
var
newValues
=
{};
var
newValues
=
{};
query
=
CounterUtil
.
_sourceQuery
(
targetId
);
query
=
CounterUtil
.
_sourceQuery
(
targetId
);
...
...
package.json
View file @
51d2af2
...
@@ -34,25 +34,25 @@
...
@@ -34,25 +34,25 @@
"dependencies"
:
{
"dependencies"
:
{
"dottie"
:
"0.2.4"
,
"dottie"
:
"0.2.4"
,
"generic-pool"
:
"2.1.1"
,
"generic-pool"
:
"2.1.1"
,
"inflection"
:
"1.
4.2
"
,
"inflection"
:
"1.
5.1
"
,
"lodash"
:
"~2.4.0"
,
"lodash"
:
"~2.4.0"
,
"moment"
:
"~2.
7
.0"
,
"moment"
:
"~2.
8
.0"
,
"node-uuid"
:
"~1.4.1"
,
"node-uuid"
:
"~1.4.1"
,
"bluebird"
:
"2.3.2"
,
"bluebird"
:
"
~
2.3.2"
,
"sql"
:
"~0.
39
.0"
,
"sql"
:
"~0.
40
.0"
,
"toposort-class"
:
"~0.3.0"
,
"toposort-class"
:
"~0.3.0"
,
"validator"
:
"~3.
16
.0"
"validator"
:
"~3.
22
.0"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"chai-as-promised"
:
"^4.1.1"
,
"chai-as-promised"
:
"^4.1.1"
,
"sqlite3"
:
"~
2.2.4
"
,
"sqlite3"
:
"~
3.0.0
"
,
"mysql"
:
"~2.
4.1
"
,
"mysql"
:
"~2.
5.0
"
,
"pg"
:
"~3.
4
.0"
,
"pg"
:
"~3.
6
.0"
,
"watchr"
:
"~2.4.11"
,
"watchr"
:
"~2.4.11"
,
"chai"
:
"~1.9.0"
,
"chai"
:
"~1.9.0"
,
"mocha"
:
"~
1.21.3
"
,
"mocha"
:
"~
2.0.0
"
,
"chai-datetime"
:
"~1.
2
.0"
,
"chai-datetime"
:
"~1.
3
.0"
,
"sinon"
:
"~1.1
0.3
"
,
"sinon"
:
"~1.1
1.0
"
,
"mariasql"
:
"~0.1.2"
,
"mariasql"
:
"~0.1.2"
,
"chai-spies"
:
"~0.5.1"
,
"chai-spies"
:
"~0.5.1"
,
"lcov-result-merger"
:
"~1.0.0"
,
"lcov-result-merger"
:
"~1.0.0"
,
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
"async"
:
"~0.9.0"
,
"async"
:
"~0.9.0"
,
"coffee-script"
:
"~1.7.1"
,
"coffee-script"
:
"~1.7.1"
,
"markdox"
:
"0.1.4"
,
"markdox"
:
"0.1.4"
,
"sinon-chai"
:
"~2.
5
.0"
,
"sinon-chai"
:
"~2.
6
.0"
,
"jshint"
:
">=2.4.2"
"jshint"
:
">=2.4.2"
},
},
"keywords"
:
[
"keywords"
:
[
...
...
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