HyriseSQLParser/src/sql/DeleteStatement.h

21 lines
517 B
C
Raw Normal View History

#ifndef __DELETE_STATEMENT_H__
#define __DELETE_STATEMENT_H__
2014-12-03 17:43:02 +01:00
#include "SQLStatement.h"
// Note: Implementations of constructors and destructors can be found in statements.cpp.
namespace hsql {
// Represents SQL Delete statements.
// Example: "DELETE FROM students WHERE grade > 3.0"
// Note: if (expr == NULL) => delete all rows (truncate)
struct DeleteStatement : SQLStatement {
DeleteStatement();
virtual ~DeleteStatement();
2016-02-27 15:01:06 +01:00
char* tableName;
Expr* expr;
};
} // namespace hsql
#endif