svtslv / nestjs-objection

Objection module for NestJS
MIT License
24 stars 4 forks source link

Using Binary UUID #18

Open vizo opened 2 years ago

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