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 6212337f
authored
May 07, 2014
by
José Moreira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Solve conflicts of rename daoFactory on my commits Again
1 parent
a22ce900
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
10 deletions
lib/dialects/abstract/query-generator.js
lib/model.js
lib/dialects/abstract/query-generator.js
View file @
6212337
...
@@ -788,12 +788,7 @@ module.exports = (function() {
...
@@ -788,12 +788,7 @@ module.exports = (function() {
joinQueryItem
+=
joinType
+
self
.
quoteTable
(
table
,
as
)
+
" ON "
+
joinOn
joinQueryItem
+=
joinType
+
self
.
quoteTable
(
table
,
as
)
+
" ON "
+
joinOn
if
(
include
.
where
)
{
if
(
include
.
where
)
{
<<<<<<<
HEAD
joinQueryItem
+=
" AND "
+
(
where
=
self
.
getWhereConditions
(
include
.
where
,
self
.
sequelize
.
literal
(
self
.
quoteIdentifier
(
as
)),
include
.
model
,
whereOptions
)
)
joinQueryItem
+=
" AND "
+
(
where
=
self
.
getWhereConditions
(
include
.
where
,
self
.
sequelize
.
literal
(
self
.
quoteIdentifier
(
as
)),
include
.
model
,
whereOptions
)
)
=======
joinQueryItem
+=
" AND "
+
(
where
=
self
.
getWhereConditions
(
include
.
where
,
self
.
sequelize
.
literal
(
self
.
quoteIdentifier
(
as
)),
include
.
daoFactory
,
whereOptions
)
)
>>>>>>>
FETCH_HEAD
// If its a multi association we need to add a where query to the main where (executed in the subquery)
// If its a multi association we need to add a where query to the main where (executed in the subquery)
if
(
subQuery
&&
association
.
isMultiAssociation
&&
include
.
required
)
{
if
(
subQuery
&&
association
.
isMultiAssociation
&&
include
.
required
)
{
...
...
lib/model.js
View file @
6212337
...
@@ -1539,13 +1539,8 @@ module.exports = (function() {
...
@@ -1539,13 +1539,8 @@ module.exports = (function() {
// otherwise this code will never run on includes of a already conditionable where
// otherwise this code will never run on includes of a already conditionable where
if
(
options
.
include
&&
options
.
include
.
length
)
{
if
(
options
.
include
&&
options
.
include
.
length
)
{
options
.
include
.
forEach
(
function
(
include
)
{
options
.
include
.
forEach
(
function
(
include
)
{
<<<<<<<
HEAD
:
lib
/
model
.
js
if
(
typeof
include
==
'object'
&&
include
.
model
){
if
(
typeof
include
==
'object'
&&
include
.
model
){
paranoidClause
.
call
(
include
.
model
,
include
)
paranoidClause
.
call
(
include
.
model
,
include
)
=======
if
(
typeof
include
==
'object'
&&
include
.
daoFactory
||
include
.
model
){
paranoidClause
.
call
(
include
.
daoFactory
||
include
.
model
,
include
)
>>>>>>>
FETCH_HEAD
:
lib
/
dao
-
factory
.
js
}
}
})
})
}
}
...
...
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