DeleteByKey

Deletes the row specified by the primary key(s).
root@turing:/examples/dbo# java examples.dbo.Test -test examples.dbo.Deletebykey -conf postgres.cnf -uid 2

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: postgres.cnf
>>> Row with uid=2 exists: true
>>> Will delete row with uid=2
>>> Row with uid=2 exists: false
JVM shutdown: fc.io.Log - closing all logs...

test=# select * from mollytest;
 uid | name | email | password | created_on | is_active 
-----+------+-------+----------+------------+-----------
(0 rows)
root@turing:/examples/dbo# java examples.dbo.Test -test examples.dbo.Deletebykey -conf mysql.cnf -uid 2

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: mysql.cnf
>>> Row with uid=2 exists: true
>>> Will delete row with uid=2
>>> Row with uid=2 exists: false
JVM shutdown: fc.io.Log - closing all logs...

mysql> select * from mollytest;
Empty set (0.00 sec)