supabase/node-postgres
PostgreSQL client for node.js.
https://skillcdn.ai/gh/supabase/node-postgres내 AI에 이 주소를 연결하면 이 스킬들을 쓸 수 있어요. 연결 방법 보기
- 미확인
- 기본 브랜치
master - 커밋
a8a369c - 라이선스
MIT
저장소 둘러보기
스킬과 문서의 원문에서 찾습니다. 화면용 번역은 검색되지 않아요.
문서
- _meta.jsdocs/pages/features/_meta.js
- Callbacksasync / await is the preferred way to write async code these days with node, but callbacks are supported in the pg module and the pg-pool module. To use them, pass a callback function as the last arg…docs/pages/features/callbacks.mdx
- Connectingnode-postgres uses the same environment variables as libpq and psql to connect to a PostgreSQL server. Both individual clients & pools will use these environment variables. Here's a tiny program conn…docs/pages/features/connecting.mdx
- ESMAs of v8.15.x node-postgres supporters the ECMAScript Module (ESM) format. This means you can use import statements instead of require or import pg from 'pg'.docs/pages/features/esm.mdx
- Native BindingsNative bindings between node.js & libpq are provided by the node-pg-native package. node-postgres can consume this package & use the native bindings to access the PostgreSQL server while giving you t…docs/pages/features/native.mdx
- Poolingimport { Alert } from '/components/alert.tsx' import { Info } from '/components/info.tsx'docs/pages/features/pooling.mdx
- QueriesFor the sake of brevity I am using the client.query method instead of the pool.query method - both methods support the same API. In fact, pool.query delegates directly to client.query internally.docs/pages/features/queries.mdx
- SSLnode-postgres supports TLS/SSL connections to your PostgreSQL server as long as the server is configured to support it. When instantiating a pool or a client you can provide an ssl property on the co…docs/pages/features/ssl.mdx
- Transactionsimport { Alert } from '/components/alert.tsx'docs/pages/features/transactions.mdx
- Data Typesimport { Alert } from '/components/alert.tsx'docs/pages/features/types.mdx