Extracting a form helper

Extracting a form helper

Preview unavailable

You must log in or sign up to view this lesson.

LoginSign up

Database apps with SvelteKit (archive)

Buy nowLearn more

Welcome

  • Welcome

Links

  • Code

Introduction

  • What is Prisma?
  • Project setup
  • Defining models
  • Centralizing the client
  • Seeding the database

CRUD

  • Create4
  • Read
  • Update
  • Delete
  • Upsert

Forms and validation

  • Validating the schema
  • Extracting a form helper
  • Creating a re-usable validation function

Searching, sorting and paging

  • Searching and filtering
  • Sorting data
  • Paging data

Relationships

  • Defining relationship schemas
  • Linking related records
  • Adding UI for related models
  • Querying related data

Transactions

  • Performing operations atomically
  • Atomically executing a function

Aggregation

  • Counting, averaging, and summing
  • Grouping data

Deployment

  • Switching to database migrations
  • Deploying to Vercel
  • Migrating with branches

Bonus: Advanced features

  • Generators
  • Extensions
  • Middleware

Links

  • Bonus: Cheatsheet
  • Source code