take

Experimental Feature

This configuration entry is related to an Experimental (Optional) feature called Static Take. Before you start to configure this section, make sure to read the page specific for this feature (accessible here) and this page that explains how to enable Experimental Features.

Versioning History

API Version v2.0.0 - Introduced take configuration option.

Configure the default take amount for each model or for all models. To configure the take amounts, add the following lines to your configuration file:

prisma-util.config.mjs
export default {
    // Other configuration lines
    take: {
        $global: 20,
        "Model": 35
    }
};

Last updated