Find
Overview of taxonomy find method
get
https://api.codemash.io
/:version/db/taxonomies/:taxonomyName/terms
Find
.NET
Node
var client = new CodeMashClient(apiKey, projectId);
var service = new CodeMashRepository<Person>(client);
var persons = await service.FindAsync(
x => true,
new DatabaseFindOptions()
);
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.
Last modified 3yr ago