Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/djorm-ext-expressions-HEAD/djorm_expressions/tests/__init__.py   djorm-ext-expressions(Download)
 
        queryset = Profile.objects.where(
            SqlExpression(BitLength("person__name"), "=", 32)
        )
        self.assertEqual(queryset.count(), 1)

src/d/j/djorm-ext-expressions-0.6/djorm_expressions/tests/__init__.py   djorm-ext-expressions(Download)
 
        queryset = Profile.objects.where(
            SqlExpression(BitLength("person__name"), "=", 32)
        )
        self.assertEqual(queryset.count(), 1)