-
Notifications
You must be signed in to change notification settings - Fork 4
How a bitmask filter works
RudiThoeni edited this page Jul 22, 2021
·
1 revision
A bitmask Filter is used to filter for one or more properties, by simply sum the values of the bitmask fields.
example of a property with a Bitmask indicated
{
Id: "0D25868CC23242D6AC97AEB2973CB3D6",
Type: "EventTopic",
Bitmask: 1,
TypeDesc: {
en: "Meetings/lectures"
}
},
{
Id: "162C0067811B477DA725D2F5F2D98398",
Type: "EventTopic",
Bitmask: 2,
TypeDesc: {
en: "Sport"
}
},
If the api should filter for this two propertys bitmask value 3 is passed (1 + 2)
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .