Class CreateView

java.lang.Object
rife.database.queries.CreateView
All Implemented Interfaces:
Cloneable, Query

public class CreateView extends Object implements Cloneable
Object representation of a SQL "CREATE VIEW" query.

This object may be used to dynamically construct a SQL statement in a database-independent fashion. After it is finished, it may be executed using DbQueryManager.executeUpdate().

You provide the view definition either as a Select query, which makes the construction of the view just as database-independent as the query builders themselves, or as a literal SQL string. A select query that has parameters can't define a view, since views don't have placeholders.

Since:
1.10