Class SpiRawSql.Sql

    • Method Detail

      • isParsed

        public boolean isParsed()
        Return true if the SQL is left completely unmodified.

        This means Ebean can't add WHERE or HAVING expressions into the query - it will be left completely unmodified.

      • isAndWhereExpr

        public boolean isAndWhereExpr()
        Return true if there is already a WHERE clause and any extra where expressions start with AND.
      • isAndHavingExpr

        public boolean isAndHavingExpr()
        Return true if there is already a HAVING clause and any extra having expressions start with AND.
      • getOrderByPrefix

        public String getOrderByPrefix()
        Return the 'order by' keywords. This can contain additional keywords, for example 'order siblings by' as Oracle syntax.