cycle / database

Database Abstraction Layer, Schema Introspection, Schema Generation, Query Builders
MIT License
53 stars 22 forks source link

feat: postgres array type detection #203

Open mastir opened 1 month ago

mastir commented 1 month ago

🔍 What was changed

detect internal array types as string[], integer[] and float[] insteed of ARRAY

🤔 Why?

There is no way to detect actual column type for arrays. In ORM any of array columns treated as unknown type with string typecast, but with custom typecast this columns can be detected and used properly

roxblnfk commented 4 weeks ago

Hi. I've updated the thread so the CI tests are passing. But for any code change we need additional tests.

mastir commented 3 weeks ago

Thank you @roxblnfk, I`ve added new test case and few more type detections to cover all of the postgres basic types