Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded/Composite types #82

Closed
17 tasks done
Brendonovich opened this issue Jun 13, 2022 · 7 comments · Fixed by #295
Closed
17 tasks done

Embedded/Composite types #82

Brendonovich opened this issue Jun 13, 2022 · 7 comments · Fixed by #295

Comments

@Brendonovich
Copy link
Owner

Brendonovich commented Jun 13, 2022

create

  • set

update

  • set
  • unset
  • update
  • upsert
  • push
  • updateMany
  • deleteMany

Filters

  • is
  • equals
  • isNot
  • isSet
  • isEmpty
  • every
  • some
  • none

  • order
@Congyuwang
Copy link
Contributor

Any update on this! Currently, using type in schema.prisma gives unimplemented!() panic.

@Brendonovich
Copy link
Owner Author

Nah I haven't been putting any work into it. MongoDB isn't a priority or even something I know much about

@Alivers
Copy link

Alivers commented Feb 1, 2023

Thanks for your work to offer prisma rust tools. Is there any update on this? For the mongodb, the composite types is truely needed to store nested document.

@Brendonovich
Copy link
Owner Author

No update sadly, but if I find time I may implement them for the next update. They should work similar to regular models if I understand correctly.

@Congyuwang
Copy link
Contributor

Tried to implement it, but don't really know how to implement the generator part, then give up, lol.

@Brendonovich
Copy link
Owner Author

Aight this should be doable
image

@Brendonovich Brendonovich linked a pull request Mar 25, 2023 that will close this issue
@Brendonovich Brendonovich added this to the 0.7.0 milestone Mar 25, 2023
@Brendonovich
Copy link
Owner Author

Docs: https://prisma-client-rust-git-main-brendonovich.vercel.app/extra/composite-types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants