CodeMash
Website
Dashboard
Search…
Home
Roadmap
Release Notes
API & SDKs
Billing
Get Started
Register at CodeMash
Install CodeMash
Set up API keys
Creating a web app
Creating a mobile app
Projects
About Projects
Project API
Microservices
Database
Collections
Collections API
Taxonomies
Taxonomies API
Find
Aggregation
Imports
Exports
Backups
Membership
Files Service
Logs Service
Code
Scheduler
Email Notifications
Push Notifications
APIs
Membership API
Data Models
User object
Other Topics
Errors
Triggers
Tokens Binding
Search parameters
Powered By
GitBook
Find
Overview of taxonomy find method
get
https://api.codemash.io
/:version/db/taxonomies/:taxonomyName/terms
Find
.NET
Node
1
var
client
=
new
CodeMashClient
(
apiKey
,
projectId
);
2
var
service
=
new
CodeMashRepository
<
Person
>
(
client
);
3
​
4
var
persons
=
await
service
.
FindAsync
(
5
x
=>
true
,
6
new
DatabaseFindOptions
()
7
);
Copied!
Check the docs about
entities
on how the response records are deserialized into your class objects.
1
import
{
db
}
from
'codemash'
;
2
​
3
export
async
function
getCountries
()
{
4
return
await
db
.
getTaxonomyTerms
(
'countries'
);
5
}
6
​
7
export
async
function
getCities
()
{
8
return
await
db
.
getTaxonomyTerms
(
'cities'
);
9
}
Copied!
Check the docs on how to form
projections
,
filters
,
sorting
,
paging
. Check the docs on how to use
references
.
Previous
Taxonomies API
Next
Aggregation
Last modified
1yr ago
Copy link