mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-07 09:05:55 +00:00
Merge pull request #1086 from yuce/take-back-getting-started-frame-options
Takes back frame options in getting started docs
This commit is contained in:
commit
1a8bd8bcf4
1 changed files with 5 additions and 1 deletions
|
|
@ -59,9 +59,13 @@ curl localhost:10101/index/repository -X POST
|
|||
|
||||
Let's create the `stargazer` frame which has user IDs of stargazers as its rows:
|
||||
```
|
||||
curl localhost:10101/index/repository/frame/stargazer -X POST
|
||||
curl localhost:10101/index/repository/frame/stargazer \
|
||||
-X POST \
|
||||
-d '{"options": {"timeQuantum": "YMD"}}'
|
||||
```
|
||||
|
||||
Since our data contains time stamps for the time users starred repos, we set the *time quantum* for the `stargazer` frame in the options as well. Time quantum is the resolution of the time we want to use, and we set it to `YMD` (year, month, day) for `stargazer`.
|
||||
|
||||
Next up is the `language` frame, which will contain IDs for programming languages:
|
||||
```
|
||||
curl localhost:10101/index/repository/frame/language -X POST
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue