changeset 583:6973b4629e50 onclient

Update onclient.txt: use 'linesToSkip' rather than 'offset'
author Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
date Fri, 15 Oct 2021 12:13:51 +0200 (2021-10-15)
parents 6cb395daa7d1
children 1c5e59760ff8
files onclient.txt
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/onclient.txt
+++ b/onclient.txt
@@ -71,9 +71,10 @@ communicate with the server, for example
 - handle.uploadFrom(Reader reader) to have the JDBC driver read text from the given
   Reader and upload it.
 
-- handle.uploadFrom(BufferedReader reader, int offset) to have the JDBC driver read from
-  the given BufferedReader, and upload the text starting at line 'offset'. Typically
-  you would use the offset passed to handleUpload in parameter 'offset'.
+- handle.uploadFrom(BufferedReader reader, long linesToSkip) to have the JDBC
+  driver read from the given BufferedReader and upload the text, skipping the first
+  'linesToSkip' lines. Typically you would use the value passed to handleUpload in
+  parameter 'linesToSkip'.
 
 - handle.sendError(String errorMessage) to refuse the upload.