Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 864d1c3c3cd8df4e3a2692faf8776e05 > files > 945

db4o-doc-7.4-2.fc13.i686.rpm

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>SODA Query</title>
    <link rel="stylesheet" type="text/css" href="../../../style.css">
  </head>
  <body>
    <div class="CommonContent">
      <div class="CommonContentArea">
        <h1>SODA Query</h1>


<p>The SODA query API is db4o's low level querying API, allowing direct access to 
nodes of query graphs. Since SODA uses strings to identify fields, it is neither 
perfectly typesafe nor compile-time checked and it also is quite verbose to 
write.</p>



<p>For most applications <a href="native_queries.html" class="wikiLink">Native Queries</a> or <a href="linq.html" class="wikiLink">LINQ</a> will be the 
better querying interface. However there can be applications where 
dynamic generation of queries is required.</p><p>SODA is also an underlying db4o querying mechanism: all other query syntaxes are translated to SODA under the hood:</p><ul><li><a href="query_by_example.html" class="wikiLink">Query By Example</a> is translated to SODA with a single <code>constrain</code> call</li><li><a href="native_queries.html" class="wikiLink">Native Queries</a> use bytecode and IL analysis to <a href="../../tuning/native_query_optimization.html" class="wikiLink">convert</a> to SODA <br></li><li><a href="linq.html" class="wikiLink">LINQ</a> also uses <a href="linq/optimization.html" class="wikiLink">IL analysis</a>  </li></ul><p>Understanding SODA will provide you with a better understanding of db4o in the whole and will help to write more performant queries and applications.&nbsp;</p><p><div class="childTopicList">More Reading:<ul>
<li><p><a href="soda_query/building_soda_queries.html" class="wikiLink">Building SODA Queries</a></p></li>
<li><p><a href="soda_query/soda_query_graph.html" class="wikiLink">SODA Query Graph</a></p></li>
<li><p><a href="soda_query/soda_query_api.html" class="wikiLink">SODA Query API</a></p></li>
<li><p><a href="soda_query/soda_query_engine.html" class="wikiLink">SODA Query Engine</a></p></li>
</ul></div>
<br></p></div>
    </div>
    <div id="footer">
					This revision (16) was last Modified 2008-03-02T15:33:23 by Tetyana.
				</div>
  </body>
</html>