提交 f504aaa1 authored 作者: Thomas Mueller's avatar Thomas Mueller

Documentation (add "viewport")

上级 fcf0c256
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Advanced Advanced
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Architecture Architecture
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Build Build
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,7 +5,10 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,7 +5,10 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
H2 Database Engine H2 Database Engine
</title> </title>
<style type="text/css"> <style type="text/css">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Data Types Data Types
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Downloads Downloads
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Frequently Asked Questions Frequently Asked Questions
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Features Features
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
...@@ -775,7 +778,7 @@ the INIT property. Note that multiple commands may be passed to INIT, but the se ...@@ -775,7 +778,7 @@ the INIT property. Note that multiple commands may be passed to INIT, but the se
must be escaped, as in the example below. must be escaped, as in the example below.
</p> </p>
<pre> <pre>
String url = "jdbc:h2:mem:test;INIT=runscript from '~/create.sql'\\;runscript from '~/populate.sql'"; String url = "jdbc:h2:mem:test;INIT=runscript from '~/create.sql'\\;runscript from '~/init.sql'";
</pre> </pre>
<p> <p>
Please note the double backslash is only required in a Java or properties file. Please note the double backslash is only required in a Java or properties file.
...@@ -783,7 +786,7 @@ In a GUI, or in an XML file, only one backslash is required: ...@@ -783,7 +786,7 @@ In a GUI, or in an XML file, only one backslash is required:
</p> </p>
<pre> <pre>
&lt;property name="url" value= &lt;property name="url" value=
"jdbc:h2:mem:test;INIT=create schema if not exists test\;runscript from '~/sql/populate.sql';DB_CLOSE_DELAY=-1" "jdbc:h2:mem:test;INIT=create schema if not exists test\;runscript from '~/sql/init.sql'"
/&gt; /&gt;
</pre> </pre>
<p> <p>
...@@ -1659,7 +1662,8 @@ public static class MyTableEngine implements org.h2.api.TableEngine { ...@@ -1659,7 +1662,8 @@ public static class MyTableEngine implements org.h2.api.TableEngine {
</pre> </pre>
and then create the table from SQL like this: and then create the table from SQL like this:
<pre> <pre>
CREATE TABLE TEST(ID INT, NAME VARCHAR) ENGINE "acme.MyTableEngine"; CREATE TABLE TEST(ID INT, NAME VARCHAR)
ENGINE "acme.MyTableEngine";
</pre> </pre>
</p> </p>
<p> <p>
......
...@@ -5,6 +5,7 @@ Initial Developer: H2 Group ...@@ -5,6 +5,7 @@ Initial Developer: H2 Group
--> -->
<html><head> <html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>Fragments</title> <title>Fragments</title>
<!-- [search] { --> <!-- [search] { -->
......
...@@ -5,6 +5,7 @@ Initial Developer: H2 Group ...@@ -5,6 +5,7 @@ Initial Developer: H2 Group
--> -->
<html><head> <html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>H2 Database Engine</title> <title>H2 Database Engine</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" />
<script type="text/javascript"> <script type="text/javascript">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Functions Functions
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
SQL Grammar SQL Grammar
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
History History
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Installation Installation
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
JaQu JaQu
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
License License
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
...@@ -58,9 +61,12 @@ and list all open source libraries, each one with its license and disclaimer. ...@@ -58,9 +61,12 @@ and list all open source libraries, each one with its license and disclaimer.
For H2, a simple solution is to copy the following text below. You may also include a copy of the complete license. For H2, a simple solution is to copy the following text below. You may also include a copy of the complete license.
</p> </p>
<pre> <pre>
This software contains unmodified binary redistributions for H2 database engine (http://www.h2database.com/), This software contains unmodified binary redistributions for
which is dual licensed and available under the MPL 2.0 (Mozilla Public License) or under the EPL 1.0 (Eclipse Public License). H2 database engine (http://www.h2database.com/),
An original copy of the license agreement can be found at: http://www.h2database.com/html/license.html which is dual licensed and available under the MPL 2.0
(Mozilla Public License) or under the EPL 1.0 (Eclipse Public License).
An original copy of the license agreement can be found at:
http://www.h2database.com/html/license.html
</pre> </pre>
<h2 id="mpl2">Mozilla Public License Version 2.0</h2> <h2 id="mpl2">Mozilla Public License Version 2.0</h2>
...@@ -150,8 +156,9 @@ An original copy of the license agreement can be found at: http://www.h2database ...@@ -150,8 +156,9 @@ An original copy of the license agreement can be found at: http://www.h2database
<p>If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached.</p> <p>If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached.</p>
<h3>Exhibit A - Source Code Form License Notice</h3> <h3>Exhibit A - Source Code Form License Notice</h3>
<pre> <pre>
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. This Source Code Form is subject to the terms of the Mozilla
If a copy of the MPL was not distributed with this file, you can obtain one at http://mozilla.org/MPL/2.0 Public License, v. 2.0. If a copy of the MPL was not distributed
with this file, you can obtain one at http://mozilla.org/MPL/2.0
</pre> </pre>
<p>If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.</p> <p>If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice.</p>
<p>You may add additional accurate notices of copyright ownership.</p> <p>You may add additional accurate notices of copyright ownership.</p>
......
...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,12 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
H2 In Use and Links H2 In Use and Links
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,11 +5,14 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,11 +5,14 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<meta name="description" content="H2 is free SQL database written in Java"/> <meta name="description" content="H2 is free SQL database written in Java"/>
<title> <title>
H2 Database Engine H2 Database Engine
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,11 +5,14 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,11 +5,14 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <head>
<meta name="description" content="H2 is free SQL database written in Java"/> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<meta name="description" content="H2 is free SQL database written in Java" />
<title> <title>
H2 Database Engine H2 Database Engine
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<link rel="alternate" type="application/atom+xml" title="H2 Newsfeed (Atom)" href="http://www.h2database.com/html/newsfeed-atom.xml" /> <link rel="alternate" type="application/atom+xml" title="H2 Newsfeed (Atom)" href="http://www.h2database.com/html/newsfeed-atom.xml" />
<link rel="alternate" type="application/rss+xml" title="H2 Newsfeed (RSS)" href="http://www.h2database.com/html/newsfeed-rss.xml" /> <link rel="alternate" type="application/rss+xml" title="H2 Newsfeed (RSS)" href="http://www.h2database.com/html/newsfeed-rss.xml" />
<!-- [search] { --> <!-- [search] { -->
......
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
MVStore MVStore
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Performance Performance
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
...@@ -608,7 +612,7 @@ following profiling data (results vary): ...@@ -608,7 +612,7 @@ following profiling data (results vary):
----------------------------------------- -----------------------------------------
-- self accu time count result sql -- self accu time count result sql
-- 62% 62% 158 1000 1000 INSERT INTO TEST VALUES(?, ?); -- 62% 62% 158 1000 1000 INSERT INTO TEST VALUES(?, ?);
-- 37% 100% 93 1 0 CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255)); -- 37% 100% 93 1 0 CREATE TABLE TEST(ID INT PRIMARY KEY...
-- 0% 100% 0 1 0 DROP TABLE IF EXISTS TEST; -- 0% 100% 0 1 0 DROP TABLE IF EXISTS TEST;
-- 0% 100% 0 1 0 SET TRACE_LEVEL_FILE 3; -- 0% 100% 0 1 0 SET TRACE_LEVEL_FILE 3;
</pre> </pre>
...@@ -713,7 +717,8 @@ then the value of this column is the row id, otherwise the database generates th ...@@ -713,7 +717,8 @@ then the value of this column is the row id, otherwise the database generates th
There is a (non-standard) way to access the row id: using the <code>_ROWID_</code> pseudo-column: There is a (non-standard) way to access the row id: using the <code>_ROWID_</code> pseudo-column:
</p> </p>
<pre> <pre>
CREATE TABLE ADDRESS(FIRST_NAME VARCHAR, NAME VARCHAR, CITY VARCHAR, PHONE VARCHAR); CREATE TABLE ADDRESS(FIRST_NAME VARCHAR,
NAME VARCHAR, CITY VARCHAR, PHONE VARCHAR);
INSERT INTO ADDRESS VALUES('John', 'Miller', 'Berne', '123 456 789'); INSERT INTO ADDRESS VALUES('John', 'Miller', 'Berne', '123 456 789');
INSERT INTO ADDRESS VALUES('Philip', 'Jones', 'Berne', '123 012 345'); INSERT INTO ADDRESS VALUES('Philip', 'Jones', 'Berne', '123 012 345');
SELECT _ROWID_, * FROM ADDRESS; SELECT _ROWID_, * FROM ADDRESS;
...@@ -769,7 +774,9 @@ This index is also used when reading all rows, sorted by the indexed columns. ...@@ -769,7 +774,9 @@ This index is also used when reading all rows, sorted by the indexed columns.
However, if only the first name is known, then this index is not used: However, if only the first name is known, then this index is not used:
</p> </p>
<pre> <pre>
EXPLAIN SELECT PHONE FROM ADDRESS WHERE CITY = 'Berne' AND NAME = 'Miller' AND FIRST_NAME = 'John'; EXPLAIN SELECT PHONE FROM ADDRESS
WHERE CITY = 'Berne' AND NAME = 'Miller'
AND FIRST_NAME = 'John';
SELECT SELECT
PHONE PHONE
FROM PUBLIC.ADDRESS FROM PUBLIC.ADDRESS
......
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Quickstart Quickstart
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Roadmap Roadmap
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
...@@ -4,6 +4,7 @@ and under the Eclipse Public License, Version 1.0 ...@@ -4,6 +4,7 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html><head> <html><head>
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>Source Code Viewer</title> <title>Source Code Viewer</title>
</head> </head>
<script type="text/javascript"> <script type="text/javascript">
......
...@@ -6,6 +6,8 @@ Initial Developer: H2 Group ...@@ -6,6 +6,8 @@ Initial Developer: H2 Group
--> -->
<html><head> <html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
<title>Error Analyzer</title> <title>Error Analyzer</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" />
<style type="text/css"> <style type="text/css">
......
...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0 ...@@ -5,9 +5,13 @@ and under the Eclipse Public License, Version 1.0
Initial Developer: H2 Group Initial Developer: H2 Group
--> -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><title> <head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name=viewport content="width=device-width, initial-scale=1" />
<title>
Tutorial Tutorial
</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /> </title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
<!-- [search] { --> <!-- [search] { -->
<script type="text/javascript" src="navigation.js"></script> <script type="text/javascript" src="navigation.js"></script>
</head><body onload="frameMe();"> </head><body onload="frameMe();">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论