private static int doDeleteAll ( CallInfo callInfo , Table table ) { DB db = table . getDB ( ) ; return db . access ( callInfo , ( ) -> { String sql = DELETE_FROM_ + table . getName ( ) ; db . logSetup ( callInfo , sql ) ; try ( WrappedStatement ws = db . compile ( sql ) ) { return ws . getStatement ( ) . executeUpdate ( ) ; } } ) ; }
Perform a delete - all operation .