Skip to content

ORM

  • LiveStore has a built-in query builder which should be sufficient for most simple use cases.
  • You can always fall back to using raw SQL queries if you need more complex queries.
  • As long as the ORM allows supports synchronously generating SQL statements (and binding parameters), you should be able to use it with LiveStore.
  • Supported ORMs:
  • Unsupported ORMs:
    • Prisma (because it’s async)

Example

// TODO (contribution welcome)