sql-examples
Curated list of SQL to help you find useful script easily π
νμΌ νμκΈ°
μ΅μ’ λ²μ λ€μ΄λ‘λ (.zip)- bug_report.md
- feature_request.md
- FUNDING.yml
- main.css
- Copied.vue
- Copy.vue
- Edit.vue
- Link.vue
- Star.vue
- Badge.vue
- Card.vue
- CopyButton.vue
- Footer.vue
- Header.vue
- LinkPreview.vue
- NotFound.vue
- Search.vue
- add-column.md
- add-constraints.md
- alter-column-type.md
- automatically-update-timestamp.md
- basic-aggregate-functions.md
- case-expression.md
- create-function-return-count.md
- create-function-return-table.md
- create-function.md
- create-table-constraints.md
- create-table-foreign-key.md
- create-table.md
- create-view.md
- cron-job.md
- describe-table.md
- drop-constraints.md
- drop-function.md
- drop-rls.md
- drop-trigger.md
- drop-view.md
- full-text-search.md
- handle-new-user.md
- increment-field-value.md
- list-all-constraint.md
- list-all-foreign-keys.md
- list-all-functions.md
- list-all-primary-keys.md
- list-all-table-size.md
- list-all-triggers.md
- query-text-from-text-array.md
- rename-constraints.md
- rls-advanced-policies.md
- rls-edit-policy.md
- rls-policies-with-joins.md
- rls-policies-with-security-definer-function.md
- rls-read-access.md
- rls-restrict-updates.md
- rls-time-to-live-for-rows.md
- rls-verifyng-email-domains.md
- seed-unlimited-users.md
- sequence-operations.md
- show-postgres-version.md
- stripe-subscriptions.md
- to-do-list.md
- update-constraints.md
- world-countries.md
- youtube-like-short-id.md
- default.vue
- error.vue
- _slug.vue
- index.vue
- index.vue
- icon.svg
- og.png
- splash.png
- README.md
- .editorconfig
- .gitignore
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- interface.ts
- jsconfig.json
- LICENSE
- nuxt.config.js
- package.json
- README.md
- state.ts
- tsconfig.json
- windi.config.js
- yarn.lock
# μ€μΉ κ°μ΄λ
git clone https://github.com/supabase-community/sql-examples
κΉνλΈμμ νλ‘μ νΈ μ½λ μ 체λ₯Ό λ΄ μ»΄ν¨ν°λ‘ λ΄λ €λ°μ΅λλ€.
cd sql-examples
λ°©κΈ λ΄λ €λ°μ νλ‘μ νΈ ν΄λ μμΌλ‘ μ΄λν©λλ€.
2. 곡μ μ€μΉ μ€ν¬λ¦½νΈ
μ¬μ μΆμ²- Node.js npm λͺ λ Ήμ΄λ₯Ό μ°λ €λ©΄ Node.jsκ° μ€μΉλμ΄ μμ΄μΌ ν©λλ€.
npm install --global yarn
npm λ μ§μ€νΈλ¦¬μ λ°°ν¬λ ν¨ν€μ§λ₯Ό μ μμΌλ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
3. Node.js
μ¬μnpm install --global yarn
npm λ μ§μ€νΈλ¦¬μ λ°°ν¬λ ν¨ν€μ§λ₯Ό μ μμΌλ‘ μ€μΉν©λλ€. μμ€ ν΄λ‘ μ΄ νμ μμ΅λλ€.
yarn install
package.jsonμ λͺ μλ λΌμ΄λΈλ¬λ¦¬λ€μ λ΄λ €λ°μ μ€μΉν©λλ€.
yarn dev
κ°λ°/μ€ν μλ²λ₯Ό μΌλλ€.
μ΄ λ ν¬μ READMEμ μ ν μ€μ λͺ λ Ήμ΄λ₯Ό κ·Έλλ‘ κ°μ Έμμ΅λλ€.
