<aside> 👉
Links (Block base class)
Notion Ruby Mapping Public API Reference
</aside>
<aside> ⚠️
ChildDatabaseBlock is read-only. It represents a child_database block returned by the Notion API. It cannot be created, appended, or updated as a block. Use the Create a database and Update a database endpoints to create or update the corresponding database container.
</aside>
$\fbox{implemented in ChildBaseBlock}$
title returns the title contained in the child_database object returned by the Notion API. The value is read-only.
block = Block.find "child_database_block_id"
block.title
# => "Child database"
$\fbox{implemented in Block}$
false (Boolean)can_append returns false because a child_database block cannot be created with Append block children.
$\fbox{implemented in Block}$
false (Boolean)can_update returns false because a child_database block cannot be updated with the Update a block endpoint.
child_database block through Block.find or a block-children response.ArgumentError.title is read-only; title= is not provided.ChildDatabaseBlock.