8000 Make PgRow.getColumns public (for clojure driver). · qza/postgres-async-driver@56722db · GitHub
[go: up one dir, main page]

Skip to content

Commit 56722db

Browse files
committed
Make PgRow.getColumns public (for clojure driver).
1 parent 967cf96 commit 56722db
Copy full SHA for 56722db

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Postgres-async-driver is available on [Maven Central](http://search.maven.org/#s
1010
<dependency>
1111
<groupId>com.github.alaisi.pgasync</groupId>
1212
<artifactId>postgres-async-driver</artifactId>
13-
<version>0.7</version>
13+
<version>0.8</version>
1414
</dependency>
1515
```
1616

src/main/java/com/github/pgasync/impl/PgRow.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,10 @@ public Object get(String column) {
228228
return dataConverter.toObject(pgColumn.type, data.getValue(pgColumn.index));
229229
}
230230

231+
public Map<String, PgColumn> getColumns() {
232+
return columns;
233+
}
234+
231235
PgColumn getColumn(String name) {
232236
if (name == null) {
233237
throw new IllegalArgumentException("Column name is required");

0 commit comments

Comments
 (0)
0