Skip to content

Is serialize possible #2

Description

@DorKeinath

Is it possible to use db?.serialize with performSQLAction?

I guess, that I've got a performance problem with when executeing many rows with something like this. Not on my pc but on my android. That's why I'm would like to know if I can use serialize.

for (let id = 1; id <= 20; id++) {
          const respSelect = await db?.query(
            `SELECT COUNT(*) as count FROM techniques WHERE id = ?`,
            [id]
          );
          
          ...
          const respInsert = await db?.execute(`
              INSERT INTO techniques (id) VALUES (${id});`);

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions