Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
72e0aab6
提交
72e0aab6
authored
2月 16, 2011
作者:
Thomas Mueller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Documentation.
上级
40c6ecf3
全部展开
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
1418 行增加
和
1375 行删除
+1418
-1375
help.csv
h2/src/docsrc/help/help.csv
+5
-4
changelog.html
h2/src/docsrc/html/changelog.html
+1
-1
_docs_en.utf8.txt
h2/src/docsrc/text/_docs_en.utf8.txt
+474
-456
_docs_ja.utf8.txt
h2/src/docsrc/text/_docs_ja.utf8.txt
+474
-456
_docs_en.properties
h2/src/docsrc/textbase/_docs_en.properties
+463
-457
Tool.java
h2/src/main/org/h2/util/Tool.java
+1
-1
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
72e0aab6
...
@@ -1656,15 +1656,16 @@ charsetString [, fieldSepString [, fieldDelimString [, escString [, nullString]]
...
@@ -1656,15 +1656,16 @@ charsetString [, fieldSepString [, fieldDelimString [, escString [, nullString]]
Optional parameters for CSVREAD and CSVWRITE.
Optional parameters for CSVREAD and CSVWRITE.
Instead of setting the options one by one, all options can be
Instead of setting the options one by one, all options can be
combined into a space separated key-value pairs, as follows:
combined into a space separated key-value pairs, as follows:
'charset=UTF-8 escape="" fieldDelimiter=
"" fieldSeparator=, ' ||
STRINGDECODE('charset=UTF-8 escape=\"" fieldDelimiter=\
"" fieldSeparator=, ' ||
'lineComment=# lineSeparator=\n null= rowSeparator='.
'lineComment=# lineSeparator=\n null= rowSeparator='
)
.
The following options are supported:
The following options are supported:
charset, escape, fieldDelimiter, fieldSeparator,
charset, escape, fieldDelimiter, fieldSeparator,
lineComment (# for H2 version 1.2, disabled for H2 version 1.3),
lineComment (# for H2 version 1.2, disabled for H2 version 1.3),
lineSeparator, null, rowSeparator (not set by default).
lineSeparator, null, rowSeparator (not set by default).
The options text is encoded like a Java string.
For a newline or other special character, use STRINGDECODE as in the example above.
A space needs to be escaped with a backslash ('\ ').
A backslash needs to be escaped with another backslash ('\\').
","
","
CALL CSVWRITE('test2.csv', 'SELECT * FROM TEST', 'UTF-8', '|');
CALL CSVWRITE('test2.csv', 'SELECT * FROM TEST', 'charset=UTF-8 fieldSeparator=|');
CALL CSVWRITE('test2.csv', 'SELECT * FROM TEST', 'charset=UTF-8 fieldSeparator=|');
"
"
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
72e0aab6
...
@@ -20,7 +20,7 @@ Change Log
...
@@ -20,7 +20,7 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul><li>
Improved error detection when starting a server with invalid arguments,
<ul><li>
Improved error detection when starting a server with invalid arguments,
such as "-tcpPort=9091" or "-tcpPort 9091" (as one parameter) instead of "-tcpPort", "9091".
such as "-tcpPort=9091" or "-tcpPort 9091" (as one parameter) instead of "-tcpPort", "9091".
</li><li>
The function
JAVA
DECODE ignored characters after a non-escaped double quote.
</li><li>
The function
STRING
DECODE ignored characters after a non-escaped double quote.
This is no longer the case.
This is no longer the case.
</li><li>
The new CSV option feature introduced in version 1.3.150 didn't support spaces.
</li><li>
The new CSV option feature introduced in version 1.3.150 didn't support spaces.
Now the escape mechanism is changed to support it.
Now the escape mechanism is changed to support it.
...
...
h2/src/docsrc/text/_docs_en.utf8.txt
浏览文件 @
72e0aab6
差异被折叠。
点击展开。
h2/src/docsrc/text/_docs_ja.utf8.txt
浏览文件 @
72e0aab6
差异被折叠。
点击展开。
h2/src/docsrc/textbase/_docs_en.properties
浏览文件 @
72e0aab6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
h2/src/main/org/h2/util/Tool.java
浏览文件 @
72e0aab6
...
@@ -106,7 +106,7 @@ public abstract class Tool {
...
@@ -106,7 +106,7 @@ public abstract class Tool {
* then an exception is thrown.
* then an exception is thrown.
*
*
* @param arg the argument
* @param arg the argument
* @param
th
e option
* @param
option the command lin
e option
* @return true if it matches
* @return true if it matches
*/
*/
public
static
boolean
isOption
(
String
arg
,
String
option
)
{
public
static
boolean
isOption
(
String
arg
,
String
option
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论