BigDb's Known Issues / Bugs
Issues are below. Assume they won't be fixed, unless the notes say otherwise.
Issues
- BigDb (via SqlVerbs) has
sql_query()
method, but needssql_exec()
for statements that do not return rows. -
BigOrm::delete()
willunset($this->id)
, so future access to$this->id
will call__get()
/__set()
and generally throw an error likeError: Call to undefined method DecaturVote\News\Orm\Author::getId()
- I don't know what to do about this. I can't set
$this->id = null
bc BigOrm doesn't force id to be nullable. Leaving theunset()
means the bug can be fixed in your script without modifying your orm. Setting null means all orms HAVE to make id nullable, and I don't want to force this. NOT unsetting or nulling the id leaves the ORM in a bad state, where it appears to be stored in the DB (bc id is set), but it actually isn't in the db.
- I don't know what to do about this. I can't set
- No built-in way to add bigdb cli to the system (i.e. alias in .bashrc)
Won't Fix
- [none yet]