always return an array
fix the index updating for unique records
add destroy logic to the database module
use the destroy method in the adapter interface
fix native connection
cleanup
ignore unique index checks if value is undefined
index primary key values in unique index on creation