Skip to content

Testing new adapter - test if count is implemented #5931

@realtebo

Description

@realtebo

Is this suited for github?

  • Yes, this is suited for github

Is your feature request related to a problem? Please describe.

implementing a new adapter I can sucesfully past tests having

count: async ({
          model,
          where,
        }: {
          model: string;
          where?: Required<Where>[];
        }): Promise<number> => {
          console.log("count model:", model);
          console.log("count where:", where);
          // ...

          return -1;
        },

Describe the solution you'd like

add a new test

Describe alternatives you've considered

remove need for count if un needed

Additional context

No response

Metadata

Metadata

Assignees

Labels

databaseDatabase layer, all adapters, schema, migrationsdevtoolsCLI, OpenAPI, telemetry, i18n, test-utils

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions