mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
parent
35104e8cc4
commit
43eff763c8
4
FAQ.md
4
FAQ.md
@ -1,6 +1,6 @@
|
||||
Thanks to [g40](https://github.com/g40)
|
||||
|
||||
### 1. how do I know what values are on the row object ? ###
|
||||
### 1. How do I know what values are on the row object? ###
|
||||
|
||||
The row object has properties which align to the column names returned from the query.
|
||||
|
||||
@ -14,7 +14,7 @@ client.query('SELECT * FROM users', function(err, result) {
|
||||
});
|
||||
```
|
||||
|
||||
### 2. can I iterate across the columns in the recordset to dynamically display column names ? ###
|
||||
### 2. Can I iterate across the columns in the recordset to dynamically display column names? ###
|
||||
|
||||
Why, yes. Yes you can.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user