Skip to content

Commit

Permalink
Cleanup some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Van Caekenberghe committed Feb 12, 2019
1 parent ba6ac37 commit 1512473
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions P3/P3Client.class.st
Expand Up @@ -540,10 +540,10 @@ P3Client >> processRowDescription: payload [

{ #category : #public }
P3Client >> query: query [
"Execute an SQL query against PostgreSQL. Return a triplet { result. descriptions. data }.
Result is a string (collection of strings for multiple embedded queries) indicating successful execution.
Descriptions is a collection of row field description objects.
Data is a collection of rows with fully converted field values as objects."
"Execute an SQL query against PostgreSQL. Return a P3Result object containing result(s), column descriptions and data.
Result(s) is a string (collection of strings for multiple embedded queries) indicating successful execution.
Descriptions is a collection of row field description objects, if any.
Data is a collection of rows with fully converted field values as objects, if any."

^ self
ensureConnected;
Expand Down
2 changes: 1 addition & 1 deletion P3/P3Result.class.st
Expand Up @@ -3,7 +3,7 @@ I am P3Result, I encapsulate the result from a PostgreSQL query.
I hold 3 things:
- results - the command completion tags, a String (singular if there was only one query) or a collection ofStrings (if there were multiple queries) in the form of 'SELECT 100'
- results - the command completion tags, a String (singular if there was only one query) or a collection of Strings (if there were multiple queries) in the form of 'SELECT 100'
- descriptions - a collection of P3RowFieldDescription objects (one for each column, nil if there is no data)
Expand Down

0 comments on commit 1512473

Please sign in to comment.