Question · React Native course · Module 9: Data storage

execAsync

When to use execAsync instead of runAsync?

Answer options

  • For SELECT queries
  • For multiple SQL statements (CREATE TABLE, etc.)
  • For INSERT with parameters
  • For transactions

You can check the correct answer by solving this task in the CodeWorlds game.