Skip to content

Commit ff331dc

Browse files
authored
doc: Clarify schema creation (#458)
* doc: Clarify schema creation * fmt
1 parent a55450a commit ff331dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/record/dynamic/schema.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ impl Schema for DynSchema {
175175
/// // );
176176
/// use tonbo::dyn_schema;
177177
///
178+
/// // This will turn into a schema with length 5 and fields of `_deleted`, `_ts`, `foo`, `bar`
179+
/// // and `baz`
178180
/// let schema = dyn_schema!(
179181
/// ("foo", Utf8, false),
180182
/// ("bar", Int32, true),

0 commit comments

Comments
 (0)