Summary
CockroachDBModel only overrides $getType() for 4 type cases (bool, boolean, bit, varbit). Other CockroachDB-specific types may need explicit handling.
Details
- CockroachDB returns
STRING for string columns (PostgreSQL returns varchar/text)
JSONB handling may differ from PostgreSQL
BYTES type (CockroachDB's binary) vs PostgreSQL's bytea
INTERVAL, INET type handling
- Should verify full type introspection against a real CockroachDB instance
Files
vendor/wheels/databaseAdapters/CockroachDB/CockroachDBModel.cfc — expand $getType() switch
vendor/wheels/databaseAdapters/PostgreSQL/PostgreSQLModel.cfc:8-95 — inherited type map
Summary
CockroachDBModel only overrides
$getType()for 4 type cases (bool, boolean, bit, varbit). Other CockroachDB-specific types may need explicit handling.Details
STRINGfor string columns (PostgreSQL returnsvarchar/text)JSONBhandling may differ from PostgreSQLBYTEStype (CockroachDB's binary) vs PostgreSQL'sbyteaINTERVAL,INETtype handlingFiles
vendor/wheels/databaseAdapters/CockroachDB/CockroachDBModel.cfc— expand$getType()switchvendor/wheels/databaseAdapters/PostgreSQL/PostgreSQLModel.cfc:8-95— inherited type map