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

Function userBasicInfo

packages/db/tests/query/composables.test.ts:151–155  ·  view source on GitHub ↗
({ user }: { user: Ref<User> })

Source from the content-addressed store, hash-verified

149 test(`should create reusable select objects`, () => {
150 // Define reusable select objects using defineForRow
151 const userBasicInfo = ({ user }: { user: Ref<User> }) => ({
152 id: user.id,
153 name: user.name,
154 email: user.email,
155 })
156
157 const userNameTransforms = ({ user }: { user: Ref<User> }) => ({
158 nameUpper: upper(user.name),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected