Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
bae4f972
Unverified
提交
bae4f972
authored
2月 23, 2018
作者:
Noel Grandin
提交者:
GitHub
2月 23, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #896 from katzyn/docs
Assorted changes in help.csv
上级
ee756ecb
6d8f9728
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
28 行增加
和
19 行删除
+28
-19
help.csv
h2/src/docsrc/help/help.csv
+13
-15
GenerateHelp.java
h2/src/tools/org/h2/build/doc/GenerateHelp.java
+14
-3
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-1
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
bae4f972
...
...
@@ -115,9 +115,7 @@ MERGE INTO tableName [ ( columnName [,...] ) ]
","
Updates existing rows, and insert rows that don't exist. If no key column is
specified, the primary key columns are used to find the row. If more than one
row per new row is affected, an exception is thrown. If the table contains an
auto-incremented key or identity column, and the row was updated, the generated
key is set to 0; otherwise it is set to the new key.
row per new row is affected, an exception is thrown.
","
MERGE INTO TEST KEY(ID) VALUES(2, 'World')
"
...
...
@@ -232,7 +230,7 @@ Can be used to create a recursive or non-recursive query (common table expressio
For recursive queries the first select has to be a UNION.
One or more common table entries can be referred to by name.
Column name declarations are now optional - the column names will be inferred from the named select queries.
The final action in a WITH statement can be a select
, insert , update , merge
, delete or create table.
The final action in a WITH statement can be a select
, insert, update, merge
, delete or create table.
","
WITH RECURSIVE cte(n) AS (
SELECT 1
...
...
@@ -3851,7 +3849,7 @@ WEEK(CREATED)
"Functions (Time and Date)","ISO_WEEK","
ISO_WEEK(timestamp)
","
Returns the week (1-53) from a timestamp.
Returns the
ISO
week (1-53) from a timestamp.
This method uses the ISO definition when
first week of year should have at least four days
and week is started with Monday.
...
...
@@ -4262,7 +4260,7 @@ CALL SCHEMA()
SCOPE_IDENTITY()
","
Returns the last inserted identity value for this session for the current scope
(
ie.
the current statement).
(the current statement).
Changes within triggers and Java functions are ignored. See also IDENTITY().
This method returns a long.
","
...
...
h2/src/tools/org/h2/build/doc/GenerateHelp.java
浏览文件 @
bae4f972
...
...
@@ -41,10 +41,21 @@ public class GenerateHelp {
for
(
int
i
=
0
;
i
<
columnCount
;
i
++)
{
String
s
=
rs
.
getString
(
1
+
i
);
if
(
i
==
3
)
{
int
dot
=
s
.
indexOf
(
'.'
);
if
(
dot
>=
0
)
{
s
=
s
.
substring
(
0
,
dot
+
1
);
int
len
=
s
.
length
();
int
end
=
0
;
for
(;
end
<
len
;
end
++)
{
char
ch
=
s
.
charAt
(
end
);
if
(
ch
==
'.'
)
{
end
++;
break
;
}
if
(
ch
==
'"'
)
{
do
{
end
++;
}
while
(
end
<
len
&&
s
.
charAt
(
end
)
!=
'"'
);
}
}
s
=
s
.
substring
(
0
,
end
);
}
row
[
i
]
=
s
;
}
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
bae4f972
...
...
@@ -765,4 +765,4 @@ jacoco xdata invokes sourcefiles classfiles duplication crypto stacktraces prt d
interpolated thead
die weekdiff osx subprocess dow proleptic microsecond microseconds divisible cmp denormalized suppressed saturated mcs
london dfs weekdays intermittent looked msec tstz africa monrovia
london dfs weekdays intermittent looked msec tstz africa monrovia
asia tokyo
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论