AutoSQL

 view release on metacpan or  search on metacpan

docs/schema.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>OVERVIEW</title>
<link rev="made" href="mailto:juguang@commandos.local." />
</head>

<body style="background-color: white">

<p><a name="__index__"></a></p>
<!-- INDEX BEGIN -->

<ul>

	<li><a href="#overview">OVERVIEW</a></li>
	<ul>

		<li><a href="#schema">Schema</a></li>
		<li><a href="#model">Model</a></li>
	</ul>

	<li><a href="#modules">MODULES</a></li>
	<ul>

		<li><a href="#autocode::schema">AutoCode::Schema</a></li>
		<li><a href="#autocode::modulemodel">AutoCode::ModuleModel</a></li>
		<ul>

			<li><a href="#autocode::modulemodel::add_array_attribute">AutoCode::ModuleModel::add_array_attribute</a></li>
			<li><a href="#autocode::modulemodel::add_array_child">AutoCode::ModuleModel::add_array_child</a></li>
		</ul>

	</ul>

</ul>
<!-- INDEX END -->

<hr />
<p>Schema and Model</p>
<p>
</p>
<hr />
<h1><a name="overview">OVERVIEW</a></h1>
<p>Introduction to Schema and Model</p>
<p>
</p>
<h2><a name="schema">Schema</a></h2>
<p>A schema contains a list of (module) Models, described below. 
It is a collective concept rather than any detailed ones.</p>
<p>
</p>
<h2><a name="model">Model</a></h2>
<p>a Model, presenting a table in database and a module in code, is a concrete
concept. There are 2 kinds of attributes</p>
<ul>
<li><strong><a name="item_directive_attribute">directive attribute</a></strong><br />
</li>
mainly helpful for this system
<p></p>
<li><strong><a name="item_value_attribute">value attribute</a></strong><br />
</li>



( run in 1.132 second using v1.01-cache-2.11-cpan-119454b85a5 )