We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
limit_to
Replace with something like:
def limit_query_to(query, limit): if "limit" in query.lower(): return query else: return add_limit(query, limit) def add_limit(query, limit): if query[-1] != ';': sub_query = query else: sub_query = query[0, -1] return "{sub_query} LIMIT {limit};".format( sub_query=sub_query, limit=limit)
#36 has background on why this change should be made.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Replace with something like:
#36 has background on why this change should be made.
The text was updated successfully, but these errors were encountered: