[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class BaseCompositeFilter (2.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.21.0 (latest)](/python/docs/reference/datastore/latest/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.20.2](/python/docs/reference/datastore/2.20.2/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.19.0](/python/docs/reference/datastore/2.19.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.18.0](/python/docs/reference/datastore/2.18.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.17.0](/python/docs/reference/datastore/2.17.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.16.1](/python/docs/reference/datastore/2.16.1/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.15.2](/python/docs/reference/datastore/2.15.2/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.14.0](/python/docs/reference/datastore/2.14.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.13.2](/python/docs/reference/datastore/2.13.2/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.12.0](/python/docs/reference/datastore/2.12.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.11.1](/python/docs/reference/datastore/2.11.1/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.10.0](/python/docs/reference/datastore/2.10.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.9.0](/python/docs/reference/datastore/2.9.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.8.3](/python/docs/reference/datastore/2.8.3/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.7.2](/python/docs/reference/datastore/2.7.2/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.6.2](/python/docs/reference/datastore/2.6.2/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.5.1](/python/docs/reference/datastore/2.5.1/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.4.0](/python/docs/reference/datastore/2.4.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.3.0](/python/docs/reference/datastore/2.3.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.2.0](/python/docs/reference/datastore/2.2.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.1.6](/python/docs/reference/datastore/2.1.6/google.cloud.datastore.query.BaseCompositeFilter)\n- [2.0.1](/python/docs/reference/datastore/2.0.1/google.cloud.datastore.query.BaseCompositeFilter)\n- [1.15.5](/python/docs/reference/datastore/1.15.5/google.cloud.datastore.query.BaseCompositeFilter)\n- [1.14.0](/python/docs/reference/datastore/1.14.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [1.13.2](/python/docs/reference/datastore/1.13.2/google.cloud.datastore.query.BaseCompositeFilter)\n- [1.12.0](/python/docs/reference/datastore/1.12.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [1.11.0](/python/docs/reference/datastore/1.11.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [1.10.0](/python/docs/reference/datastore/1.10.0/google.cloud.datastore.query.BaseCompositeFilter)\n- [1.9.0](/python/docs/reference/datastore/1.9.0/google.cloud.datastore.query.BaseCompositeFilter) \n\n BaseCompositeFilter(operation=Operator.OPERATOR_UNSPECIFIED, filters=None)\n\nBase class for a Composite Filter. (either OR or AND).\n\nMethods\n-------\n\n### build_pb\n\n build_pb(container_pb=None)\n\nBuild the protobuf representation based on values in the Composite Filter."]]