| name | hooks-objects |
| description | React Query hooks for the objects API — provides typed query and mutation hooks for 5 tables and 4 custom operations |
hooks-objects
React Query hooks for the objects API — provides typed query and mutation hooks for 5 tables and 4 custom operations
Usage
import { useCommitsQuery } from './hooks';
const { data, isLoading } = useCommitsQuery({
selection: { fields: { id: true } },
});
Examples
Query records
const { data, isLoading } = useCommitsQuery({
selection: { fields: { id: true } },
});
References
See the references/ directory for detailed per-entity API documentation: