@tstdl/base 0.92.59 → 0.92.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -102,11 +102,12 @@ function getPostgresColumnEntries(type, tableName, dbSchema, path = new JsonPath
|
|
|
102
102
|
return decodeText(decrypted);
|
|
103
103
|
}
|
|
104
104
|
: (value) => value;
|
|
105
|
+
const prefixedColumnName = [prefix, columnName].join('');
|
|
105
106
|
return [
|
|
106
107
|
{
|
|
107
|
-
name: toCamelCase(
|
|
108
|
+
name: toCamelCase(prefixedColumnName),
|
|
108
109
|
objectPath,
|
|
109
|
-
type: getPostgresColumn(
|
|
110
|
+
type: getPostgresColumn(toSnakeCase(prefixedColumnName), dbSchema, schema, columnReflectionData ?? {}, { type, property }),
|
|
110
111
|
reflectionData: columnReflectionData,
|
|
111
112
|
dereferenceObjectPath: compileDereferencer(objectPath, { optional: true }),
|
|
112
113
|
toDatabase,
|