mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-25 12:01:03 +02:00
refactor(cli): simplify optional database passthrough in mongo-query command
This commit is contained in:
parent
6563fddf87
commit
10de18d63f
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ export function registerMongoQueryCommands(program: Command, context: KtxCliComm
|
|||
projectDir: resolveCommandProjectDir(command),
|
||||
connectionId: options.connection,
|
||||
collection: options.collection,
|
||||
...(options.database ? { database: options.database } : {}),
|
||||
database: options.database,
|
||||
pipeline,
|
||||
limit: options.limit,
|
||||
output: options.output,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue