mysql.dart icon indicating copy to clipboard operation
mysql.dart copied to clipboard

Data passing

Open AxelCope opened this issue 2 years ago • 0 comments

Hello. I would like to be able to retrieve the rows of a specific column and pass them to a list of String. How can I proceed?

var res = await conn.execute('SELECT * FROM COMMERCIALS');

  for(final row in res.rows) {
    row.assoc()["NOM_COMMERCIAL"];
  }

AxelCope avatar Dec 18 '22 11:12 AxelCope