* Check if a value is a nested select object (plain object, not an expression)
(obj: any)
| 237 | * Check if a value is a nested select object (plain object, not an expression) |
| 238 | */ |
| 239 | function isNestedSelectObject(obj: any): boolean { |
| 240 | if (obj === null || typeof obj !== `object`) return false |
| 241 | if (obj instanceof IncludesSubquery) return false |
| 242 | if (isExpressionLike(obj)) return false |
| 243 | // Ref proxies from spread operations |
| 244 | if (obj.__refProxy) return false |
| 245 | return true |
| 246 | } |
| 247 | |
| 248 | /** |
| 249 | * Builds a query IR from a config object that contains either a query builder |
no test coverage detected