Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
21b84c37
提交
21b84c37
authored
9月 10, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
de1caabc
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
14 行增加
和
5 行删除
+14
-5
help.csv
h2/src/docsrc/help/help.csv
+13
-5
roadmap.html
h2/src/docsrc/html/roadmap.html
+1
-0
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
21b84c37
...
...
@@ -599,9 +599,11 @@ CREATE TRIGGER [ IF NOT EXISTS ] newTriggerName { BEFORE | AFTER | INSTEAD OF }
{ INSERT | UPDATE | DELETE | SELECT | ROLLBACK } [,...] ON tableName [ FOR EACH ROW ]
[ QUEUE int ] [ NOWAIT ] CALL triggeredClassName
","
Creates a new trigger. The trigger class must be public. Inner classes are not supported.
The class must be available in the classpath of the
database engine (when using the server mode, it must be in the classpath of the server).
Creates a new trigger.
The trigger class must be public and implement ""org.h2.api.Trigger"".
Inner classes are not supported.
The class must be available in the classpath of the database engine
(when using the server mode, it must be in the classpath of the server).
BEFORE triggers are called after data conversion is made, default values are set,
null and length constraint checks have been made;
...
...
@@ -1598,6 +1600,9 @@ The computed column expression is evaluated and assigned whenever the row change
Identity and auto-increment columns are columns with a sequence as the
default. The column declared as the identity columns is implicitly the
primary key column of this table (unlike auto-increment columns).
Check constraints can reference columns of the table,
and they can reference objects that exist while the statement is executed.
","
CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR(255) DEFAULT '');
CREATE TABLE TEST(ID BIGINT IDENTITY);
...
...
@@ -2252,9 +2257,12 @@ UUID
"Data Types","ARRAY Type","
ARRAY
","
An array of values. Use a value list (1, 2) or ""PreparedStatement.setObject(.., new Object[] {..})"" to store values.
An array of values.
Mapped to ""java.lang.Object[]"" (arrays of any non-primitive type are also supported).
Use a value list (1, 2) or ""PreparedStatement.setObject(.., new Object[] {..})"" to store values,
and ""ResultSet.getObject(..)"" or ""ResultSet.getArray(..)"" to retrieve the values.
","
ARRAY
"
...
...
h2/src/docsrc/html/roadmap.html
浏览文件 @
21b84c37
...
...
@@ -557,6 +557,7 @@ See also <a href="build.html#providing_patches">Providing Patches</a>.
</li><li>
PHP support: H2 should support PDO, or test with PostgreSQL PDO.
</li><li>
Outer joins: if no column of the outer join table is referenced, the outer join table could be removed from the query.
</li><li>
Cluster: allow using auto-increment and identity columns by ensuring executed in lock-step.
</li><li>
MySQL compatibility: index names only need to be unique for the given table.
</li></ul>
<h2>
Not Planned
</h2>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论