Mistake in guideline post on website
mist998 opened this issue · 3 comments
mist998 commented
Hi, I'm a beginner trying to learn this ORM library, I spent hours and identified a small mistake on official website.
https://redbeanphp.com/index.php?p=/quick_tour
$post = R::dispense( 'post' ); $post->title = 'My holiday'; $id = R::store( $post );
but
$posts = R::find( 'post', ' title LIKE ?', [ 'holiday' ] ); //missing %, else return nothing
gabordemooij commented
Thanks for reporting this issue, I will correct it asap.
gabordemooij commented
The error in the manual had been corrected, can you confirm?
mist998 commented
The error in the manual had been corrected, can you confirm?
Hi, it is updated, thanks