API reference › @evolu/vue › useDeviceQuery

function useDeviceQuery<
  S extends Readonly<
    Record<string, Readonly<Record<string, AnyStandardSchemaV1>>>
  >,
  R extends Row,
>(
  query: Query<S, R>,
  __namedParameters?: UseQueryOptions,
): Readonly<Ref<QueryRows<R>>>;

Defined in: useQuery.ts:100

The same as useQuery, for a query of the app's device tables, read from useDeviceEvolu, so waitForRows takes its rows too. createEvoluBinding returns it typed with the app's device schema.