Welcome Guest, Not a member yet? Register   Sign In
DBForge create_database if not exists
#1

Like `create_table`, the `create_database` method should have `$exists = false`
Such that:
`create_database("name", true)` will render a "CREATE DATABASE `name` IF NOT EXISTS"
and in case it returns an error, will NOT call "show_error" (which exists the page)

This is changing just a few lines of code, with not DB engine compatibility issue to my knowledge
Reply


Messages In This Thread
DBForge create_database if not exists - by AmitMY - 10-18-2016, 08:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB