Skip to content
#

orm

Here are 3,228 public repositories matching this topic...

prisma
jasonkuhrt
jasonkuhrt commented Feb 6, 2021

I am intentionally making this issue specific but I assume it could be expanded to include much more of the API.

Problem

I do not have the entire Prisma Client API perfectly (let alone roughly) committed to memory.

When I go to use it to query for many results the operations tell me nothing about what and why they will do. I only have types to work with.

I don't want to open my br

ajcvickers
ajcvickers commented Apr 23, 2021

See dotnet/EntityFramework.Docs#3207

It would be useful for ApplyConfigurationsFromAssembly to still use a parameterless constructor if there is one, even if it is not public.

Also, ApplyConfigurationsFromAssembly should warn if it finds a configuration that would be instantiated except that there is no parameterless constructor.

dawid-nowak
dawid-nowak commented Nov 29, 2020

Is it supported at the moment to have 'serialize_as' and 'deserialize_as' on the single field in the sturcture as shown below?

#[derive(Identifiable, Queryable, PartialEq, Debug, Serialize, Deserialize, Insertable)]
#[table_name = "blah"]
pub struct Data {

    #[diesel(serialize_as = "SensitiveStringSerializer")]   
    #[diesel(deserialize_as = "SensitiveStringDeserializer")]

   
mikro-orm
jasonwilson
jasonwilson commented May 4, 2021

Is your feature request related to a problem? Please describe.
In trying to setup a new database from an initial migration I realized there's no way to create a new database from scratch. Is that accurate?

Describe the solution you'd like
Something akin to rake db:init or rake db:create where mikro-orm will take the runtime config and create a new database if it doesn't exist

Improve this page

Add a description, image, and links to the orm topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the orm topic, visit your repo's landing page and select "manage topics."

Learn more