{"repo":"willsoto/nestjs-objection","free":true,"listed":false,"github":"https://github.com/willsoto/nestjs-objection","clone":"git clone https://github.com/willsoto/nestjs-objection.git","description":"NestJS module for Objection","language":"TypeScript","stars":143,"topics":["nestjs","objectionjs","knex","knexjs","database","objection-orm"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"NestJS Objection - Description - Installation - API + ObjectionModule.register + ObjectionModule.registerAsync - Configuration - Examples Injecting the connection Injecting an objection model Multiple connections Description Integrates Objection.js and Knex with Nest Installation Note that Knex and Objection are peerDependencies to make version management easier, so those must be installed separately API ObjectionModule.register ObjectionModule.registerAsync Configuration Name Type Required Default Notes -------- -------- -------- ----------------------- --------------------------------------------------------------- name string false KNEX CONNECTION token This is required only if you are using multiple connections Model Object false objection.Model config Object true Examples Injecting the connection Injecting an objection model Multiple connections When using multiple connections, you must name each connection when registering it. Otherwise subsequent connections will override the previous ones.","default_branch":null,"files":null,"tree":[],"storefront":"/r/willsoto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/willsoto/nestjs-objection/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}