We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b942b9d commit eb658ceCopy full SHA for eb658ce
README.md
@@ -39,7 +39,7 @@ $posts = $db->table('posts')->graphqlType();
39
40
// You can pass a new 'v1' or 'v4' parameter to uuid().
41
// 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
+$posts = $db->table('posts')->column('title')->string(50)->graphqlField() // The column is a GraphQL field
43
->fieldName('the_title') // Let's set the name of the field to a different value
44
->logged() // The user must be logged to view the field
45
->right('CAN_EDIT') // The user must have the 'CAN_EDIT' right to view the field
0 commit comments