Переглянути джерело

tweak example

git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@843 f203690c-595d-4dc9-a70b-905162fa7fd2
tags/jackcess-2.0.3
James Ahlborn 10 роки тому
джерело
коміт
53be963436
1 змінених файлів з 2 додано та 2 видалено
  1. 2
    2
      src/site/xdoc/cookbook.xml

+ 2
- 2
src/site/xdoc/cookbook.xml Переглянути файл

@@ -251,12 +251,12 @@
key and enable speedier lookups on the "Name" column.
</p>
<source>
// new TableBuilder(...
// ... new TableBuilder( ...
.addIndex(new IndexBuilder(IndexBuilder.PRIMARY_KEY_NAME)
.addColumns("ID").setPrimaryKey())
.addIndex(new IndexBuilder("NameIndex")
.addColumns("Name"))
// .toTable(...
// ... .toTable( ...
</source>
<p>
Don't forget to close the Database when you are finished building it

Завантаження…
Відмінити
Зберегти