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
GitLab 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
!17
hotfix: transactions 테이블 구조 일치
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
hotfix: transactions 테이블 구조 일치
hotfix/sql
into
main
Overview
0
Commits
3
Pipelines
1
Changes
2
Merged
Eunhak Lee
requested to merge
hotfix/sql
into
main
7 months ago
Overview
0
Commits
3
Pipelines
1
Changes
2
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
69a85b39
3 commits,
7 months ago
2 files
+
5
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/repositories/myRepository.js
+
2
−
2
View file @ 69a85b39
Edit in single-file editor
Open in Web IDE
Show full file
@@ -37,8 +37,8 @@ const myRepository = {
async
getCombinationIdByTransactionId
(
transactionId
)
{
const
query
=
`
SELECT combination_id
FROM
pcregister_
trans
e
ction
WHERE
transaction_
id = $1
FROM trans
a
ction
s
WHERE id = $1
`
;
const
values
=
[
transactionId
];
const
{
rows
}
=
await
pool
.
query
(
query
,
values
);
Loading