generateId() should not return an identifier starting with a digit
jgfoster opened this issue · 0 comments
jgfoster commented
If the generated value starts with a digit then certain operations like SELECT * FROM 123ABC
report an "invalid numeric token" error. Adding a constant 'A' to the front of the return value avoids this error. Consider the following for utils.dart:27
:
return 'A' + md5.convert(values).toString();