(db, name, path)
| 127 | |
| 128 | |
| 129 | def add_stream(db, name, path): |
| 130 | v = db.OpenView("INSERT INTO _Streams (Name, Data) VALUES ('%s', ?)" % name) |
| 131 | r = CreateRecord(1) |
| 132 | r.SetStream(1, path) |
| 133 | v.Execute(r) |
| 134 | v.Close() |
| 135 | |
| 136 | def init_database(name, schema, |
| 137 | ProductName, ProductCode, ProductVersion, |