sqljocky5 icon indicating copy to clipboard operation
sqljocky5 copied to clipboard

Access columns by name is not supported anymore

Open MoacirSchmidt opened this issue 6 years ago • 4 comments
trafficstars

Could you please tell why accessing columns by name is not supported anymore (although it is on readme?)

MoacirSchmidt avatar Mar 12 '19 02:03 MoacirSchmidt

This should work. I will test it.

tejainece avatar Mar 12 '19 13:03 tejainece

I'm not sure if it is related but I noticed standard_data_packet.dart file in this implementation does not have "noSuchMethod" method (compared with sqljocky version). Do you know if it was removed due to performance issues?

MoacirSchmidt avatar Mar 12 '19 13:03 MoacirSchmidt

@MoacirSchmidt Sorry misunderstood the issue. Accessing column as map is supported (row['age'], etc). However, accessing columns as property is not supported anymore. This behavior is not supported by Dart 2 any longer.

I will fix the documentation.

tejainece avatar Mar 12 '19 15:03 tejainece

Just to flag up that the documentation has not yet been updated (over 2 years since the issue was raised). Is this library still under active development?

marktyers avatar May 28 '21 12:05 marktyers