Pretty print SQL query
This commit is contained in:
parent
239ac5f8f0
commit
add0d648a0
1 changed files with 7 additions and 1 deletions
|
@ -384,7 +384,13 @@ class Session():
|
|||
self.respond(ResponseCode.NNTP_ARTICLE_LISTING_ID_FOLLOWS)
|
||||
|
||||
sql = """
|
||||
select message_id from newsgroup_message where newsgroup_id = ? and created_on >= ?
|
||||
select
|
||||
message_id
|
||||
from
|
||||
newsgroup_message
|
||||
where
|
||||
newsgroup_id = ?
|
||||
and created_on >= ?
|
||||
"""
|
||||
|
||||
for name in self.server.newsgroups:
|
||||
|
|
Loading…
Add table
Reference in a new issue