Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toString #43

Open
joris-planorama opened this issue Jul 6, 2015 · 0 comments
Open

toString #43

joris-planorama opened this issue Jul 6, 2015 · 0 comments

Comments

@joris-planorama
Copy link

With

QList<Variant> numbers = {4, 8, 15, 16, 23, 42};
auto s = QDjangoWhere("number", QDjangoWhere::IsIn, numbers).toString();

s is QDjangoWhere(key="number", operation="IsIn", value="", negate=false)
without the numbers (value is empty).

Note: My real problem is to make something similar to QDjangoWhere::sql or a serialize of a QDjangoWhere and I tried to use the toString() for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant