Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

scim2/filter-parser

Open more actions menu

Repository files navigation

Go Report Card GoDoc

Query Filter Parser for SCIM v2.0

RFC7644: Section-3.4.2.2

Implemented Operators

Attribute Operators

  • eq, ne, co, sw, ew, gt, ge, lt, le
  • pr

Logical Operators

  • and, or
  • not
  • precedence

Grouping Operators

  • ( )
  • [ ]

Case Sensitivity

Attribute names and attribute operators used in filters are case insensitive.
For example, the following two expressions will evaluate to the same logical value:

filter=userName Eq "john"
filter=Username eq "john"

Expressions Requirements

Each expression MUST contain an attribute name followed by an attribute operator and optional value.

Multiple expressions MAY be combined using logical operators.

Expressions MAY be grouped together using round brackets "(" and ")".

Filters MUST be evaluated using the following order of operations, in order of precedence:

1.  Grouping operators
2.  Attribute operators
3.  Logical operators - where "not" takes precedence over "and",
    which takes precedence over "or"

About

SCIM v2 Query Filter Parser in Go

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.