Refactor line overflow

This commit is contained in:
Nguyễn Văn Tùng 2020-07-07 23:38:29 +07:00
commit 66f7986bf3
2 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -177,8 +177,9 @@ Retrieve the latest version of the given project.
Retrieve a list of projects whose author is name. Retrieve a list of projects whose author is name.
\begin{verbatim} \begin{verbatim}
SELECT project FROM releases SELECT project FROM releases
LEFT JOIN contacts ON releases.email = contacts.email LEFT JOIN contacts
WHERE contacts.name = 'Travis E. Oliphant et al.' ON releases.email = contacts.email
WHERE contacts.name = 'Travis E. Oliphant et al.'
\end{verbatim} \end{verbatim}
\subsection{Classifiers} \subsection{Classifiers}
Retrieve a list of name, version of all releases classified with all the given classifiers, classifiers must be a list of Trove classifier strings. Retrieve a list of name, version of all releases classified with all the given classifiers, classifiers must be a list of Trove classifier strings.
@ -194,7 +195,8 @@ Retrieve metadata describing a specific release.
\begin{verbatim} \begin{verbatim}
SELECT rls.project, rls.version, rls.homepage, rls.author, SELECT rls.project, rls.version, rls.homepage, rls.author,
rls.email, rls.summary, keywords.term, rls.email, rls.summary, keywords.term,
classiffier.troves.classifier, dependencies.dependency classiffier.troves.classifier,
dependencies.dependency
FROM releases AS rls FROM releases AS rls
INNER JOIN contacts ON rls.email = contacts.email INNER JOIN contacts ON rls.email = contacts.email
RIGHT JOIN (classifier RIGHT JOIN (classifier