From b317fbabdd2d8b7afedd1b2a3a1e79d529960ac6 Mon Sep 17 00:00:00 2001 From: sanjay Date: Tue, 27 May 2014 20:05:37 +0530 Subject: [PATCH] Update sqlquery.md adds missing datatype (i.e. Varchar) to the database field 'Name' of the Class 'Player' --- docs/en/reference/sqlquery.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/reference/sqlquery.md b/docs/en/reference/sqlquery.md index c1a30fa96..423f77b81 100644 --- a/docs/en/reference/sqlquery.md +++ b/docs/en/reference/sqlquery.md @@ -126,7 +126,7 @@ An alternative approach would be a custom getter in the object definition. :::php class Player extends DataObject { private static $db = array( - 'Name' => + 'Name' => 'Varchar', 'Birthdate' => 'Date' ); function getNameWithBirthyear() {