Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f43-build-58263861-6563725/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p88z9jx3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p88z9jx3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5239cf6a606942589b0bf6c1ef24c663', '-D', '/var/lib/mock/f43-build-58263861-6563725/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p88z9jx3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737072000 Wrote: /builddir/build/SRPMS/golang-gopkg-gorp-1-1.7.2-12.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f43-build-58263861-6563725/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p88z9jx3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p88z9jx3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '701c4964310c4382862edc3c0d3c0adb', '-D', '/var/lib/mock/f43-build-58263861-6563725/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p88z9jx3:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1737072000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.m3VM2Q Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wGCOmp + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + rm -rf gorp-1.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gorp-1.7.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gorp-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/vendor + [[ ! -e /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build' install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin' + export GOPATH=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 ]] ++ dirname /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + install -m 0755 -vd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src' install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in' + ln -fs /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2 /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gorp-1-fix-format-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wIekHI + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + '[' /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + mkdir /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT + cd gorp-1.7.2 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i gopkg.in/gorp.v1 -b /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build -o golang-gopkg-gorp-1-devel.file-list -O /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2 -V 1.7.2-12.fc43 -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Installing: gopkg.in/gorp.v1 realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md +++ sort -u realpath: CONTRIBUTING.md: No such file or directory ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -d /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo /usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo '%dir "/usr/share/gocode/src/github.com/go-gorp/gorp"' + echo '%dir "/usr/share/gocode/src/github.com/go-gorp"' + echo '%dir "/usr/share/gocode/src/github.com"' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j6 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j6 /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT Scanned 10 directories and 6 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mitjte + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + cd gorp-1.7.2 + export GORP_TEST_DSN=gorptest.bin + GORP_TEST_DSN=gorptest.bin + export GORP_TEST_DIALECT=sqlite + GORP_TEST_DIALECT=sqlite + GO_LDFLAGS=' -X gopkg.in/gorp.v1/version=1.7.2' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i gopkg.in/gorp.v1 -b /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build -V 1.7.2-12.fc43 -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src PATH: /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X gopkg.in/gorp.v1/version=1.7.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: gopkg.in/gorp.v1 gopkg.in/gorp.v1 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.391107 drop table if exists "invoice_test"; [] gorptest: 17:23:36.391624 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.391642 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.391655 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.391677 drop table if exists "person_test"; [] gorptest: 17:23:36.391690 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.391701 drop table if exists "id_created_test"; [] gorptest: 17:23:36.391713 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.391724 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.391736 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.391748 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.391759 drop table if exists "time_test"; [] gorptest: 17:23:36.391782 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.393754 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.395067 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.396300 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.397623 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.398860 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.400321 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.401583 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.402841 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.404087 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.405449 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.406713 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.408026 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.408081 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.408100 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.408118 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.408152 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.408171 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.408186 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.408202 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.408218 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.408234 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.408250 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.408265 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.408284 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:36.408298 drop table if exists "invoice_test"; [] gorptest: 17:23:36.409785 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.411150 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.412472 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.413920 drop table if exists "person_test"; [] gorptest: 17:23:36.415260 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.416853 drop table if exists "id_created_test"; [] gorptest: 17:23:36.418221 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.419500 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.420813 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.422314 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.423612 drop table if exists "time_test"; [] gorptest: 17:23:36.424892 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.425082 drop table if exists "invoice_test"; [] gorptest: 17:23:36.425254 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.425274 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.425287 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.425299 drop table if exists "person_test"; [] gorptest: 17:23:36.425311 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.425323 drop table if exists "id_created_test"; [] gorptest: 17:23:36.425335 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.425347 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.425359 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.425371 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.425383 drop table if exists "time_test"; [] gorptest: 17:23:36.425405 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.426783 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.430707 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.432232 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.433746 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.435234 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.436577 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.437969 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.439500 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.441048 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.442750 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.444710 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.446257 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.446301 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.446321 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.446339 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.446358 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.446374 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.446389 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.446404 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.446420 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.446437 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.446453 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.446469 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.446484 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:36.446588 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923416446510035 2:1742923416446510035 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:36.448126 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 17:23:36.449766 delete from "invoice_test"; [] gorptest: 17:23:36.451167 delete from "invoice_tag_test"; [] gorptest: 17:23:36.452551 delete from "alias_trans_field_test"; [] gorptest: 17:23:36.453933 delete from "invoice_override_test"; [] gorptest: 17:23:36.455468 delete from "person_test"; [] gorptest: 17:23:36.456900 delete from "ignored_column_test"; [] gorptest: 17:23:36.458285 delete from "id_created_test"; [] gorptest: 17:23:36.459682 delete from "type_conv_test"; [] gorptest: 17:23:36.461032 delete from "embedded_struct_test"; [] gorptest: 17:23:36.462387 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.463974 delete from "embedded_autoincr_test"; [] gorptest: 17:23:36.465374 delete from "time_test"; [] gorptest: 17:23:36.466768 delete from "id_created_test"; [] gorptest: 17:23:36.468131 SELECT * FROM person_test [] gorptest: 17:23:36.468216 SELECT * FROM invoice_test [] gorptest: 17:23:36.468265 drop table if exists "invoice_test"; [] gorptest: 17:23:36.469797 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.471605 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.473070 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.474686 drop table if exists "person_test"; [] gorptest: 17:23:36.476247 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.477881 drop table if exists "id_created_test"; [] gorptest: 17:23:36.479496 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.481049 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.482564 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.484054 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.485549 drop table if exists "time_test"; [] gorptest: 17:23:36.486975 drop table if exists "id_created_test"; [] gorptest: 17:23:36.487104 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 17:23:36.488791 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-03-25 17:23:36 +0000 UTC] gorptest: 17:23:36.490268 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 17:23:36.490335 drop table if exists "WithCustomDate"; [] gorptest: 17:23:36.491960 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:36.493642 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:36.495235 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:36.496848 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 17:23:36.498370 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 17:23:36.499828 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 17:23:36.501340 drop table if exists "PersonUInt64"; [] gorptest: 17:23:36.502870 drop table if exists "PersonUInt32"; [] gorptest: 17:23:36.504391 drop table if exists "PersonUInt16"; [] gorptest: 17:23:36.505968 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 17:23:36.507859 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 17:23:36.509407 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 17:23:36.509472 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 17:23:36.509514 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 17:23:36.511038 drop table if exists "UniqueColumns"; [] gorptest: 17:23:36.512726 drop table if exists PersistentUser [] gorptest: 17:23:36.512934 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:36.514436 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:36.515910 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 17:23:36.515974 select * from PersistentUser [] gorptest: 17:23:36.516017 select * from PersistentUser [] gorptest: 17:23:36.516048 select * from PersistentUser [] gorptest: 17:23:36.516077 select Id from PersistentUser [] gorptest: 17:23:36.516099 select mykey from PersistentUser [] gorptest: 17:23:36.516132 select PassedTraining from PersistentUser [] gorptest: 17:23:36.516170 select Id from PersistentUser [] gorptest: 17:23:36.516192 drop table if exists "PersistentUser"; [] gorptest: 17:23:36.517698 drop table if exists PersistentUser [] gorptest: 17:23:36.517866 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:36.519589 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:36.521063 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:36.522542 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:36.522625 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:36.522675 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:36.522719 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 17:23:36.522752 drop table if exists "PersistentUser"; [] gorptest: 17:23:36.524272 drop table if exists PersistentUser [] gorptest: 17:23:36.524424 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:36.525976 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:36.527411 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:36.528844 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:36.528928 drop table if exists "PersistentUser"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.530524 drop table if exists "invoice_test"; [] gorptest: 17:23:36.530669 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.530689 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.530701 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.530713 drop table if exists "person_test"; [] gorptest: 17:23:36.530726 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.530745 drop table if exists "id_created_test"; [] gorptest: 17:23:36.530758 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.530770 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.530782 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.530794 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.530806 drop table if exists "time_test"; [] gorptest: 17:23:36.530823 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.532333 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.533891 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.535364 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.536926 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.538464 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.539995 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.541483 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.543015 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.544565 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.546069 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.547582 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.549074 select * from invoice_test where id=99999 [] gorptest: 17:23:36.549151 select * from invoice_test where id=99999 [] gorptest: 17:23:36.549189 drop table if exists "invoice_test"; [] gorptest: 17:23:36.550694 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.552128 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.553589 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.555165 drop table if exists "person_test"; [] gorptest: 17:23:36.556714 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.558175 drop table if exists "id_created_test"; [] gorptest: 17:23:36.559639 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.561148 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.562588 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.564088 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.565538 drop table if exists "time_test"; [] gorptest: 17:23:36.567227 drop table if exists "id_created_test"; [] gorptest: 17:23:36.567336 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 17:23:36.569029 update "InvoicePersonView" set "InvoiceId"=?, "PersonId"=?, "Memo"=?, "FName"=?, "LegacyVersion"=? where "InvoiceId"=? and "PersonId"=? and "LegacyVersion"=?; [1:1 2:2 3:"memo" 4:"fname" 5:1 6:1 7:2 8:1] gorptest: 17:23:36.569095 drop table if exists "InvoicePersonView"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.570822 drop table if exists "invoice_test"; [] gorptest: 17:23:36.570959 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.570979 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.570991 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.571004 drop table if exists "person_test"; [] gorptest: 17:23:36.571016 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.571028 drop table if exists "id_created_test"; [] gorptest: 17:23:36.571040 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.571051 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.571063 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.571075 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.571087 drop table if exists "time_test"; [] gorptest: 17:23:36.571104 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.572687 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.574191 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.575926 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.577628 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.579239 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.580774 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.582532 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.584085 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.585678 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.587207 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.588720 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.590251 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923416590238493 2:1742923416590238493 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:36.591781 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:36.591883 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923416590238493 2:1742923416590238493 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 17:23:36.593348 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923416590238493 2:1742923416590238493 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 17:23:36.593413 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:36.593476 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 17:23:36.593510 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:36.593552 drop table if exists "invoice_test"; [] gorptest: 17:23:36.595065 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.596565 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.598027 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.599600 drop table if exists "person_test"; [] gorptest: 17:23:36.601183 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.602642 drop table if exists "id_created_test"; [] gorptest: 17:23:36.604329 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.605808 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.607321 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.608941 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.610512 drop table if exists "time_test"; [] gorptest: 17:23:36.612040 drop table if exists "id_created_test"; [] gorptest: 17:23:36.612201 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:36.613933 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 17:23:36.615395 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:36.615486 update "TableWithNull" set "Id"=?, "Str"=?, "Int64"=?, "Float64"=?, "Bool"=?, "Bytes"=? where "Id"=?; [1:10 2:"hi" 3:999 4:53.33 5:true 6:[1 30 31 33] 7:10] gorptest: 17:23:36.616969 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:36.617074 drop table if exists "TableWithNull"; [] gorptest: 17:23:36.618760 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 17:23:36.620480 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 17:23:36.622022 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 17:23:36.622089 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 17:23:36.622131 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 17:23:36.622172 drop table if exists "Invoice"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.623982 drop table if exists "invoice_test"; [] gorptest: 17:23:36.624117 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.624154 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.624171 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.624184 drop table if exists "person_test"; [] gorptest: 17:23:36.624196 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.624208 drop table if exists "id_created_test"; [] gorptest: 17:23:36.624227 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.624240 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.624252 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.624263 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.624275 drop table if exists "time_test"; [] gorptest: 17:23:36.624292 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.625808 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.627362 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.628915 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.630515 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.632032 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.633582 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.635119 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.636605 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.638075 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.639712 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.641279 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.642753 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923416642740622 2:1742923416642740622 3:"bob" 4:"smith" 5:1] gorptest: 17:23:36.644241 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 17:23:36.645761 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:36.645855 drop table if exists "invoice_test"; [] gorptest: 17:23:36.647357 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.648822 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.650287 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.651926 drop table if exists "person_test"; [] gorptest: 17:23:36.653463 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.654929 drop table if exists "id_created_test"; [] gorptest: 17:23:36.656411 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.657873 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.659383 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.660881 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.662327 drop table if exists "time_test"; [] gorptest: 17:23:36.663817 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.663979 drop table if exists "invoice_test"; [] gorptest: 17:23:36.664117 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.664181 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.664199 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.664212 drop table if exists "person_test"; [] gorptest: 17:23:36.664224 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.664236 drop table if exists "id_created_test"; [] gorptest: 17:23:36.664248 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.664260 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.664272 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.664285 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.664296 drop table if exists "time_test"; [] gorptest: 17:23:36.664314 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.665896 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.667473 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.668969 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.670535 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.672011 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.673537 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.675162 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.676816 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.678440 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.680060 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.681706 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.683325 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923416683311410 2:1742923416683311410 3:"bob" 4:"smith" 5:1] gorptest: 17:23:36.685056 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:36.685245 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923416683311410 2:1742923416683311410 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 17:23:36.686935 select * from person_test where id = ? [1:1] gorptest: 17:23:36.687037 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 17:23:36.688695 drop table if exists "invoice_test"; [] gorptest: 17:23:36.690352 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.691984 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.693531 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.695241 drop table if exists "person_test"; [] gorptest: 17:23:36.696850 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.698342 drop table if exists "id_created_test"; [] gorptest: 17:23:36.699776 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.701238 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.702714 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.704224 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.705762 drop table if exists "time_test"; [] gorptest: 17:23:36.707440 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.707617 drop table if exists "invoice_test"; [] gorptest: 17:23:36.707763 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.707796 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.707809 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.707822 drop table if exists "person_test"; [] gorptest: 17:23:36.707834 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.707846 drop table if exists "id_created_test"; [] gorptest: 17:23:36.707858 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.707870 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.707882 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.707894 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.707907 drop table if exists "time_test"; [] gorptest: 17:23:36.707924 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.709464 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.710987 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.712611 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.714263 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.715828 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.717442 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.719052 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.720625 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.722245 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.723824 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.725446 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.727030 begin; [] gorptest: 17:23:36.727093 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 17:23:36.727257 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 17:23:36.727291 commit; [] gorptest: 17:23:36.728727 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:36.728797 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:36.728831 drop table if exists "invoice_test"; [] gorptest: 17:23:36.730376 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.731924 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.733478 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.735027 drop table if exists "person_test"; [] gorptest: 17:23:36.736548 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.738111 drop table if exists "id_created_test"; [] gorptest: 17:23:36.739712 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.741303 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.742871 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.744404 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.745914 drop table if exists "time_test"; [] gorptest: 17:23:36.747366 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.747521 drop table if exists "invoice_test"; [] gorptest: 17:23:36.747655 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.747681 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.747693 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.747705 drop table if exists "person_test"; [] gorptest: 17:23:36.747717 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.747729 drop table if exists "id_created_test"; [] gorptest: 17:23:36.747741 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.747753 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.747765 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.747776 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.747788 drop table if exists "time_test"; [] gorptest: 17:23:36.747806 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.749390 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.750919 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.752514 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.754122 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.755727 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.757309 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.758870 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.760478 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.762075 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.763611 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.765171 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.766683 begin; [] gorptest: 17:23:36.766722 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 17:23:36.766840 select memo from invoice_test [] gorptest: 17:23:36.766876 savepoint "foo" [1:] gorptest: 17:23:36.766883 select memo from invoice_test [] gorptest: 17:23:36.766929 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 17:23:36.766952 select memo from invoice_test [] gorptest: 17:23:36.766972 rollback to savepoint "foo" [1:] gorptest: 17:23:36.766981 select memo from invoice_test [] gorptest: 17:23:36.766991 rollback; [] gorptest: 17:23:36.767057 drop table if exists "invoice_test"; [] gorptest: 17:23:36.768532 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.769986 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.771485 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.773047 drop table if exists "person_test"; [] gorptest: 17:23:36.774577 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.776067 drop table if exists "id_created_test"; [] gorptest: 17:23:36.777617 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.779134 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.780727 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.782234 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.783700 drop table if exists "time_test"; [] gorptest: 17:23:36.785170 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.785324 drop table if exists "invoice_test"; [] gorptest: 17:23:36.785458 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.785477 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.785490 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.785502 drop table if exists "person_test"; [] gorptest: 17:23:36.785514 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.785526 drop table if exists "id_created_test"; [] gorptest: 17:23:36.785538 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.785550 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.785562 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.785574 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.785586 drop table if exists "time_test"; [] gorptest: 17:23:36.785607 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.787258 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.788841 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.790379 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.792058 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.793910 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.795582 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.797184 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.798789 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.800384 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.801936 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.803474 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.804993 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 17:23:36.806483 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 17:23:36.807913 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 17:23:36.809297 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 17:23:36.810671 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:36.812368 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:36.813754 drop table if exists "invoice_test"; [] gorptest: 17:23:36.815210 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.816689 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.818204 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.819749 drop table if exists "person_test"; [] gorptest: 17:23:36.821224 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.822755 drop table if exists "id_created_test"; [] gorptest: 17:23:36.824479 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.825997 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.827576 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.829068 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.830560 drop table if exists "time_test"; [] gorptest: 17:23:36.832061 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.832230 drop table if exists "invoice_test"; [] gorptest: 17:23:36.832389 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.832408 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.832420 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.832432 drop table if exists "person_test"; [] gorptest: 17:23:36.832444 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.832456 drop table if exists "id_created_test"; [] gorptest: 17:23:36.832468 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.832480 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.832492 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.832504 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.832516 drop table if exists "time_test"; [] gorptest: 17:23:36.832534 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.834193 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.835938 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.837622 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.839388 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.840991 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.842562 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.844131 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.845768 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.847342 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.848881 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.850476 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.852027 delete from invoice_test [] gorptest: 17:23:36.853437 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 17:23:36.855049 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:36.855172 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:5170059874352778124 2:3495478125909061753 3:"random 3571274713107193566" 4:0 5:true 6:1] gorptest: 17:23:36.856714 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:36.856783 select * from invoice_test [] gorptest: 17:23:36.856848 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:36.858304 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:36.858357 delete from invoice_tag_test [] gorptest: 17:23:36.859756 insert into "invoice_tag_test" ("myid","myCreated","date_updated","Memo","person_id","is_Paid") values (null,?,?,?,?,?); [1:300 2:400 3:"some order" 4:33 5:false] gorptest: 17:23:36.861323 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:36.861404 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:1043166818624999593 2:3479411950313900108 3:"random 3002267629254218544" 4:33 5:false 6:1] gorptest: 17:23:36.862832 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:36.862903 select * from invoice_tag_test [] gorptest: 17:23:36.862958 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:36.864294 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:36.864345 delete from alias_trans_field_test [] gorptest: 17:23:36.865794 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 17:23:36.867290 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:36.867362 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 4692355229291771574" 2:1] gorptest: 17:23:36.868798 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:36.868863 select * from alias_trans_field_test [] gorptest: 17:23:36.868902 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:36.870293 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:36.870343 drop table if exists "invoice_test"; [] gorptest: 17:23:36.871908 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.873454 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.875320 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.876936 drop table if exists "person_test"; [] gorptest: 17:23:36.878373 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.879829 drop table if exists "id_created_test"; [] gorptest: 17:23:36.881388 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.882917 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.884398 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.885875 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.887359 drop table if exists "time_test"; [] gorptest: 17:23:36.888857 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.889042 drop table if exists "invoice_test"; [] gorptest: 17:23:36.889195 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.889214 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.889227 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.889239 drop table if exists "person_test"; [] gorptest: 17:23:36.889251 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.889263 drop table if exists "id_created_test"; [] gorptest: 17:23:36.889275 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.889287 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.889299 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.889311 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.889323 drop table if exists "time_test"; [] gorptest: 17:23:36.889340 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.891010 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.892769 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.894310 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.895948 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.897514 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.899032 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.900613 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.902222 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.903777 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.905412 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.907035 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.908590 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 17:23:36.910376 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:36.910438 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:36.911960 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:36.912010 drop table if exists "invoice_test"; [] gorptest: 17:23:36.913555 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.915108 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.916726 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.918396 drop table if exists "person_test"; [] gorptest: 17:23:36.920000 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.921576 drop table if exists "id_created_test"; [] gorptest: 17:23:36.923106 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.924685 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.926505 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.927985 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.929555 drop table if exists "time_test"; [] gorptest: 17:23:36.931066 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.931232 drop table if exists "invoice_test"; [] gorptest: 17:23:36.931379 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.931399 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.931411 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.931424 drop table if exists "person_test"; [] gorptest: 17:23:36.931436 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.931448 drop table if exists "id_created_test"; [] gorptest: 17:23:36.931460 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.931472 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.931484 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.931501 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.931515 drop table if exists "time_test"; [] gorptest: 17:23:36.931532 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.933364 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.934947 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.936545 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.938247 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.939841 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.941446 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.943008 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.944565 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.946196 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.947818 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.949449 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.951247 insert into "type_conv_test" ("Id","PersonJSON","Name") values (null,?,?); [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Bob\",\"LName\":\"Smith\",\"Version\":0}" 2:"hi"] gorptest: 17:23:36.952823 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:36.952926 update "type_conv_test" set "PersonJSON"=?, "Name"=? where "Id"=?; [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Jane\",\"LName\":\"Doe\",\"Version\":0}" 2:"hi2" 3:1] gorptest: 17:23:36.954413 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:36.954485 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:36.956059 drop table if exists "invoice_test"; [] gorptest: 17:23:36.957648 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.959103 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.960686 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.962416 drop table if exists "person_test"; [] gorptest: 17:23:36.963919 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.965550 drop table if exists "id_created_test"; [] gorptest: 17:23:36.967076 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.968693 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.970214 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.971742 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.973225 drop table if exists "time_test"; [] gorptest: 17:23:36.974706 drop table if exists "id_created_test"; [] 2025/03/25 17:23:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:36.974856 drop table if exists "invoice_test"; [] gorptest: 17:23:36.974996 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:36.975012 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:36.975024 drop table if exists "invoice_override_test"; [] gorptest: 17:23:36.975037 drop table if exists "person_test"; [] gorptest: 17:23:36.975049 drop table if exists "ignored_column_test"; [] gorptest: 17:23:36.975061 drop table if exists "id_created_test"; [] gorptest: 17:23:36.975073 drop table if exists "type_conv_test"; [] gorptest: 17:23:36.975085 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:36.975101 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:36.975114 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:36.975126 drop table if exists "time_test"; [] gorptest: 17:23:36.975167 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.976708 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:36.978324 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:36.980325 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:36.982860 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:36.984983 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.986599 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:36.988155 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:36.989707 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:36.991267 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:36.992851 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:36.994765 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:36.996258 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 17:23:36.997764 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:36.997847 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 17:23:36.999284 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:36.999342 select * from embedded_struct_test [] gorptest: 17:23:36.999385 drop table if exists "invoice_test"; [] gorptest: 17:23:37.001155 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.002678 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.004211 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.005763 drop table if exists "person_test"; [] gorptest: 17:23:37.007241 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.008950 drop table if exists "id_created_test"; [] gorptest: 17:23:37.010470 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.011982 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.013545 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.015028 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.016503 drop table if exists "time_test"; [] gorptest: 17:23:37.018135 drop table if exists "id_created_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.018620 drop table if exists "invoice_test"; [] gorptest: 17:23:37.018809 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.018829 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.018842 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.018854 drop table if exists "person_test"; [] gorptest: 17:23:37.018866 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.018890 drop table if exists "id_created_test"; [] gorptest: 17:23:37.018902 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.018913 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.018925 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.018937 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.018960 drop table if exists "time_test"; [] gorptest: 17:23:37.018978 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.020641 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.022276 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.023916 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.025599 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.027108 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.028695 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.030319 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.031903 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.033563 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.035110 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.036746 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.038297 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 17:23:37.039840 drop table if exists "invoice_test"; [] gorptest: 17:23:37.041377 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.042874 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.044410 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.046160 drop table if exists "person_test"; [] gorptest: 17:23:37.047711 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.049276 drop table if exists "id_created_test"; [] gorptest: 17:23:37.050871 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.052378 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.053918 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.055895 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.057482 drop table if exists "time_test"; [] gorptest: 17:23:37.059029 drop table if exists "id_created_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.059196 drop table if exists "invoice_test"; [] gorptest: 17:23:37.059336 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.059355 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.059368 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.059380 drop table if exists "person_test"; [] gorptest: 17:23:37.059392 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.059404 drop table if exists "id_created_test"; [] gorptest: 17:23:37.059416 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.059428 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.059440 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.059458 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.059470 drop table if exists "time_test"; [] gorptest: 17:23:37.059488 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.061166 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.062835 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.064446 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.066153 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.067803 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.069402 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.071043 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.072578 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.074124 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.075675 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.077218 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.078687 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 17:23:37.080334 drop table if exists "invoice_test"; [] gorptest: 17:23:37.081923 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.083599 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.085401 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.087213 drop table if exists "person_test"; [] gorptest: 17:23:37.088883 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.090610 drop table if exists "id_created_test"; [] gorptest: 17:23:37.092336 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.094004 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.095556 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.097130 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.098746 drop table if exists "time_test"; [] gorptest: 17:23:37.100363 drop table if exists "id_created_test"; [] gorptest: 17:23:37.100488 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:37.102235 insert into "TableWithNull" ("Id","Str","Int64","Float64","Bool","Bytes") values (?,?,?,?,?,?); [1:0 2:"abc" 3:78 4:32.2 5:true 6:[104 105]] gorptest: 17:23:37.103681 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:37.103740 select count(*) from TableWithNull [] gorptest: 17:23:37.103769 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:37.103796 select Int64 from TableWithNull where Str='notfound' [] gorptest: 17:23:37.103818 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:37.103839 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:37.103860 select min(Float64) from TableWithNull [] gorptest: 17:23:37.103885 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:37.103908 select Float64 from TableWithNull where Str='notfound' [] gorptest: 17:23:37.103927 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:37.103948 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:37.103969 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:37.103988 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:37.104009 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:37.104070 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 17:23:37.104097 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:37.104120 drop table if exists "TableWithNull"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.105856 drop table if exists "invoice_test"; [] gorptest: 17:23:37.105988 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.106007 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.106020 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.106032 drop table if exists "person_test"; [] gorptest: 17:23:37.106044 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.106056 drop table if exists "id_created_test"; [] gorptest: 17:23:37.106068 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.106079 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.106091 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.106103 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.106115 drop table if exists "time_test"; [] gorptest: 17:23:37.106153 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.107748 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.109351 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.110983 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.112675 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.114303 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.115834 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.117366 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.118867 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.120415 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.122031 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.124087 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.125684 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417125655184 2:1742923417125655184 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:37.127301 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417127291693 2:1742923417127291693 3:"Jane" 4:"Smith" 5:1] gorptest: 17:23:37.128895 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417128886146 2:1742923417128886146 3:"Mike" 4:"Smith" 5:1] gorptest: 17:23:37.130410 drop table if exists "invoice_test"; [] gorptest: 17:23:37.131878 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.133333 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.134739 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.136392 drop table if exists "person_test"; [] gorptest: 17:23:37.137930 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.139428 drop table if exists "id_created_test"; [] gorptest: 17:23:37.140845 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.142333 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.144100 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.145576 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.147064 drop table if exists "time_test"; [] gorptest: 17:23:37.148503 drop table if exists "id_created_test"; [] gorptest: 17:23:37.148616 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 17:23:37.150473 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 17:23:37.152199 drop table if exists "string_pk_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.154287 drop table if exists "invoice_test"; [] gorptest: 17:23:37.154472 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.154488 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.154501 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.154514 drop table if exists "person_test"; [] gorptest: 17:23:37.154526 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.154548 drop table if exists "id_created_test"; [] gorptest: 17:23:37.154561 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.154573 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.154585 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.154598 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.154619 drop table if exists "time_test"; [] gorptest: 17:23:37.154638 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.156303 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.157976 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.159688 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.161458 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.163163 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.164748 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.166321 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.167914 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.169931 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.171455 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.173043 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.174607 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:52:37.174592764 +0000 UTC] gorptest: 17:23:37.176163 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:53:38.174592764 +0000 UTC] gorptest: 17:23:37.177690 SELECT id FROM time_test WHERE Time < ? [1:2025-03-25 16:53:37.174592764 +0000 UTC] gorptest: 17:23:37.177758 drop table if exists "invoice_test"; [] gorptest: 17:23:37.179211 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.180674 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.182206 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.183868 drop table if exists "person_test"; [] gorptest: 17:23:37.185467 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.187008 drop table if exists "id_created_test"; [] gorptest: 17:23:37.188532 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.190096 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.191672 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.193227 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.194783 drop table if exists "time_test"; [] gorptest: 17:23:37.196432 drop table if exists "id_created_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.196590 drop table if exists "invoice_test"; [] gorptest: 17:23:37.196738 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.196756 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.196770 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.196782 drop table if exists "person_test"; [] gorptest: 17:23:37.196794 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.196806 drop table if exists "id_created_test"; [] gorptest: 17:23:37.196825 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.196838 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.196850 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.196862 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.196874 drop table if exists "time_test"; [] gorptest: 17:23:37.196896 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.198585 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.200273 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.201907 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.203686 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.205293 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.206924 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.208515 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.210118 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.211760 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.213358 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.215412 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.216982 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417216967360 2:1742923417216967360 3:"bob" 4:"smith" 5:1] gorptest: 17:23:37.218692 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 17:23:37.220243 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:37.220334 drop table if exists "invoice_test"; [] gorptest: 17:23:37.221922 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.223367 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.224860 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.226465 drop table if exists "person_test"; [] gorptest: 17:23:37.228083 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.229592 drop table if exists "id_created_test"; [] gorptest: 17:23:37.231113 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.232819 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.234500 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.236029 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.238588 drop table if exists "time_test"; [] gorptest: 17:23:37.240129 drop table if exists "id_created_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.240293 drop table if exists "invoice_test"; [] gorptest: 17:23:37.240428 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.240447 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.240460 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.240472 drop table if exists "person_test"; [] gorptest: 17:23:37.240484 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.240497 drop table if exists "id_created_test"; [] gorptest: 17:23:37.240509 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.240521 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.240533 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.240545 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.240557 drop table if exists "time_test"; [] gorptest: 17:23:37.240575 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.242155 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.243650 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.245191 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.246735 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.248316 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.249811 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.251342 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.252813 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.254312 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.255748 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.257274 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.278845 drop table if exists "invoice_test"; [] gorptest: 17:23:37.278979 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.278993 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.279005 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.279025 drop table if exists "person_test"; [] gorptest: 17:23:37.279038 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.279050 drop table if exists "id_created_test"; [] gorptest: 17:23:37.279062 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.279074 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.279086 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.279098 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.279128 drop table if exists "time_test"; [] gorptest: 17:23:37.279182 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.280715 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.282283 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.283841 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.285359 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.286884 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.288390 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.289880 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.291414 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.292955 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.294466 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.296036 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.297620 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417297590102 2:1742923417297590102 3:"bob" 4:"smith" 5:1] gorptest: 17:23:37.299544 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417299532643 2:1742923417299532643 3:"jane" 4:"doe" 5:1] gorptest: 17:23:37.301413 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:37.301483 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 17:23:37.301525 select * from person_test where Id=? [1:1] gorptest: 17:23:37.301568 select * from person_test order by fname asc [] gorptest: 17:23:37.301640 drop table if exists "invoice_test"; [] gorptest: 17:23:37.303474 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.305172 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.306701 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.308263 drop table if exists "person_test"; [] gorptest: 17:23:37.309844 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.311361 drop table if exists "id_created_test"; [] gorptest: 17:23:37.312890 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.314488 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.315938 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.317397 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.318924 drop table if exists "time_test"; [] gorptest: 17:23:37.320427 drop table if exists "id_created_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.320628 drop table if exists "invoice_test"; [] gorptest: 17:23:37.320785 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.320805 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.320817 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.320829 drop table if exists "person_test"; [] gorptest: 17:23:37.320841 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.320853 drop table if exists "id_created_test"; [] gorptest: 17:23:37.320865 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.320877 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.320889 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.320901 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.320913 drop table if exists "time_test"; [] gorptest: 17:23:37.320931 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.322531 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.324160 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.325760 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.327476 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.329168 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.330915 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.332636 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.334325 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.335998 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.337704 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.339933 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.341607 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417341584075 2:1742923417341584075 3:"bob" 4:"smith" 5:1] gorptest: 17:23:37.343217 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:37.343295 select * from person_test where Id=? [1:1] gorptest: 17:23:37.343351 select FName from person_test where Id=? [1:1] gorptest: 17:23:37.343376 select * from person_test where Id=? [1:1] gorptest: 17:23:37.343450 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 17:23:37.343502 select * from person_test where Id=? [1:-2222] gorptest: 17:23:37.343549 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923417343542348 2:1742923417343542348 3:"bob" 4:"smith" 5:1] gorptest: 17:23:37.345226 select * from person_test where Fname='bob' [] gorptest: 17:23:37.345313 select * from person_test where Id=-123 [] gorptest: 17:23:37.345340 select * from person_test where Id=-123 [] gorptest: 17:23:37.345360 select * from person_test where Id=-123 [] gorptest: 17:23:37.345392 select * from person_test where Id=-123 [] gorptest: 17:23:37.345416 drop table if exists "invoice_test"; [] gorptest: 17:23:37.347082 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.348774 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.350296 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.351983 drop table if exists "person_test"; [] gorptest: 17:23:37.353646 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.355234 drop table if exists "id_created_test"; [] gorptest: 17:23:37.356860 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.358348 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.359912 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.361507 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.363717 drop table if exists "time_test"; [] gorptest: 17:23:37.365409 drop table if exists "id_created_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.365598 drop table if exists "invoice_test"; [] gorptest: 17:23:37.365753 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.365772 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.365785 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.365798 drop table if exists "person_test"; [] gorptest: 17:23:37.365810 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.365821 drop table if exists "id_created_test"; [] gorptest: 17:23:37.365834 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.365846 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.365858 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.365870 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.365890 drop table if exists "time_test"; [] gorptest: 17:23:37.365909 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.367642 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.369248 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.370742 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.372336 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.373837 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.375346 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.376856 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.378392 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.379916 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.381681 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.383221 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.384688 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 17:23:37.386221 select * from id_created_test where Id=1 [] gorptest: 17:23:37.386291 SELECT *, 1 AS external FROM id_created_test [] gorptest: 17:23:37.386338 drop table if exists "invoice_test"; [] gorptest: 17:23:37.387965 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.389523 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.390995 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.392589 drop table if exists "person_test"; [] gorptest: 17:23:37.394101 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.395606 drop table if exists "id_created_test"; [] gorptest: 17:23:37.397128 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.398625 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.400125 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.401602 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.403086 drop table if exists "time_test"; [] gorptest: 17:23:37.404688 drop table if exists "id_created_test"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.404905 drop table if exists "invoice_test"; [] gorptest: 17:23:37.405054 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.405068 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.405080 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.405092 drop table if exists "person_test"; [] gorptest: 17:23:37.405104 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.405116 drop table if exists "id_created_test"; [] gorptest: 17:23:37.405128 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.405159 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.405172 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.405184 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.405196 drop table if exists "time_test"; [] gorptest: 17:23:37.405214 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.407223 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.408810 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.410429 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.412175 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.413800 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.415415 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.417036 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.418819 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.420564 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.422260 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.423886 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.425492 drop table if exists "invoice_test"; [] gorptest: 17:23:37.427097 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.428718 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.430263 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.431908 drop table if exists "person_test"; [] gorptest: 17:23:37.433474 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.434943 drop table if exists "id_created_test"; [] gorptest: 17:23:37.436494 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.437970 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.439523 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.441160 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.442710 drop table if exists "time_test"; [] gorptest: 17:23:37.444300 drop table if exists "id_created_test"; [] gorptest: 17:23:37.444337 drop table if exists "single_column_table"; [] gorptest: 17:23:37.444359 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.445991 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.449018 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.451326 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.453710 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.455925 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.458224 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.460374 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.463046 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.465473 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.467657 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.470314 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.472449 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:37.472504 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 17:23:37.474708 delete from "invoice_test"; [] gorptest: 17:23:37.476855 delete from "invoice_tag_test"; [] gorptest: 17:23:37.478888 delete from "alias_trans_field_test"; [] gorptest: 17:23:37.480826 delete from "invoice_override_test"; [] gorptest: 17:23:37.482925 delete from "person_test"; [] gorptest: 17:23:37.485096 delete from "ignored_column_test"; [] gorptest: 17:23:37.487173 delete from "id_created_test"; [] gorptest: 17:23:37.489270 delete from "type_conv_test"; [] gorptest: 17:23:37.491354 delete from "embedded_struct_test"; [] gorptest: 17:23:37.493296 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.495473 delete from "embedded_autoincr_test"; [] gorptest: 17:23:37.497472 delete from "time_test"; [] gorptest: 17:23:37.499486 delete from "id_created_test"; [] gorptest: 17:23:37.501381 delete from "single_column_table"; [] gorptest: 17:23:37.503589 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 17:23:37.503676 drop table if exists "invoice_test"; [] gorptest: 17:23:37.505877 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.508260 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.510524 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.512797 drop table if exists "person_test"; [] gorptest: 17:23:37.515002 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.517226 drop table if exists "id_created_test"; [] gorptest: 17:23:37.519248 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.521246 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.523288 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.525280 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.527298 drop table if exists "time_test"; [] gorptest: 17:23:37.529338 drop table if exists "id_created_test"; [] gorptest: 17:23:37.529390 drop table if exists "single_column_table"; [] 2025/03/25 17:23:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:37.531649 drop table if exists "invoice_test"; [] gorptest: 17:23:37.531888 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.531919 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.531938 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.531957 drop table if exists "person_test"; [] gorptest: 17:23:37.531975 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.531994 drop table if exists "id_created_test"; [] gorptest: 17:23:37.532024 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.532044 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.532063 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.532082 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.532100 drop table if exists "time_test"; [] gorptest: 17:23:37.532129 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.534377 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:37.536628 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:37.538787 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:37.541112 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:37.543369 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.545585 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:37.547834 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:37.550171 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:37.552497 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:37.554743 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:37.557085 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:37.559950 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 17:23:37.562104 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 17:23:37.564248 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 17:23:37.566346 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 17:23:37.566473 begin; [] gorptest: 17:23:37.566506 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 17:23:37.566637 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:37.566999 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:37.567095 commit; [] gorptest: 17:23:37.569375 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:37.569492 drop table if exists "invoice_test"; [] gorptest: 17:23:37.571817 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:37.573837 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:37.575765 drop table if exists "invoice_override_test"; [] gorptest: 17:23:37.577635 drop table if exists "person_test"; [] gorptest: 17:23:37.579225 drop table if exists "ignored_column_test"; [] gorptest: 17:23:37.580887 drop table if exists "id_created_test"; [] gorptest: 17:23:37.582333 drop table if exists "type_conv_test"; [] gorptest: 17:23:37.583840 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:37.585454 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:37.587048 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:37.588595 drop table if exists "time_test"; [] gorptest: 17:23:37.590211 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 1.204s gopkg.in/gorp.v1 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.371530 drop table if exists "invoice_test"; [] gorptest: 17:23:38.371862 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.371884 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.371897 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.371910 drop table if exists "person_test"; [] gorptest: 17:23:38.371922 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.371934 drop table if exists "id_created_test"; [] gorptest: 17:23:38.371946 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.371959 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.371971 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.371983 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.371995 drop table if exists "time_test"; [] gorptest: 17:23:38.372018 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.373889 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.375514 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.377166 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.378838 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.380592 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.382203 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.383841 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.385397 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.387382 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.388966 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.390517 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.391996 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.392050 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.392070 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.392087 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.392105 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.392120 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.392135 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.392166 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.392182 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.392198 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.392215 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.392230 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.392248 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:38.392262 drop table if exists "invoice_test"; [] gorptest: 17:23:38.393764 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.395235 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.397105 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.398810 drop table if exists "person_test"; [] gorptest: 17:23:38.400450 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.401977 drop table if exists "id_created_test"; [] gorptest: 17:23:38.403435 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.404960 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.406500 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.408066 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.409561 drop table if exists "time_test"; [] gorptest: 17:23:38.411070 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.411288 drop table if exists "invoice_test"; [] gorptest: 17:23:38.411443 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.411463 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.411476 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.411488 drop table if exists "person_test"; [] gorptest: 17:23:38.411501 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.411513 drop table if exists "id_created_test"; [] gorptest: 17:23:38.411525 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.411537 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.411550 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.411562 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.411574 drop table if exists "time_test"; [] gorptest: 17:23:38.411599 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.413190 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.414742 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.416379 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.418006 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.419580 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.421160 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.422864 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.424531 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.426155 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.427819 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.429506 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.431170 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.431221 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.431241 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.431258 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.431276 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.431292 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.431307 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.431323 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.431338 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.431357 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.431376 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.431392 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.431407 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:38.431469 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923418431422591 2:1742923418431422591 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:38.433054 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 17:23:38.434716 delete from "invoice_test"; [] gorptest: 17:23:38.436223 delete from "invoice_tag_test"; [] gorptest: 17:23:38.437685 delete from "alias_trans_field_test"; [] gorptest: 17:23:38.439216 delete from "invoice_override_test"; [] gorptest: 17:23:38.440821 delete from "person_test"; [] gorptest: 17:23:38.442395 delete from "ignored_column_test"; [] gorptest: 17:23:38.443986 delete from "id_created_test"; [] gorptest: 17:23:38.445518 delete from "type_conv_test"; [] gorptest: 17:23:38.447053 delete from "embedded_struct_test"; [] gorptest: 17:23:38.448548 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.450038 delete from "embedded_autoincr_test"; [] gorptest: 17:23:38.452047 delete from "time_test"; [] gorptest: 17:23:38.453560 delete from "id_created_test"; [] gorptest: 17:23:38.455075 SELECT * FROM person_test [] gorptest: 17:23:38.455202 SELECT * FROM invoice_test [] gorptest: 17:23:38.455248 drop table if exists "invoice_test"; [] gorptest: 17:23:38.456917 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.458460 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.460024 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.461722 drop table if exists "person_test"; [] gorptest: 17:23:38.463330 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.464882 drop table if exists "id_created_test"; [] gorptest: 17:23:38.466356 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.467946 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.469431 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.470948 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.472839 drop table if exists "time_test"; [] gorptest: 17:23:38.474377 drop table if exists "id_created_test"; [] gorptest: 17:23:38.474510 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 17:23:38.476327 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-03-25 17:23:38 +0000 UTC] gorptest: 17:23:38.477848 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 17:23:38.477913 drop table if exists "WithCustomDate"; [] gorptest: 17:23:38.479625 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:38.481383 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:38.483040 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:38.484776 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 17:23:38.486359 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 17:23:38.487983 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 17:23:38.489588 drop table if exists "PersonUInt64"; [] gorptest: 17:23:38.491203 drop table if exists "PersonUInt32"; [] gorptest: 17:23:38.492888 drop table if exists "PersonUInt16"; [] gorptest: 17:23:38.494590 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 17:23:38.496741 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 17:23:38.498388 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 17:23:38.498461 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 17:23:38.498503 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 17:23:38.500099 drop table if exists "UniqueColumns"; [] gorptest: 17:23:38.501925 drop table if exists PersistentUser [] gorptest: 17:23:38.502086 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:38.503770 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:38.505332 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 17:23:38.505397 select * from PersistentUser [] gorptest: 17:23:38.505440 select * from PersistentUser [] gorptest: 17:23:38.505472 select * from PersistentUser [] gorptest: 17:23:38.505500 select Id from PersistentUser [] gorptest: 17:23:38.505522 select mykey from PersistentUser [] gorptest: 17:23:38.505543 select PassedTraining from PersistentUser [] gorptest: 17:23:38.505563 select Id from PersistentUser [] gorptest: 17:23:38.505584 drop table if exists "PersistentUser"; [] gorptest: 17:23:38.507235 drop table if exists PersistentUser [] gorptest: 17:23:38.507391 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:38.509277 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:38.510781 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:38.512310 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:38.512391 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:38.512433 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:38.512474 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 17:23:38.512518 drop table if exists "PersistentUser"; [] gorptest: 17:23:38.514173 drop table if exists PersistentUser [] gorptest: 17:23:38.514398 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:38.516023 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:38.517727 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:38.519234 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:38.519326 drop table if exists "PersistentUser"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.521430 drop table if exists "invoice_test"; [] gorptest: 17:23:38.521563 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.521578 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.521591 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.521603 drop table if exists "person_test"; [] gorptest: 17:23:38.521615 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.521628 drop table if exists "id_created_test"; [] gorptest: 17:23:38.521640 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.521652 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.521676 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.521689 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.521701 drop table if exists "time_test"; [] gorptest: 17:23:38.521724 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.523399 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.525054 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.526844 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.528502 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.530122 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.531809 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.533418 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.535072 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.536684 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.538451 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.540069 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.541720 select * from invoice_test where id=99999 [] gorptest: 17:23:38.541795 select * from invoice_test where id=99999 [] gorptest: 17:23:38.541834 drop table if exists "invoice_test"; [] gorptest: 17:23:38.543397 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.544927 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.546679 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.548400 drop table if exists "person_test"; [] gorptest: 17:23:38.549957 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.551721 drop table if exists "id_created_test"; [] gorptest: 17:23:38.553287 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.554887 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.556657 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.558595 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.560169 drop table if exists "time_test"; [] gorptest: 17:23:38.561860 drop table if exists "id_created_test"; [] gorptest: 17:23:38.561980 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 17:23:38.563727 update "InvoicePersonView" set "InvoiceId"=?, "PersonId"=?, "Memo"=?, "FName"=?, "LegacyVersion"=? where "InvoiceId"=? and "PersonId"=? and "LegacyVersion"=?; [1:1 2:2 3:"memo" 4:"fname" 5:1 6:1 7:2 8:1] gorptest: 17:23:38.563802 drop table if exists "InvoicePersonView"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.565543 drop table if exists "invoice_test"; [] gorptest: 17:23:38.565688 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.565703 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.565715 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.565727 drop table if exists "person_test"; [] gorptest: 17:23:38.565740 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.565752 drop table if exists "id_created_test"; [] gorptest: 17:23:38.565764 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.565776 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.565788 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.565800 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.565812 drop table if exists "time_test"; [] gorptest: 17:23:38.565830 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.567514 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.569243 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.571117 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.572848 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.574500 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.576100 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.577722 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.579327 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.581164 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.582925 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.584609 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.586250 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923418586236507 2:1742923418586236507 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:38.587960 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:38.588053 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923418586236507 2:1742923418586236507 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 17:23:38.589620 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923418586236507 2:1742923418586236507 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 17:23:38.589687 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:38.589767 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 17:23:38.589797 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:38.589827 drop table if exists "invoice_test"; [] gorptest: 17:23:38.591489 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.593135 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.594676 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.596319 drop table if exists "person_test"; [] gorptest: 17:23:38.597904 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.599597 drop table if exists "id_created_test"; [] gorptest: 17:23:38.601175 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.602648 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.604216 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.606011 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.607490 drop table if exists "time_test"; [] gorptest: 17:23:38.609010 drop table if exists "id_created_test"; [] gorptest: 17:23:38.609151 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:38.610853 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 17:23:38.612329 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:38.612423 update "TableWithNull" set "Id"=?, "Str"=?, "Int64"=?, "Float64"=?, "Bool"=?, "Bytes"=? where "Id"=?; [1:10 2:"hi" 3:999 4:53.33 5:true 6:[1 30 31 33] 7:10] gorptest: 17:23:38.613903 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:38.613971 drop table if exists "TableWithNull"; [] gorptest: 17:23:38.615584 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 17:23:38.617967 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 17:23:38.619638 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 17:23:38.619713 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 17:23:38.619755 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 17:23:38.619782 drop table if exists "Invoice"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.621621 drop table if exists "invoice_test"; [] gorptest: 17:23:38.621767 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.621782 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.621795 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.621807 drop table if exists "person_test"; [] gorptest: 17:23:38.621819 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.621832 drop table if exists "id_created_test"; [] gorptest: 17:23:38.621847 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.621860 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.621872 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.621884 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.621896 drop table if exists "time_test"; [] gorptest: 17:23:38.621914 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.623529 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.625189 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.626773 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.628687 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.630296 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.631917 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.633698 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.635338 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.636971 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.638606 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.640304 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.641943 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923418641930656 2:1742923418641930656 3:"bob" 4:"smith" 5:1] gorptest: 17:23:38.643516 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 17:23:38.645136 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:38.645255 drop table if exists "invoice_test"; [] gorptest: 17:23:38.646874 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.648375 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.649886 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.651540 drop table if exists "person_test"; [] gorptest: 17:23:38.653611 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.655114 drop table if exists "id_created_test"; [] gorptest: 17:23:38.656719 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.658310 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.659803 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.661334 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.662831 drop table if exists "time_test"; [] gorptest: 17:23:38.664324 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.664497 drop table if exists "invoice_test"; [] gorptest: 17:23:38.664629 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.664648 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.664670 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.664683 drop table if exists "person_test"; [] gorptest: 17:23:38.664696 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.664708 drop table if exists "id_created_test"; [] gorptest: 17:23:38.664721 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.664733 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.664745 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.664757 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.664770 drop table if exists "time_test"; [] gorptest: 17:23:38.664787 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.666394 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.668408 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.670026 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.671751 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.673397 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.675012 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.676632 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.678273 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.679892 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.681616 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.683255 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.684934 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923418684921469 2:1742923418684921469 3:"bob" 4:"smith" 5:1] gorptest: 17:23:38.686563 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:38.686637 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923418684921469 2:1742923418684921469 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 17:23:38.688016 select * from person_test where id = ? [1:1] gorptest: 17:23:38.688099 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 17:23:38.689511 drop table if exists "invoice_test"; [] gorptest: 17:23:38.691028 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.692570 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.694033 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.695614 drop table if exists "person_test"; [] gorptest: 17:23:38.697158 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.698544 drop table if exists "id_created_test"; [] gorptest: 17:23:38.700001 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.701489 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.702886 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.704326 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.705813 drop table if exists "time_test"; [] gorptest: 17:23:38.707236 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.707392 drop table if exists "invoice_test"; [] gorptest: 17:23:38.707543 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.707570 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.707583 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.707596 drop table if exists "person_test"; [] gorptest: 17:23:38.707608 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.707620 drop table if exists "id_created_test"; [] gorptest: 17:23:38.707632 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.707644 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.707656 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.707678 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.707690 drop table if exists "time_test"; [] gorptest: 17:23:38.707708 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.709320 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.710887 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.712418 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.714116 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.715745 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.717314 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.718847 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.720868 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.722519 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.724057 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.725639 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.727320 begin; [] gorptest: 17:23:38.727384 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 17:23:38.727511 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 17:23:38.727537 commit; [] gorptest: 17:23:38.728914 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:38.728983 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:38.729015 drop table if exists "invoice_test"; [] gorptest: 17:23:38.730598 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.732060 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.733543 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.735167 drop table if exists "person_test"; [] gorptest: 17:23:38.736672 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.738370 drop table if exists "id_created_test"; [] gorptest: 17:23:38.739862 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.741357 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.742839 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.744419 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.746080 drop table if exists "time_test"; [] gorptest: 17:23:38.747601 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.747761 drop table if exists "invoice_test"; [] gorptest: 17:23:38.747892 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.747916 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.747930 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.747943 drop table if exists "person_test"; [] gorptest: 17:23:38.747955 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.747967 drop table if exists "id_created_test"; [] gorptest: 17:23:38.747980 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.747992 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.748004 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.748018 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.748031 drop table if exists "time_test"; [] gorptest: 17:23:38.748049 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.749903 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.751572 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.753225 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.754986 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.756764 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.758455 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.760438 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.762121 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.763851 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.765505 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.767168 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.768778 begin; [] gorptest: 17:23:38.768819 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 17:23:38.768929 select memo from invoice_test [] gorptest: 17:23:38.768956 savepoint "foo" [1:] gorptest: 17:23:38.768963 select memo from invoice_test [] gorptest: 17:23:38.769007 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 17:23:38.769036 select memo from invoice_test [] gorptest: 17:23:38.769050 rollback to savepoint "foo" [1:] gorptest: 17:23:38.769059 select memo from invoice_test [] gorptest: 17:23:38.769079 rollback; [] gorptest: 17:23:38.769164 drop table if exists "invoice_test"; [] gorptest: 17:23:38.770702 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.772312 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.773917 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.775564 drop table if exists "person_test"; [] gorptest: 17:23:38.777175 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.778743 drop table if exists "id_created_test"; [] gorptest: 17:23:38.780388 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.781957 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.783504 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.785048 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.786673 drop table if exists "time_test"; [] gorptest: 17:23:38.788290 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.788455 drop table if exists "invoice_test"; [] gorptest: 17:23:38.788588 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.788607 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.788619 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.788632 drop table if exists "person_test"; [] gorptest: 17:23:38.788644 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.788656 drop table if exists "id_created_test"; [] gorptest: 17:23:38.788678 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.788690 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.788702 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.788721 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.788735 drop table if exists "time_test"; [] gorptest: 17:23:38.788754 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.790428 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.792044 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.793633 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.795289 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.797039 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.798685 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.800311 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.801950 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.803593 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.805219 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.806816 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.808518 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 17:23:38.810060 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 17:23:38.811584 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 17:23:38.813109 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 17:23:38.815175 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:38.816755 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:38.818258 drop table if exists "invoice_test"; [] gorptest: 17:23:38.819813 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.821303 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.822815 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.824758 drop table if exists "person_test"; [] gorptest: 17:23:38.826262 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.827770 drop table if exists "id_created_test"; [] gorptest: 17:23:38.829265 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.830724 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.832234 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.833764 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.835252 drop table if exists "time_test"; [] gorptest: 17:23:38.836831 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.836993 drop table if exists "invoice_test"; [] gorptest: 17:23:38.837166 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.837191 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.837205 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.837217 drop table if exists "person_test"; [] gorptest: 17:23:38.837229 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.837241 drop table if exists "id_created_test"; [] gorptest: 17:23:38.837253 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.837265 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.837277 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.837289 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.837301 drop table if exists "time_test"; [] gorptest: 17:23:38.837324 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.838910 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.840440 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.842047 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.843733 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.845413 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.847041 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.848591 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.850283 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.851947 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.853598 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.855210 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.856802 delete from invoice_test [] gorptest: 17:23:38.858386 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 17:23:38.859933 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:38.860019 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:6631956993826397814 2:6365083433749396506 3:"random 1806676461102194119" 4:0 5:true 6:1] gorptest: 17:23:38.861482 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:38.861546 select * from invoice_test [] gorptest: 17:23:38.861599 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:38.863038 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:38.863089 delete from invoice_tag_test [] gorptest: 17:23:38.864625 insert into "invoice_tag_test" ("myid","myCreated","date_updated","Memo","person_id","is_Paid") values (null,?,?,?,?,?); [1:300 2:400 3:"some order" 4:33 5:false] gorptest: 17:23:38.866271 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:38.866350 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:1275713451063534973 2:2341983957781240808 3:"random 3484737105408338762" 4:33 5:false 6:1] gorptest: 17:23:38.867803 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:38.867867 select * from invoice_tag_test [] gorptest: 17:23:38.867922 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:38.869405 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:38.869458 delete from alias_trans_field_test [] gorptest: 17:23:38.870875 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 17:23:38.872462 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:38.872525 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 769736100899394163" 2:1] gorptest: 17:23:38.873984 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:38.874039 select * from alias_trans_field_test [] gorptest: 17:23:38.874087 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:38.875607 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:38.875656 drop table if exists "invoice_test"; [] gorptest: 17:23:38.877250 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.878856 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.880435 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.882028 drop table if exists "person_test"; [] gorptest: 17:23:38.883546 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.885161 drop table if exists "id_created_test"; [] gorptest: 17:23:38.886720 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.888222 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.889742 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.891259 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.892741 drop table if exists "time_test"; [] gorptest: 17:23:38.894246 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.894404 drop table if exists "invoice_test"; [] gorptest: 17:23:38.894542 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.894561 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.894573 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.894586 drop table if exists "person_test"; [] gorptest: 17:23:38.894598 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.894610 drop table if exists "id_created_test"; [] gorptest: 17:23:38.894622 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.894634 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.894646 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.894658 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.894679 drop table if exists "time_test"; [] gorptest: 17:23:38.894697 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.896279 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.897841 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.899512 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.901263 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.902854 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.904409 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.905971 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.907642 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.909713 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.911339 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.912980 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.914562 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 17:23:38.916087 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:38.916166 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:38.917579 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:38.917629 drop table if exists "invoice_test"; [] gorptest: 17:23:38.919361 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.920868 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.922261 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.923758 drop table if exists "person_test"; [] gorptest: 17:23:38.925308 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.926862 drop table if exists "id_created_test"; [] gorptest: 17:23:38.928319 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.929790 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.931240 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.932769 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.934313 drop table if exists "time_test"; [] gorptest: 17:23:38.935809 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.935959 drop table if exists "invoice_test"; [] gorptest: 17:23:38.936096 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.936115 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.936127 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.936162 drop table if exists "person_test"; [] gorptest: 17:23:38.936176 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.936188 drop table if exists "id_created_test"; [] gorptest: 17:23:38.936201 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.936213 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.936225 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.936237 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.936249 drop table if exists "time_test"; [] gorptest: 17:23:38.936266 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.937862 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.939441 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.941042 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.942676 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.944314 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.945962 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.947561 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.949227 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.950926 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.952562 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.954209 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.955905 insert into "type_conv_test" ("Id","PersonJSON","Name") values (null,?,?); [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Bob\",\"LName\":\"Smith\",\"Version\":0}" 2:"hi"] gorptest: 17:23:38.957415 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:38.957499 update "type_conv_test" set "PersonJSON"=?, "Name"=? where "Id"=?; [1:"{\"Id\":0,\"Created\":0,\"Updated\":0,\"FName\":\"Jane\",\"LName\":\"Doe\",\"Version\":0}" 2:"hi2" 3:1] gorptest: 17:23:38.958950 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:38.959025 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:38.960537 drop table if exists "invoice_test"; [] gorptest: 17:23:38.962090 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.963609 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.965533 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.967148 drop table if exists "person_test"; [] gorptest: 17:23:38.968723 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.970232 drop table if exists "id_created_test"; [] gorptest: 17:23:38.971836 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.973676 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.975217 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.976740 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.978226 drop table if exists "time_test"; [] gorptest: 17:23:38.979765 drop table if exists "id_created_test"; [] 2025/03/25 17:23:38 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:38.979934 drop table if exists "invoice_test"; [] gorptest: 17:23:38.980077 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:38.980096 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:38.980109 drop table if exists "invoice_override_test"; [] gorptest: 17:23:38.980121 drop table if exists "person_test"; [] gorptest: 17:23:38.980133 drop table if exists "ignored_column_test"; [] gorptest: 17:23:38.980165 drop table if exists "id_created_test"; [] gorptest: 17:23:38.980179 drop table if exists "type_conv_test"; [] gorptest: 17:23:38.980191 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:38.980203 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:38.980219 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:38.980234 drop table if exists "time_test"; [] gorptest: 17:23:38.980253 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.981877 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:38.983470 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:38.985425 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:38.987077 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:38.988636 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.990154 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:38.991682 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:38.993252 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:38.994790 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:38.996350 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:38.997874 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:38.999419 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 17:23:39.001000 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:39.001068 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 17:23:39.002535 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:39.002592 select * from embedded_struct_test [] gorptest: 17:23:39.002633 drop table if exists "invoice_test"; [] gorptest: 17:23:39.004382 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.005904 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.007332 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.008834 drop table if exists "person_test"; [] gorptest: 17:23:39.010269 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.011787 drop table if exists "id_created_test"; [] gorptest: 17:23:39.013207 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.014610 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.016249 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.017694 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.019231 drop table if exists "time_test"; [] gorptest: 17:23:39.020754 drop table if exists "id_created_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.020922 drop table if exists "invoice_test"; [] gorptest: 17:23:39.021059 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.021078 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.021091 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.021103 drop table if exists "person_test"; [] gorptest: 17:23:39.021115 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.021127 drop table if exists "id_created_test"; [] gorptest: 17:23:39.021153 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.021168 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.021186 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.021199 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.021211 drop table if exists "time_test"; [] gorptest: 17:23:39.021228 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.022771 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.024374 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.026336 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.028010 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.029585 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.031136 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.033035 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.034612 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.036177 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.037729 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.039403 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.041005 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 17:23:39.042522 drop table if exists "invoice_test"; [] gorptest: 17:23:39.044118 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.045670 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.047311 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.048984 drop table if exists "person_test"; [] gorptest: 17:23:39.050530 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.052107 drop table if exists "id_created_test"; [] gorptest: 17:23:39.053652 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.055202 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.056739 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.058387 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.059940 drop table if exists "time_test"; [] gorptest: 17:23:39.061944 drop table if exists "id_created_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.062108 drop table if exists "invoice_test"; [] gorptest: 17:23:39.062264 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.062283 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.062296 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.062308 drop table if exists "person_test"; [] gorptest: 17:23:39.062320 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.062332 drop table if exists "id_created_test"; [] gorptest: 17:23:39.062344 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.062357 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.062369 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.062381 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.062393 drop table if exists "time_test"; [] gorptest: 17:23:39.062410 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.064056 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.065713 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.067391 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.069103 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.070757 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.072346 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.073900 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.075485 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.077056 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.078593 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.080162 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.081729 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 17:23:39.083248 drop table if exists "invoice_test"; [] gorptest: 17:23:39.084707 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.086180 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.087679 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.089302 drop table if exists "person_test"; [] gorptest: 17:23:39.090768 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.092244 drop table if exists "id_created_test"; [] gorptest: 17:23:39.093746 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.095189 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.096747 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.098278 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.099907 drop table if exists "time_test"; [] gorptest: 17:23:39.101386 drop table if exists "id_created_test"; [] gorptest: 17:23:39.101536 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:39.103265 insert into "TableWithNull" ("Id","Str","Int64","Float64","Bool","Bytes") values (?,?,?,?,?,?); [1:0 2:"abc" 3:78 4:32.2 5:true 6:[104 105]] gorptest: 17:23:39.104718 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:39.104777 select count(*) from TableWithNull [] gorptest: 17:23:39.104834 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:39.104864 select Int64 from TableWithNull where Str='notfound' [] gorptest: 17:23:39.104886 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:39.104908 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:39.104927 select min(Float64) from TableWithNull [] gorptest: 17:23:39.104952 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:39.104976 select Float64 from TableWithNull where Str='notfound' [] gorptest: 17:23:39.104994 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:39.105015 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:39.105037 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:39.105064 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:39.105085 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:39.105112 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 17:23:39.105136 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:39.105179 drop table if exists "TableWithNull"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.106833 drop table if exists "invoice_test"; [] gorptest: 17:23:39.106981 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.107000 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.107013 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.107025 drop table if exists "person_test"; [] gorptest: 17:23:39.107044 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.107057 drop table if exists "id_created_test"; [] gorptest: 17:23:39.107069 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.107081 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.107093 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.107105 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.107117 drop table if exists "time_test"; [] gorptest: 17:23:39.107134 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.108777 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.110352 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.111900 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.113639 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.115283 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.116905 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.118546 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.120179 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.121867 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.123483 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.125602 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.127215 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419127201337 2:1742923419127201337 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:39.128875 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419128864858 2:1742923419128864858 3:"Jane" 4:"Smith" 5:1] gorptest: 17:23:39.130465 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419130455642 2:1742923419130455642 3:"Mike" 4:"Smith" 5:1] gorptest: 17:23:39.132067 drop table if exists "invoice_test"; [] gorptest: 17:23:39.133582 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.135017 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.136510 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.138072 drop table if exists "person_test"; [] gorptest: 17:23:39.139782 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.141404 drop table if exists "id_created_test"; [] gorptest: 17:23:39.143212 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.144718 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.146218 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.148033 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.149561 drop table if exists "time_test"; [] gorptest: 17:23:39.151382 drop table if exists "id_created_test"; [] gorptest: 17:23:39.151501 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 17:23:39.153440 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 17:23:39.155120 drop table if exists "string_pk_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.156975 drop table if exists "invoice_test"; [] gorptest: 17:23:39.157122 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.157153 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.157168 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.157181 drop table if exists "person_test"; [] gorptest: 17:23:39.157193 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.157205 drop table if exists "id_created_test"; [] gorptest: 17:23:39.157222 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.157235 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.157247 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.157259 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.157271 drop table if exists "time_test"; [] gorptest: 17:23:39.157289 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.159002 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.160751 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.162562 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.164450 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.166135 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.167880 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.169408 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.171235 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.172890 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.174672 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.176359 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.178044 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:52:39.178030051 +0000 UTC] gorptest: 17:23:39.179761 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:53:40.178030051 +0000 UTC] gorptest: 17:23:39.181323 SELECT id FROM time_test WHERE Time < ? [1:2025-03-25 16:53:39.178030051 +0000 UTC] gorptest: 17:23:39.181401 drop table if exists "invoice_test"; [] gorptest: 17:23:39.182997 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.184658 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.186247 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.187837 drop table if exists "person_test"; [] gorptest: 17:23:39.189718 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.191406 drop table if exists "id_created_test"; [] gorptest: 17:23:39.193040 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.194804 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.196536 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.198290 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.199887 drop table if exists "time_test"; [] gorptest: 17:23:39.201687 drop table if exists "id_created_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.201846 drop table if exists "invoice_test"; [] gorptest: 17:23:39.201983 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.201997 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.202010 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.202022 drop table if exists "person_test"; [] gorptest: 17:23:39.202034 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.202046 drop table if exists "id_created_test"; [] gorptest: 17:23:39.202058 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.202070 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.202083 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.202095 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.202107 drop table if exists "time_test"; [] gorptest: 17:23:39.202125 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.203745 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.205456 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.207170 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.208880 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.210554 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.212232 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.213841 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.215614 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.217319 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.218920 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.220716 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.222521 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419222507227 2:1742923419222507227 3:"bob" 4:"smith" 5:1] gorptest: 17:23:39.224226 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 17:23:39.225948 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:39.226037 drop table if exists "invoice_test"; [] gorptest: 17:23:39.227763 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.229461 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.231242 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.232938 drop table if exists "person_test"; [] gorptest: 17:23:39.234747 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.236572 drop table if exists "id_created_test"; [] gorptest: 17:23:39.238264 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.240035 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.241913 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.243498 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.245080 drop table if exists "time_test"; [] gorptest: 17:23:39.246922 drop table if exists "id_created_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.247072 drop table if exists "invoice_test"; [] gorptest: 17:23:39.247251 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.247272 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.247285 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.247297 drop table if exists "person_test"; [] gorptest: 17:23:39.247309 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.247325 drop table if exists "id_created_test"; [] gorptest: 17:23:39.247338 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.247350 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.247362 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.247374 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.247386 drop table if exists "time_test"; [] gorptest: 17:23:39.247414 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.249288 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.251173 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.253004 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.254903 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.256677 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.258527 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.260345 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.262112 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.263931 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.265858 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.267674 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.292277 drop table if exists "invoice_test"; [] gorptest: 17:23:39.292417 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.292431 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.292443 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.292456 drop table if exists "person_test"; [] gorptest: 17:23:39.292468 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.292481 drop table if exists "id_created_test"; [] gorptest: 17:23:39.292493 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.292505 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.292517 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.292529 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.292541 drop table if exists "time_test"; [] gorptest: 17:23:39.292558 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.294395 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.296196 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.298056 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.300037 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.301986 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.303732 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.305576 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.307299 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.309178 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.310804 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.312691 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.314703 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419314689059 2:1742923419314689059 3:"bob" 4:"smith" 5:1] gorptest: 17:23:39.316347 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419316338298 2:1742923419316338298 3:"jane" 4:"doe" 5:1] gorptest: 17:23:39.318063 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:39.318131 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 17:23:39.318190 select * from person_test where Id=? [1:1] gorptest: 17:23:39.318255 select * from person_test order by fname asc [] gorptest: 17:23:39.318316 drop table if exists "invoice_test"; [] gorptest: 17:23:39.319897 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.321503 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.323094 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.324745 drop table if exists "person_test"; [] gorptest: 17:23:39.326345 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.327850 drop table if exists "id_created_test"; [] gorptest: 17:23:39.329351 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.330790 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.332278 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.333837 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.335300 drop table if exists "time_test"; [] gorptest: 17:23:39.336770 drop table if exists "id_created_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.336933 drop table if exists "invoice_test"; [] gorptest: 17:23:39.337071 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.337091 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.337104 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.337116 drop table if exists "person_test"; [] gorptest: 17:23:39.337128 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.337154 drop table if exists "id_created_test"; [] gorptest: 17:23:39.337169 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.337182 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.337194 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.337207 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.337219 drop table if exists "time_test"; [] gorptest: 17:23:39.337236 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.338797 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.340367 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.342019 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.343831 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.345896 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.347719 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.349624 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.351321 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.353079 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.354761 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.356516 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.358183 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419358169303 2:1742923419358169303 3:"bob" 4:"smith" 5:1] gorptest: 17:23:39.359879 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:39.359954 select * from person_test where Id=? [1:1] gorptest: 17:23:39.360016 select FName from person_test where Id=? [1:1] gorptest: 17:23:39.360043 select * from person_test where Id=? [1:1] gorptest: 17:23:39.360091 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 17:23:39.360129 select * from person_test where Id=? [1:-2222] gorptest: 17:23:39.360181 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923419360174862 2:1742923419360174862 3:"bob" 4:"smith" 5:1] gorptest: 17:23:39.361795 select * from person_test where Fname='bob' [] gorptest: 17:23:39.361882 select * from person_test where Id=-123 [] gorptest: 17:23:39.361908 select * from person_test where Id=-123 [] gorptest: 17:23:39.361928 select * from person_test where Id=-123 [] gorptest: 17:23:39.361946 select * from person_test where Id=-123 [] gorptest: 17:23:39.361976 drop table if exists "invoice_test"; [] gorptest: 17:23:39.363720 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.365225 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.366734 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.368315 drop table if exists "person_test"; [] gorptest: 17:23:39.369909 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.371391 drop table if exists "id_created_test"; [] gorptest: 17:23:39.372898 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.374431 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.376376 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.378208 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.380011 drop table if exists "time_test"; [] gorptest: 17:23:39.381902 drop table if exists "id_created_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.382074 drop table if exists "invoice_test"; [] gorptest: 17:23:39.382233 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.382256 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.382269 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.382282 drop table if exists "person_test"; [] gorptest: 17:23:39.382294 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.382306 drop table if exists "id_created_test"; [] gorptest: 17:23:39.382318 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.382330 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.382343 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.382355 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.382367 drop table if exists "time_test"; [] gorptest: 17:23:39.382390 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.384209 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.385917 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.387642 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.389510 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.391423 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.393080 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.394707 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.396330 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.397982 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.399710 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.401862 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.403669 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 17:23:39.405494 select * from id_created_test where Id=1 [] gorptest: 17:23:39.405566 SELECT *, 1 AS external FROM id_created_test [] gorptest: 17:23:39.405614 drop table if exists "invoice_test"; [] gorptest: 17:23:39.407528 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.409097 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.410703 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.412372 drop table if exists "person_test"; [] gorptest: 17:23:39.414003 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.415716 drop table if exists "id_created_test"; [] gorptest: 17:23:39.417434 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.419048 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.420668 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.422263 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.423859 drop table if exists "time_test"; [] gorptest: 17:23:39.425716 drop table if exists "id_created_test"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.425909 drop table if exists "invoice_test"; [] gorptest: 17:23:39.426039 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.426057 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.426070 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.426083 drop table if exists "person_test"; [] gorptest: 17:23:39.426095 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.426107 drop table if exists "id_created_test"; [] gorptest: 17:23:39.426119 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.426131 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.426159 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.426172 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.426185 drop table if exists "time_test"; [] gorptest: 17:23:39.426203 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.427903 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.430967 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.432868 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.434804 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.436619 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.438432 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.440223 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.442034 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.443832 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.445648 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.447368 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.449162 drop table if exists "invoice_test"; [] gorptest: 17:23:39.451017 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.452816 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.454530 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.456348 drop table if exists "person_test"; [] gorptest: 17:23:39.458356 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.460024 drop table if exists "id_created_test"; [] gorptest: 17:23:39.461588 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.463193 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.464678 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.466241 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.467795 drop table if exists "time_test"; [] gorptest: 17:23:39.469350 drop table if exists "id_created_test"; [] gorptest: 17:23:39.469386 drop table if exists "single_column_table"; [] gorptest: 17:23:39.469408 create table if not exists "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.470964 create table if not exists "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.472634 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.474289 create table if not exists "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.476039 create table if not exists "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.477733 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.479398 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.481131 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.483015 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.484765 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.486546 create table if not exists "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.488223 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.489808 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:39.489849 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 17:23:39.491715 delete from "invoice_test"; [] gorptest: 17:23:39.493383 delete from "invoice_tag_test"; [] gorptest: 17:23:39.495029 delete from "alias_trans_field_test"; [] gorptest: 17:23:39.496657 delete from "invoice_override_test"; [] gorptest: 17:23:39.498382 delete from "person_test"; [] gorptest: 17:23:39.500077 delete from "ignored_column_test"; [] gorptest: 17:23:39.502053 delete from "id_created_test"; [] gorptest: 17:23:39.503587 delete from "type_conv_test"; [] gorptest: 17:23:39.505189 delete from "embedded_struct_test"; [] gorptest: 17:23:39.506717 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.508130 delete from "embedded_autoincr_test"; [] gorptest: 17:23:39.509600 delete from "time_test"; [] gorptest: 17:23:39.511188 delete from "id_created_test"; [] gorptest: 17:23:39.512798 delete from "single_column_table"; [] gorptest: 17:23:39.514465 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 17:23:39.514526 drop table if exists "invoice_test"; [] gorptest: 17:23:39.516221 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.517873 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.519484 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.521272 drop table if exists "person_test"; [] gorptest: 17:23:39.522945 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.524627 drop table if exists "id_created_test"; [] gorptest: 17:23:39.526345 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.528121 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.529836 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.531537 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.533508 drop table if exists "time_test"; [] gorptest: 17:23:39.535243 drop table if exists "id_created_test"; [] gorptest: 17:23:39.535282 drop table if exists "single_column_table"; [] 2025/03/25 17:23:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:39.537419 drop table if exists "invoice_test"; [] gorptest: 17:23:39.537580 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.537596 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.537608 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.537621 drop table if exists "person_test"; [] gorptest: 17:23:39.537633 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.537646 drop table if exists "id_created_test"; [] gorptest: 17:23:39.537658 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.537681 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.537693 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.537706 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.537718 drop table if exists "time_test"; [] gorptest: 17:23:39.537736 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.539658 create table "invoice_tag_test" ("myid" integer not null primary key autoincrement, "myCreated" integer, "date_updated" integer, "Memo" varchar(255), "person_id" integer, "is_Paid" integer) ; [] gorptest: 17:23:39.541461 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:39.543177 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:39.544891 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:39.546572 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.548390 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:39.550122 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:39.551774 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:39.553523 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:39.555274 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:39.557013 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:39.559318 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 17:23:39.561093 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 17:23:39.562719 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 17:23:39.564533 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 17:23:39.564627 begin; [] gorptest: 17:23:39.564649 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 17:23:39.564753 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:39.565107 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:39.565272 commit; [] gorptest: 17:23:39.566859 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:39.566982 drop table if exists "invoice_test"; [] gorptest: 17:23:39.568876 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:39.570553 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:39.572347 drop table if exists "invoice_override_test"; [] gorptest: 17:23:39.574573 drop table if exists "person_test"; [] gorptest: 17:23:39.576197 drop table if exists "ignored_column_test"; [] gorptest: 17:23:39.577916 drop table if exists "id_created_test"; [] gorptest: 17:23:39.579896 drop table if exists "type_conv_test"; [] gorptest: 17:23:39.581548 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:39.583128 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:39.584709 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:39.586323 drop table if exists "time_test"; [] gorptest: 17:23:39.587945 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 1.221s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-12.fc43.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q8th7J + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/doc/golang-gopkg-gorp-1-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/README.md /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.s8p5kH + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/licenses/golang-gopkg-gorp-1-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/LICENSE /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/licenses/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(gopkg.in/gorp.v1) = 1.7.2-12.fc43 golang-gopkg-gorp-1-devel = 1.7.2-12.fc43 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-12.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Processing files: compat-golang-github-gorp-1-devel-1.7.2-12.fc43.noarch grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: compat-golang-github-gorp-1-devel = 1.7.2-12.fc43 golang(github.com/go-gorp/gorp/v1) = 1.7.2-12.fc43 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-12.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang-ipath(gopkg.in/gorp.v1) = 1.7.2-12.fc43 Obsoletes: golang-github-gorp-1-devel < 1.7.2-12.fc43 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT Wrote: /builddir/build/RPMS/compat-golang-github-gorp-1-devel-1.7.2-12.fc43.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-12.fc43.noarch.rpm Child return code was: 0