Open vizo opened 2 years ago
I was trying to implement https://github.com/knex/knex/search?q=useBinaryUuid into nestjs-objection, but i don't know what is the best way to do it ...
Maybe in src/objection.features.ts ...?
if (options.length) { table[columnType](columnName, options.length); } else if (options.useBinaryUuid) { table[columnType](columnName, { useBinaryUuid: options.useBinaryUuid }); } else { table[columnType](columnName); }
I was trying to implement https://github.com/knex/knex/search?q=useBinaryUuid into nestjs-objection, but i don't know what is the best way to do it ...
Maybe in src/objection.features.ts ...?
if (options.length) { table[columnType](columnName, options.length); } else if (options.useBinaryUuid) { table[columnType](columnName, { useBinaryUuid: options.useBinaryUuid }); } else { table[columnType](columnName); }