9 lines
208 B
JavaScript
9 lines
208 B
JavaScript
const fetched = fetch("/foo");
|
|
fetched
|
|
.then(response => response.json())
|
|
.then(json => processThings(json.data.things));
|
|
|
|
let column = new Column(null, conn)
|
|
.table(data.table)
|
|
.json(data.column);
|