Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
meanspec-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MeanSpec (SCE338 2024-2 Group 1)
meanspec-backend
Merge requests
!23
lint 오류 수정
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
lint 오류 수정
fix/missing-eslint
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Lee WooChang
requested to merge
fix/missing-eslint
into
main
5 months ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
32ee46c4
1 commit,
5 months ago
1 file
+
6
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/repositories/myRepository.js
+
6
−
6
Options
@@ -82,17 +82,17 @@ const myRepository = {
return
rowCount
>
0
;
},
async
deleteCombinationById
(
combinationId
)
{
const
query
=
`
async
deleteCombinationById
(
combinationId
)
{
const
query
=
`
UPDATE combinations
SET owner_id = NULL
WHERE id = $1
`
;
const
values
=
[
combinationId
];
const
values
=
[
combinationId
];
const
{
rowCount
}
=
await
pool
.
query
(
query
,
values
);
return
rowCount
>
0
;
}
const
{
rowCount
}
=
await
pool
.
query
(
query
,
values
);
return
rowCount
>
0
;
},
};
export
default
myRepository
;
Loading