Overview of taxonomy find method
var client = new CodeMashClient(apiKey, projectId);
var service = new CodeMashRepository<Person>(client);
var persons = await service.FindAsync(
x => true,
new DatabaseFindOptions()
Check the docs about entities on how the response records are deserialized into your class objects.
import { db } from 'codemash';
export async function getCountries() {
return await db.getTaxonomyTerms('countries');
export async function getCities() {
return await db.getTaxonomyTerms('cities');
Check the docs on how to form projections, filters, sorting, paging. Check the docs on how to use references.
Copy link