zim32 / mysql.dart

MySQL client for Dart written in Dart
BSD 3-Clause "New" or "Revised" License
64 stars 17 forks source link

Data passing #43

Open AxelCope opened 1 year ago

AxelCope commented 1 year ago

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"];
  }