Hi Cornelius,as you see I'm working with PI intense ;-)
Is there a special syntax for the where-statement in the SQL-resolver?
when I click on the test-button I can see the same number of users on every time.
--
You received this message because you are subscribed to the Google Groups "privacyidea" group.
To unsubscribe from this group and stop receiving emails from it, send an email to privacyidea...@googlegroups.com.
To post to this group, send email to priva...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/privacyidea/813147f9-29c6-40ff-b405-867c1cc9d188%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Cornelius Kölbel corneliu...@netknights.it +49 151 2960 1417 NetKnights GmbH http://www.netknights.it Landgraf-Karl-Str. 19, 34131 Kassel, Germany Tel: +49 561 3166797, Fax: +49 561 3166798 Amtsgericht Kassel, HRB 16405 Geschäftsführer: Cornelius Kölbel
if self.where: # this might result in errors if the # administrator enters nonsense
(w_column, w_cond, w_value) = self
.where.split() if w_cond.lower() == "like": conditions.append(getattr(self.TABLE, w_column).like(w_value)) elif w_cond == "==": conditions.append(getattr(self.TABLE, w_column) == w_value) elif w_cond == ">": conditions.append(getattr(self.TABLE, w_column) > w_value) elif w_cond == "<": conditions.append(getattr(self.TABLE, w_column) < w_value) filter_condition = and_(*conditions)What did you enter as where statement?
--
You received this message because you are subscribed to the Google Groups "privacyidea" group.
To unsubscribe from this group and stop receiving emails from it, send an email to privacyidea...@googlegroups.com.
To post to this group, send email to priva...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/privacyidea/cdbf929b-a1d3-4b5b-9d5e-e5ff84f13277%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.