Remove useless line from Funny ORM
This commit is contained in:
		
							parent
							
								
									9158eb2476
								
							
						
					
					
						commit
						cd5a501307
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -82,7 +82,6 @@ class From {
 | 
				
			||||||
		/** @type {Pluck<Table, Select>} */
 | 
							/** @type {Pluck<Table, Select>} */
 | 
				
			||||||
		// @ts-ignore
 | 
							// @ts-ignore
 | 
				
			||||||
		const r = this
 | 
							const r = this
 | 
				
			||||||
		r.constructor = Pluck
 | 
					 | 
				
			||||||
		r.cols = [col]
 | 
							r.cols = [col]
 | 
				
			||||||
		r.isPluck = true
 | 
							r.isPluck = true
 | 
				
			||||||
		return r
 | 
							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.Models} Table
 | 
				
			||||||
 * @template {keyof U.Merge<U.Models[Table]>} Col
 | 
					 * @template {keyof U.Merge<U.Models[Table]>} Col
 | 
				
			||||||
| 
						 | 
					@ -156,6 +156,7 @@ class Pluck extends From {
 | 
				
			||||||
		return prepared.all(..._)
 | 
							return prepared.all(..._)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					/* c8 ignore stop */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 * @template {keyof U.Models} Table
 | 
					 * @template {keyof U.Models} Table
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue