mysql.dart
mysql.dart copied to clipboard
Blob-Data
Can you please provide an example for Blob-Data?
How to store and retrieve an Uint8List in and from medium blob column? Regards, Christoph
at the moment I am converting my uint8List to String to insert it and convert it back on loading... This can´t be the way to do it, right?
before Insert/update: String myBlobDataAsString = String.fromCharCodes(myUint8Data);
after select: Uint8List myUint8Data = Uint8List.fromList(myBlobDataAsString.codeUnits);
Any update for this?