0 purchases
sql result
sql_result #
Class for MS-SQL query result set (see dart_mssql package for details)
Example Usage (use dart_mssql package) #
void main() {
// Establish a connection
SqlConnection connection = SqlConnection(host:"SERVERNAME", db:"DBNAME", user:"USERNAME", password:"PASSWORD");
// Querying several rows
String cmd = "select id_nacionalidade,nom_nacionalidade from nacionalidade where id_nacionalidade>?"; // parameters binding!
SqlResult result = connection.execute(cmd,[4]);
result.rows.forEach((e) {
print("${e.id_nacionalidade}");
});
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.