Tagging
Try bookmarklet. Easy tagging.
Do you want to delete?
Do you want to modify?
  • LINKTAG
  • New
  • Tag
  • Comment
  • Tag, it
Sign in

it

it ops db kysely

Merge temp table as source table · Issue #959 · kysely-org/kysely

Is there a way to use temp table as the source table in merge statement something like this? await db.mergeInto('mainTable').using('tempData', 'mainTable.itemCode', 'tempData.itemCode').whenMatched()...... SQL Statement MERGE INTO MainTa...
wono | discuss |
it ops db kysely merge

JSON utilities for `selectNoFrom` · Issue #1294 · kysely-org/kysely

Discussed in https://discord.com/channels/890118421587578920/1315878442281209907/1315878442281209907 Currently, all the json utilities expect a column. While it is possible to use these utilities via CTEs: const exampleJson = { foo: { ba...
wono | discuss |
it ops db merge

MERGE 문 사용법 (DUAL, UPDATE와 INSERT를 한번에)

MERGE 문을 사용하면 변경할 테이블에 데이터가 존재하는지 체크하고, UPDATE, DELETE, INSERT를 한 번에 작업이 가능하다. MERGE 문을 사용하지 않을 경우 해당 조건으로 테이블을 SELECT 한 후 IF 조건을 사용하여 UPDATE나 INSERT로 분기하는 로직을 작성해야 하는 번거로움이 있다. MERGE 문의 경우 단일(한개의) 테이블에 UPDATE 또는 INSERT를 하는 경우 많이 사용하지만, 두개의 테이블을 비교하거나 서브 쿼리의 결과에 따라서 UPDATE, INSERT 작업이 가능하다. MSSQL MERGE 문 단일 테이블 사용법 (DUAL) 오라클에서는 DUAL이라는 dummy 테이블을 USING 절에 사용하면 단일 테이블 작업이 간단하지만, MSSQL에서는 DUAL 테이..
wono | discuss |
it ops db postgresql merge

PostgreSQL 15にMERGE文UPSERTがやってくる | DevelopersIO

PostgreSQL 15がMERGE文を使ったUPSERTに対応します
wono | discuss |
it dev nextjs shadcn

Cannot set `Select` to an empty value. · Issue #2054 · shadcn-ui/ui

Maybe this is something very obvious that I'm not understanding, but I've checked out the shadcn-ui and the radix/primitives docs and I can't figure this out. Here's my code: const SelectField: React.FunctionComponent<SelectFieldProps> =...
wono | discuss |
it dev javascript formdata

[JavaScript] new FormData(form), Object.fromEntries(iterable), how to seriazlie form data

* forms with multiple fields that have the same name * How to serialize form data with vanilla JS 1) FormData object FormData object provides an easy way to serialize form fields into key/value pairs. Form fields must have a name attribute to be includes object. Otherwise, they're skipped. Title Body Soak up the sun and swim in the ocean. Submit // Get the form let form = document.querySelector(..
wono | discuss |
it ops db postgresql merge

Postgresql 로 Upsert 하기

Postgres 9.5(2016년 1월 7일 이후 출시) 이후 가능한 문법입니다.존재하지 않는 경우 삽입, 존재하는 경우 Nothing존재하지 않는 경우 삽입, 존재하는 경우 Update삽입이 되었으면, id 반환삽입이 된 경우 삽입된 id값을 반환한다.Serial,
wono | discuss |
it tool dbeaver

Dbeaver로 테이블 상세정보 엑셀 파일로 복사 및 저장하는 방법 (mysql, 컬럼명, 데이터 타입, null, key, 디폴트, 코멘트)

이번 회사에서 진행하고 있는 프로젝트에서는 mysql을 사용하고 있는데요. 여기에서 데이터베이스 관리를 위해 무료툴인 디비버(Dbeaver)를 사용하고 있습니다.오늘 해볼 일은 다른 DB툴에서 스키마 브라우져 같은 기능을 통해 테이블과 관련된 상세 정보를 볼 수 있는데요. 이 정보를 Dbeaver에서 조회해보고 나아가 엑셀 파일로 저장하는 방법을 알아보겠습니다.먼저 왼쪽에 있는 브라우져를 통해 아래와 같이 테이블을 선택할 수 있는데요. 테이블을 선택하고 마우스 우클릭을 하면 아래와 같이 'View table' 메뉴가 나타납니다. View table 메뉴를 선택하면 아래와 같이 테이블의 상세정보를 확인 할 수 있는데요. 기본적으로 컬럼의 상세정보를 확인할 수 있습니다. 컬럼명, 데이터 타입, null여부,..
wono | discuss |
it tool dbeaver

[MySQL] DBeaver에서 테이블 명세서 추출

프로젝트 종료 후, 산출물을 제출하기 위해 테이블 명세서가 필요했다.있겠지~라는 생각으로 구글에 검색을 했는데!있었다!   SELECT t1.table_name, t1.table_comment, column_name, data_type, column_type, column_key, is_nullable, column_default, extra, column_commentFROM (SELECT table_name, table_comment FROM information_schema.TABLES WHERE table_schema='databse명') t1, (SELECT table_name, column_name, data_type, column_type, c..
wono | discuss |
it ops node s3 image

AWS S3 도입 (feat. Javascript v3 마이그레이션)

버킷 생성부터 Node.js S3 코드 작성까지. AWS S3 SDK for Javascript v3 (Node.js)
wono | discuss |
it ops aws ami doc

16. Instance AMI 생성(실습)

이번장에서 AMI 즉 인스턴스 이미지를 생성해 본다. 1) EC2의 인스턴스 메뉴에서 기존에 만들어 놓은 **Lucky-Instance**를 선택한다. 그리고 **작업 > 이미…
wono | discuss |
it ops aws backup

how_to_calculate_cost_of_aws_backups

wono | discuss |
it dev nextjs issue cors

Error 403 "forbidden" when running 'next dev' through stunnel - Next.js ver. 15.2.2 · Issue #77045 · vercel/next.js

Link to the code that reproduces this issue https://github.com/designly1/nextjs-15-2-2-stunnel-issue To Reproduce 1 . Clone repo 2. cd repo 3. pnpm i 4. Setup a stunnnel reverse proxy: [dev server] accept = 443 connect = 3000 cert = /pat...
wono | discuss |
it ops nextjs cors websocket

문제는 언젠가 해결된다.

NextJS 12버전에 nginx reverse proxy 적용 결과 나온 에러다. 로그 상으로 momentjs 모듈에서 발생한 에러로 보이지만, create-next-app으로 새로운 웹을 만들어도 같은 문제가 발생했다. 해결방법을 찾으려고 각종 국내 및 해외 개
wono | discuss |
it dev nextjs cors

Next.js 버전업 이후 셀프 호스팅 환경에서의 CORS

문제가 발생하는 페이지들의 CORS 에러를 확인했는데, 정기 배포 직전까지는 문제없이 동작하고 있던 곳이었어요. 특이하게도 creatrip.com 에서의 접속은 아무런 이슈가 없었지만 www.creatrip.com 도메인에서의 접속에서 문제가 발생했어요. 저희 크리에이트립에서는 Next.js 빌드 이후 생성된 정적 파일들을 Cloudfront로 제공하고…
wono | discuss |
it dev nextjs cors

Next.js 환경에서 CORS 에러 해결

Next 에서 CORS 를 해결하는 과정
wono | discuss |
it ops key

암호화 알고리즘 비교: RSA vs ED25519

서버 인프라를 세팅하기 위해 EC2 인스턴스를 만들다가 생긴 궁금증.RSA (Rivest-Shamir-Adleman):RSA의 보안은 큰 소수의 곱을 소인수분해하는 것이 어렵다는 사실에 기인하여 등장.키 길이에 크게 의존하는 보안성. 2048비트 이상이 권장되며, 40
wono | discuss |
it ops github deploykeys

[Git/Github] Repository의 Deploy key 사용하기 (ssh-keygen, 공개키, 비밀키)

왜 사용하는가? 로컬이 아닌 공용 서버, 새로 구축한 서버에서 private repository를 가져올 때마다 인증을 해야 하는 번거로움이 있습니다. 이럴 때 repository에 public key(공개키)를 등록하고 클론할 서버에 private key(개인키)를 들고 있게 하면 간편하게 repository에 접근할 수 있습니다. 아래 순서대로 진행하면 됩니다. 키 쌍을 생성 repository에 deploy key 추가 ssh conifg 설정 git clone 키 생성하기 터미널에서 ssh-keygen을 활용하여 아래의 옵션을 추가한 후 키 페어를 생성합니다. ssh-keygen -t rsa -b 2048 -f ~/.ssh/test_key t 옵션은 암호화 타입을 지정하고 b 옵션은 bit 크기를..
wono | discuss |
it ops db softdelete postgresql

Soft deletion with PostgreSQL: but with logic on the database!—Martian Chronicles, Evil Martians’ team blog

Rubyists might take special pleasure here, but every SQL and PostgreSQL dev can learn this unorthodox approach: putting soft delete logic on the database side.
wono | discuss |
it dev nextjs tanstack-table rowselection

Tanstack-table의 onRowSelectionChange 내부 살펴보기

onRowSelectionChange 메서드를 살펴보자
wono | discuss |
Next
© 2025. LINKTAG.ORG. Help Feedback Privacy Terms