[databases] Differences in returned value

#1

Hello,

I have been wondering why the PostgreSQL backend was returning a Record where you have to access properties as item, not attributes.

I was surprised because until now, I had relied on the sqlite backend and hoped that switching backend would be transparent.

It didn’t seem to be the case.

Am I doing something odd?

Thanks,

  • Sylvain
#2

As a side note, the PostgreSQL backend doesn’t seem to play nicely with UUID column type. It tries to convert them to bytes when calling the record item.