Closed achillesrasquinha closed 4 years ago
If you attempt to execute the following:
import dataset db = dataset.connect(ensure_schema=True) db['Foo'].insert({ 'foo': 'bar' })
ends up creating Foo and inserting the data. Is this the required behaviour?
Foo
Yes. ensure_schema in dataset means "make sure the schema is as needed to store the given data, create it if needed". Try the opposite setting to disable automatic schema creation.
ensure_schema
Works! Closing this.
If you attempt to execute the following:
ends up creating
Foo
and inserting the data. Is this the required behaviour?