support same DB but different table #6
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
e.g. global open DB object, foobar, then per-table sub-objects,
linksdb = DB("foobar.sqlite")
shortcodes = linksdb.Table(name="shortcodes",columns=["shortcode","uuid7"])
longcodes = linksdb.Table(name="longcodes",columns=["longcode","uuid7"])
linkinfo = linksdb.Table(name="info",columns=["uuid7","author","link"])
linkinfo.New(uuid7,foobar,link)
etc etc