nestjs-objection icon indicating copy to clipboard operation
nestjs-objection copied to clipboard

Using Binary UUID

Open vizo opened this issue 3 years ago • 0 comments

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); }

vizo avatar Dec 28 '21 12:12 vizo