Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #138 from treylane/master

Updating docs for addJoinClause()
  • Loading branch information...
commit 54633f192667aad4164c9593f53016ea81567672 2 parents 23e4fac + a8d1f3e
@willdurand willdurand authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 documentation/whats-new.markdown
View
4 documentation/whats-new.markdown
@@ -486,7 +486,7 @@ If you need to bind a variable to the condition, set the variable as last parame
<?php
$authors = AuthorQuery::create()
->join('Author.Book')
- ->addJoinCondition('Book', 'Book.Title LIKE ?', 'War%')
+ ->addJoinCondition('Book', 'Book.Title LIKE ?', 'War%', null, PDO::PARAM_STR)
->find();
// SELECT * FROM author
// INNER JOIN book ON (author.ID=book.AUTHOR_ID AND book.TITLE LIKE 'War%');
@@ -720,4 +720,4 @@ There wasn't any one-stop place to read about the abilities of the generated Act
* For each database, Behaviors are now added to a priority queue. This allows to execute some behaviors before others, and to solve conflicts between behaviors. See [How to Write a Behavior](../cookbook/writing-behavior.html#specifying-a-priority-for-behavior-execution).
* Behaviors can now modify existing methods even if no hook is called in the builders, thanks to a new service class called `PropelPHPParser`. This class can remove a method, replace a method by another one, or add a new method before or after an existing one. See the [Behavior Documentation](07-behaviors.html#replacing-or-removing-existing-methods) for details.
* Propel now supports tablespace definition on Oracle tables using custom `<vendor>` tags. See the [Schema reference](../reference/schema.html#adding-vendor-info) for details.
- * The built-in [Runtime Introspection](../cookbook/runtime-introspection.html) classes are now a little smarter: `TableMap` objects have the knowledge of the primary string column.
+ * The built-in [Runtime Introspection](../cookbook/runtime-introspection.html) classes are now a little smarter: `TableMap` objects have the knowledge of the primary string column.
Please sign in to comment.
Something went wrong with that request. Please try again.