summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorUrban Müller2025-10-16 14:51:10 +0200
committerUrban Müller2025-10-16 14:51:10 +0200
commitc939f75a9f9af952c6fbf8d96dc969238a045738 (patch)
tree0d4e6f24e801ed0a5925c75da0fdbab10044da58 /it_dbi.class
parent586c433bbb5a6a2f7f41a1176d9ef9366b836d3c (diff)
downloaditools-c939f75a9f9af952c6fbf8d96dc969238a045738.tar.gz
itools-c939f75a9f9af952c6fbf8d96dc969238a045738.tar.bz2
itools-c939f75a9f9af952c6fbf8d96dc969238a045738.zip
docs
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class3
1 files changed, 2 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index df21396..0c20095 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -769,7 +769,8 @@ function iterate()
/**
* Insert a record into table. Values are taken assoc array $tags. Keys in $tags
* should contain row names unless "dyncols" exists in schema (they are stored as
- * dynamic columns then). Keys with - prefix suppress quoting of values.
+ * dynamic columns then). Keys with - prefix suppress quoting of values. If primary
+ * key field is (var)char and no value given, the value is generated randomly.
* After inserting, all values are valid (record is read back).
* Does not destroy internal state of last select() call
* @param $tags key => value pairs to set