Skip to content
Discussion options

You must be logged in to vote

This is a well-articulated, important concern, and the good news is that "collections" — which you specifically asked about — are exactly the answer to most of what you're describing, though they work differently from object-spread composition rather than replicating it directly. Let me walk through what's actually there based on what Prisma has published so far.


Answering your numbered questions directly

1. Is there an equivalent to composing WhereInput as plain data?

Not as plain object spreading, based on what's been shown publicly so far. Prisma Next's SQL query builder uses a fluent chain syntax — db.sql.selectFrom(...).leftJoin(...).select(...).orderBy(...) — and the ORM-level quer…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by DarkKingpro10
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
discussion/needs-confirmation Needs a user to confirm the solution before the Discussion can be marked as answered
5 participants