Skip to content

Commit eb658ce

Browse files
committed
Fixing README
1 parent b942b9d commit eb658ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ $posts = $db->table('posts')->graphqlType();
3939

4040
// You can pass a new 'v1' or 'v4' parameter to uuid().
4141
// This will generate a @UUID TDBM annotation that will help TDBM autogenerate the UUID
42-
$posts = $db->table('posts')->string('title')->graphqlField() // The column is a GraphQL field
42+
$posts = $db->table('posts')->column('title')->string(50)->graphqlField() // The column is a GraphQL field
4343
->fieldName('the_title') // Let's set the name of the field to a different value
4444
->logged() // The user must be logged to view the field
4545
->right('CAN_EDIT') // The user must have the 'CAN_EDIT' right to view the field

0 commit comments

Comments
 (0)