delete a maximum of one record of a given table using given $where clause and return number of records deleted (0 or 1)

db:delete_one(STRING $table, ARRAY $where=[ ])

db:delete_one('users', ['name' => 'amin'])
#=> 1

Copyright ©2013-2022 SunSed®. All rights reserved.