Count

Returns a count of all the rows in the table.

root@turing:/examples/dbo# java examples.dbo.Test -conf postgres.cnf -test examples.dbo.Count

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: postgres.cnf
>>> Row count: 1
JVM shutdown: fc.io.Log - closing all logs...

test=# select count(*) from mollytest;
 count 
-------
     1
(1 row)
root@turing:/examples/dbo# java examples.dbo.Test -conf mysql.cnf -test examples.dbo.Count

INFO     New log level set to: LogLevel [3,INFO]
INFO     fc.util.FilePropertyMgrLoaded properties from file: mysql.cnf
>>> Row count: 1
JVM shutdown: fc.io.Log - closing all logs...

mysql> select count(*) from mollytest;
+----------+
| count(*) |
+----------+
|        1 | 
+----------+
1 row in set (0.00 sec)