Remove useless line from Funny ORM

This commit is contained in:
Cadence Ember 2023-11-23 16:42:36 +13:00
parent 9158eb2476
commit cd5a501307

View file

@ -82,7 +82,6 @@ class From {
/** @type {Pluck<Table, Select>} */
// @ts-ignore
const r = this
r.constructor = Pluck
r.cols = [col]
r.isPluck = true
return r
@ -133,6 +132,7 @@ class From {
}
}
/* c8 ignore start - this code is only used for types and does not actually execute */
/**
* @template {keyof U.Models} Table
* @template {keyof U.Merge<U.Models[Table]>} Col
@ -156,6 +156,7 @@ class Pluck extends From {
return prepared.all(..._)
}
}
/* c8 ignore stop */
/**
* @template {keyof U.Models} Table