MCPcopy Index your code
hub / github.com/TanStack/db / isNestedSelectObject

Function isNestedSelectObject

packages/db/src/query/compiler/select.ts:288–290  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

286 * })
287 */
288function 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

Callers 2

compileSelectValueFunction · 0.70
addFromObjectFunction · 0.70

Calls 1

isExpressionLikeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…