Filters

Filter transformers are used to convert the SCIM query and filter syntax into valid SQL queries.

class django_scim.filters.SCIMUserFilterTransformer[source]

Transforms a PlyPlus parse tree into a tuple containing a raw SQL query and a dict with query parameters to go with the query.

join()[source]

Returns join expressions. E.g.

JOIN bb_userprofile p ON p.user_id = u.id

classmethod search(query)[source]

Takes a SCIM 1.1 filter query and returns a Django QuerySet that contains zero or more user model instances.

Parameters:query (unicode) – a unicode query string.