* Helper function to check if an object is a nested select object * * .select({ * id: users.id, * profile: { // <-- this is a nested select object * name: users.name, * email: users.email * } * })
(obj: any)
| 286 | * }) |
| 287 | */ |
| 288 | function isNestedSelectObject(obj: any): boolean { |
| 289 | return obj && typeof obj === `object` && !isExpressionLike(obj) |
| 290 | } |
| 291 | |
| 292 | /** |
| 293 | * Helper function to process select objects and build operations array |
no test coverage detected
searching dependent graphs…