Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
ZODB
Commits
53397fc3
Commit
53397fc3
authored
Jan 02, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
derived section types now inherit their datatype from the base type
parent
1d4e5a3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
doc/ZConfig/zconfig.tex
doc/ZConfig/zconfig.tex
+7
-2
No files found.
doc/ZConfig/zconfig.tex
View file @
53397fc3
...
@@ -428,7 +428,10 @@ The following elements are used to describe a schema:
...
@@ -428,7 +428,10 @@ The following elements are used to describe a schema:
The data type converter which will be applied to the value of this
The data type converter which will be applied to the value of this
section. If the value is a
\datatype
{
dotted
-
name
}
that begins
section. If the value is a
\datatype
{
dotted
-
name
}
that begins
with a period, the value of
\attribute
{
prefix
}
will be pre
-
pended,
with a period, the value of
\attribute
{
prefix
}
will be pre
-
pended,
if set.
if set. If
\attribute
{
datatype
}
is omitted and
\attribute
{
extends
}
is used, the
\attribute
{
datatype
}
from the
section type identified by the
\attribute
{
extends
}
attribute is
used.
\end
{
attributedesc
}
\end
{
attributedesc
}
\begin
{
attributedesc
}{
extends
}{
\datatype
{
basic
-
key
}}
\begin
{
attributedesc
}{
extends
}{
\datatype
{
basic
-
key
}}
...
@@ -439,7 +442,9 @@ The following elements are used to describe a schema:
...
@@ -439,7 +442,9 @@ The following elements are used to describe a schema:
is defined with only the keys and sections contained within the
is defined with only the keys and sections contained within the
\element
{
sectiontype
}
element. The new section type is called a
\element
{
sectiontype
}
element. The new section type is called a
\emph
{
derived
}
section type, and the type named by this attribute
\emph
{
derived
}
section type, and the type named by this attribute
is called the
\emph
{
base
}
type.
is called the
\emph
{
base
}
type. The value for the
\attribute
{
datatype
}
attribute is acquired from the base type if
not specified.
\end
{
attributedesc
}
\end
{
attributedesc
}
\begin
{
attributedesc
}{
implements
}{
\datatype
{
basic
-
key
}}
\begin
{
attributedesc
}{
implements
}{
\datatype
{
basic
-
key
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment