600 B
600 B
markup, title, description, import
| markup | title | description | import | ||||
|---|---|---|---|---|---|---|---|
| occlusion | ext/data db smoke | DB Resource lives in ext/data (ADR 0007). |
|
main
store = > data.db url="sqlite:web-fixtures/data/artifact-db.db"
fields =
| 字段 | 类型 | 可空 |
|---|---|---|
| title | text | False |
| body | text | True |
store.init name=notes fields=fieldsrow=
| title | body |
|---|---|
| hello | world |
store.insert table=notes rows=rowgot = >store.select table="notes" limit=1
got
print text=db-ok
print text=db-fail