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
Commits
3c99c98d
Commit
3c99c98d
authored
5 months ago
by
Eunhak Lee
Browse files
Options
Downloads
Patches
Plain Diff
hotfix: transactions 테이블 구조에 맞춰서 쿼리 변경
parent
5c0b6b15
No related branches found
No related tags found
1 merge request
!17
hotfix: transactions 테이블 구조 일치
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/repositories/myRepository.js
+2
-2
2 additions, 2 deletions
src/repositories/myRepository.js
with
2 additions
and
2 deletions
src/repositories/myRepository.js
+
2
−
2
View file @
3c99c98d
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment