[databases] Differences in returned value



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?


  • Sylvain

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.