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 ppc64le --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f43-build-58263846-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.byj5wxm2:/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.byj5wxm2:/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', 'acb51939e33b4d39807bab140b8a60b7', '-D', '/var/lib/mock/f43-build-58263846-6563725/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byj5wxm2:/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 ppc64le --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: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f43-build-58263846-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.byj5wxm2:/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.byj5wxm2:/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', '9569661112d34e32a9d235254725a645', '-D', '/var/lib/mock/f43-build-58263846-6563725/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.byj5wxm2:/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 ppc64le --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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1737072000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.fvJz9f Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zEZRDJ + 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.6pUsJ1 + 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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /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.zX0WxU + 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:24: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:24:38.234670 drop table if exists "invoice_test"; [] gorptest: 17:24:38.235256 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.235291 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.235323 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.235354 drop table if exists "person_test"; [] gorptest: 17:24:38.235385 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.235415 drop table if exists "id_created_test"; [] gorptest: 17:24:38.235444 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.235474 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.235504 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.235534 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.235565 drop table if exists "time_test"; [] gorptest: 17:24:38.235609 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:38.240202 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:24:38.243880 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:38.247684 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:24:38.251477 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:24:38.255136 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.258966 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.262643 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:38.266350 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:38.270085 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:38.273742 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:38.277476 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:38.281243 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:24:38.281331 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:24:38.281376 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:38.281418 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:24:38.281461 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:24:38.281500 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.281537 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.281577 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:38.281616 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:38.281656 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:24:38.281697 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:24:38.281734 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:38.281771 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:24:38.281806 drop table if exists "invoice_test"; [] gorptest: 17:24:38.285719 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.290807 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.294660 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.298878 drop table if exists "person_test"; [] gorptest: 17:24:38.302789 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.306801 drop table if exists "id_created_test"; [] gorptest: 17:24:38.310781 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.314546 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.320892 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.325861 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.332537 drop table if exists "time_test"; [] gorptest: 17:24:38.338967 drop table if exists "id_created_test"; [] 2025/03/25 17:24: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:24:38.339323 drop table if exists "invoice_test"; [] gorptest: 17:24:38.339610 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.339669 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.339861 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.339977 drop table if exists "person_test"; [] gorptest: 17:24:38.340060 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.340112 drop table if exists "id_created_test"; [] gorptest: 17:24:38.340164 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.340216 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.340269 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.340320 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.340371 drop table if exists "time_test"; [] gorptest: 17:24:38.340440 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:38.345590 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:24:38.357859 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:38.368514 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:24:38.376790 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:24:38.384753 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.389830 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.397737 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:38.404409 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:38.409731 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:38.429749 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:38.446884 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:38.451554 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:24:38.451684 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:24:38.451756 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:38.451961 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:24:38.452032 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:24:38.452093 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.452153 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.452220 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:38.452283 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:38.452345 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:24:38.452409 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:24:38.452470 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:38.452531 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:24:38.452680 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923478452592334 2:1742923478452592334 3:"Bob" 4:"Smith" 5:1] gorptest: 17:24:38.456949 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:24:38.461314 delete from "invoice_test"; [] gorptest: 17:24:38.465494 delete from "invoice_tag_test"; [] gorptest: 17:24:38.469675 delete from "alias_trans_field_test"; [] gorptest: 17:24:38.474011 delete from "invoice_override_test"; [] gorptest: 17:24:38.478684 delete from "person_test"; [] gorptest: 17:24:38.483259 delete from "ignored_column_test"; [] gorptest: 17:24:38.487786 delete from "id_created_test"; [] gorptest: 17:24:38.492281 delete from "type_conv_test"; [] gorptest: 17:24:38.496925 delete from "embedded_struct_test"; [] gorptest: 17:24:38.502307 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.506750 delete from "embedded_autoincr_test"; [] gorptest: 17:24:38.511173 delete from "time_test"; [] gorptest: 17:24:38.515354 delete from "id_created_test"; [] gorptest: 17:24:38.519936 SELECT * FROM person_test [] gorptest: 17:24:38.520405 SELECT * FROM invoice_test [] gorptest: 17:24:38.520540 drop table if exists "invoice_test"; [] gorptest: 17:24:38.524376 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.527992 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.531619 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.535215 drop table if exists "person_test"; [] gorptest: 17:24:38.538846 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.542814 drop table if exists "id_created_test"; [] gorptest: 17:24:38.546857 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.550569 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.554674 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.557999 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.561097 drop table if exists "time_test"; [] gorptest: 17:24:38.564217 drop table if exists "id_created_test"; [] gorptest: 17:24:38.564418 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 17:24:38.568814 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-03-25 17:24:38 +0000 UTC] gorptest: 17:24:38.572288 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 17:24:38.572377 drop table if exists "WithCustomDate"; [] gorptest: 17:24:38.576546 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:24:38.581107 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:24:38.584870 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:24:38.588499 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 17:24:38.591877 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 17:24:38.596041 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 17:24:38.599696 drop table if exists "PersonUInt64"; [] gorptest: 17:24:38.603404 drop table if exists "PersonUInt32"; [] gorptest: 17:24:38.607564 drop table if exists "PersonUInt16"; [] gorptest: 17:24:38.611848 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:24:38.615672 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 17:24:38.619380 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 17:24:38.619531 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 17:24:38.619630 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 17:24:38.623894 drop table if exists "UniqueColumns"; [] gorptest: 17:24:38.627563 drop table if exists PersistentUser [] gorptest: 17:24:38.627843 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:24:38.631129 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:24:38.634726 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 17:24:38.634906 select * from PersistentUser [] gorptest: 17:24:38.635030 select * from PersistentUser [] gorptest: 17:24:38.635131 select * from PersistentUser [] gorptest: 17:24:38.635218 select Id from PersistentUser [] gorptest: 17:24:38.635301 select mykey from PersistentUser [] gorptest: 17:24:38.635388 select PassedTraining from PersistentUser [] gorptest: 17:24:38.635459 select Id from PersistentUser [] gorptest: 17:24:38.635543 drop table if exists "PersistentUser"; [] gorptest: 17:24:38.639263 drop table if exists PersistentUser [] gorptest: 17:24:38.639703 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:24:38.643057 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:24:38.647120 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:24:38.650663 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:24:38.650797 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:24:38.650864 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:24:38.650933 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 17:24:38.650991 drop table if exists "PersistentUser"; [] gorptest: 17:24:38.654322 drop table if exists PersistentUser [] gorptest: 17:24:38.654664 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:24:38.658692 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:24:38.662331 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:24:38.666154 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:24:38.666306 drop table if exists "PersistentUser"; [] 2025/03/25 17:24: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:24:38.670566 drop table if exists "invoice_test"; [] gorptest: 17:24:38.670806 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.670835 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.670860 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.670886 drop table if exists "person_test"; [] gorptest: 17:24:38.670910 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.670935 drop table if exists "id_created_test"; [] gorptest: 17:24:38.670960 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.670984 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.671009 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.671033 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.671058 drop table if exists "time_test"; [] gorptest: 17:24:38.671092 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:38.674591 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:24:38.685067 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:38.689416 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:24:38.693776 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:24:38.698241 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.702230 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.706689 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:38.711122 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:38.715089 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:38.719368 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:38.723125 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:38.726806 select * from invoice_test where id=99999 [] gorptest: 17:24:38.726895 select * from invoice_test where id=99999 [] gorptest: 17:24:38.726953 drop table if exists "invoice_test"; [] gorptest: 17:24:38.731341 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.735086 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.738861 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.743420 drop table if exists "person_test"; [] gorptest: 17:24:38.747198 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.752623 drop table if exists "id_created_test"; [] gorptest: 17:24:38.757923 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.761603 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.765505 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.769614 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.773394 drop table if exists "time_test"; [] gorptest: 17:24:38.777382 drop table if exists "id_created_test"; [] gorptest: 17:24:38.777690 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:24:38.782130 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:24:38.782222 drop table if exists "InvoicePersonView"; [] 2025/03/25 17:24: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:24:38.786221 drop table if exists "invoice_test"; [] gorptest: 17:24:38.786442 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.786470 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.786496 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.786525 drop table if exists "person_test"; [] gorptest: 17:24:38.786553 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.786596 drop table if exists "id_created_test"; [] gorptest: 17:24:38.786624 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.786651 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.786695 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.786721 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.786748 drop table if exists "time_test"; [] gorptest: 17:24:38.786800 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:38.791075 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:24:38.794971 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:38.798799 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:24:38.803335 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:24:38.807285 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.811537 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.815835 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:38.819665 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:38.823505 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:38.827743 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:38.831500 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:38.835211 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923478835191778 2:1742923478835191778 3:"Bob" 4:"Smith" 5:1] gorptest: 17:24:38.839433 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:38.839541 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923478835191778 2:1742923478835191778 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 17:24:38.843217 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923478835191778 2:1742923478835191778 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 17:24:38.843280 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:38.843345 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 17:24:38.843391 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:38.843443 drop table if exists "invoice_test"; [] gorptest: 17:24:38.847177 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.851287 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.855135 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.859090 drop table if exists "person_test"; [] gorptest: 17:24:38.863436 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.867294 drop table if exists "id_created_test"; [] gorptest: 17:24:38.871003 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.875122 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.878936 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.882620 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.886631 drop table if exists "time_test"; [] gorptest: 17:24:38.890390 drop table if exists "id_created_test"; [] gorptest: 17:24:38.890632 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:24:38.894442 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 17:24:38.898250 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:24:38.898483 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:24:38.902272 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:24:38.902363 drop table if exists "TableWithNull"; [] gorptest: 17:24:38.906135 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 17:24:38.910442 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 17:24:38.913998 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 17:24:38.914107 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:24:38.914171 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 17:24:38.914219 drop table if exists "Invoice"; [] 2025/03/25 17:24: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:24:38.917705 drop table if exists "invoice_test"; [] gorptest: 17:24:38.917913 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.917941 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.917967 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.917992 drop table if exists "person_test"; [] gorptest: 17:24:38.918017 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.918043 drop table if exists "id_created_test"; [] gorptest: 17:24:38.918067 drop table if exists "type_conv_test"; [] gorptest: 17:24:38.918091 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:38.918116 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:38.918140 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:38.918164 drop table if exists "time_test"; [] gorptest: 17:24:38.918199 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:38.921932 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:24:38.925908 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:38.929738 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:24:38.933977 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:24:38.938272 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.942099 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:38.946271 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:38.950278 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:38.954097 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:38.958552 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:38.962661 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:38.966641 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923478966621262 2:1742923478966621262 3:"bob" 4:"smith" 5:1] gorptest: 17:24:38.971101 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:24:38.974866 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:24:38.974995 drop table if exists "invoice_test"; [] gorptest: 17:24:38.978703 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:38.982590 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:38.986545 drop table if exists "invoice_override_test"; [] gorptest: 17:24:38.990265 drop table if exists "person_test"; [] gorptest: 17:24:38.994205 drop table if exists "ignored_column_test"; [] gorptest: 17:24:38.998458 drop table if exists "id_created_test"; [] gorptest: 17:24:39.002033 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.005672 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.009759 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.013274 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.016830 drop table if exists "time_test"; [] gorptest: 17:24:39.020877 drop table if exists "id_created_test"; [] 2025/03/25 17:24: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:24:39.021098 drop table if exists "invoice_test"; [] gorptest: 17:24:39.021319 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.021347 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.021373 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.021398 drop table if exists "person_test"; [] gorptest: 17:24:39.021423 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.021449 drop table if exists "id_created_test"; [] gorptest: 17:24:39.021473 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.021498 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.021523 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.021549 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.021575 drop table if exists "time_test"; [] gorptest: 17:24:39.021609 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:39.025228 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:24:39.028667 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:39.032516 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:24:39.036726 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:24:39.040265 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.043738 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.047598 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:39.050994 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:39.054439 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:39.058345 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:39.061608 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:39.064867 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923479064848434 2:1742923479064848434 3:"bob" 4:"smith" 5:1] gorptest: 17:24:39.068393 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:39.068568 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923479064848434 2:1742923479064848434 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 17:24:39.072220 select * from person_test where id = ? [1:1] gorptest: 17:24:39.072333 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 17:24:39.075414 drop table if exists "invoice_test"; [] gorptest: 17:24:39.078737 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.082601 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.085984 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.089276 drop table if exists "person_test"; [] gorptest: 17:24:39.092566 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.095751 drop table if exists "id_created_test"; [] gorptest: 17:24:39.099668 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.102951 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.106272 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.110125 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.113523 drop table if exists "time_test"; [] gorptest: 17:24:39.116908 drop table if exists "id_created_test"; [] 2025/03/25 17:24: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:24:39.117127 drop table if exists "invoice_test"; [] gorptest: 17:24:39.117338 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.117366 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.117392 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.117417 drop table if exists "person_test"; [] gorptest: 17:24:39.117445 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.117472 drop table if exists "id_created_test"; [] gorptest: 17:24:39.117497 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.117523 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.117548 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.117573 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.117597 drop table if exists "time_test"; [] gorptest: 17:24:39.117630 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:39.121470 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:24:39.124933 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:39.128272 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:24:39.132121 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:24:39.136177 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.140170 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.150544 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:39.154687 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:39.159075 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:39.162980 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:39.167241 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:39.171199 begin; [] gorptest: 17:24:39.171338 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 17:24:39.171592 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 17:24:39.171636 commit; [] gorptest: 17:24:39.175230 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:39.175383 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 17:24:39.175480 drop table if exists "invoice_test"; [] gorptest: 17:24:39.179573 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.183301 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.187229 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.194396 drop table if exists "person_test"; [] gorptest: 17:24:39.200519 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.204765 drop table if exists "id_created_test"; [] gorptest: 17:24:39.208670 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.212575 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.218469 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.224026 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.229534 drop table if exists "time_test"; [] gorptest: 17:24:39.232913 drop table if exists "id_created_test"; [] 2025/03/25 17:24: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:24:39.233121 drop table if exists "invoice_test"; [] gorptest: 17:24:39.233332 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.233361 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.233387 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.233412 drop table if exists "person_test"; [] gorptest: 17:24:39.233437 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.233463 drop table if exists "id_created_test"; [] gorptest: 17:24:39.233488 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.233513 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.233538 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.233564 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.233588 drop table if exists "time_test"; [] gorptest: 17:24:39.233621 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:39.238367 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:24:39.243715 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:39.248309 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:24:39.253325 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:24:39.262593 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.267711 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.273140 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:39.277715 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:39.283085 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:39.290023 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:39.295924 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:39.301865 begin; [] gorptest: 17:24:39.301942 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 17:24:39.302125 select memo from invoice_test [] gorptest: 17:24:39.302173 savepoint "foo" [1:] gorptest: 17:24:39.302184 select memo from invoice_test [] gorptest: 17:24:39.302226 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:24:39.302261 select memo from invoice_test [] gorptest: 17:24:39.302285 rollback to savepoint "foo" [1:] gorptest: 17:24:39.302299 select memo from invoice_test [] gorptest: 17:24:39.302319 rollback; [] gorptest: 17:24:39.302412 drop table if exists "invoice_test"; [] gorptest: 17:24:39.306907 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.311672 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.318027 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.325172 drop table if exists "person_test"; [] gorptest: 17:24:39.331367 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.336748 drop table if exists "id_created_test"; [] gorptest: 17:24:39.344437 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.351599 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.358954 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.366050 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.372048 drop table if exists "time_test"; [] gorptest: 17:24:39.380043 drop table if exists "id_created_test"; [] 2025/03/25 17:24: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:24:39.380428 drop table if exists "invoice_test"; [] gorptest: 17:24:39.380872 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.380923 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.380969 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.381007 drop table if exists "person_test"; [] gorptest: 17:24:39.381053 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.381097 drop table if exists "id_created_test"; [] gorptest: 17:24:39.381140 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.381183 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.381229 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.381284 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.381338 drop table if exists "time_test"; [] gorptest: 17:24:39.381399 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:39.385946 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:24:39.391199 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:39.397306 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:24:39.403897 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:24:39.410963 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.417789 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.423623 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:39.432852 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:39.440121 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:39.448283 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:39.456573 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:39.466568 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 17:24:39.472790 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 17:24:39.479512 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:24:39.486968 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:24:39.492434 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:39.498887 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 17:24:39.503753 drop table if exists "invoice_test"; [] gorptest: 17:24:39.508533 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.513527 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.525009 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.536658 drop table if exists "person_test"; [] gorptest: 17:24:39.544008 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.552366 drop table if exists "id_created_test"; [] gorptest: 17:24:39.561349 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.568438 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.575422 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.582787 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.589137 drop table if exists "time_test"; [] gorptest: 17:24:39.595324 drop table if exists "id_created_test"; [] 2025/03/25 17:24: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:24:39.595679 drop table if exists "invoice_test"; [] gorptest: 17:24:39.596353 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.596413 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.596463 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.596516 drop table if exists "person_test"; [] gorptest: 17:24:39.596566 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.596617 drop table if exists "id_created_test"; [] gorptest: 17:24:39.596668 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.596718 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.596769 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.596819 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.596869 drop table if exists "time_test"; [] gorptest: 17:24:39.596932 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:39.606743 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:24:39.614190 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:39.620813 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:24:39.626166 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:24:39.633976 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.641257 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.650287 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:39.659759 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:39.665900 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:39.676127 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:39.682491 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:39.688507 delete from invoice_test [] gorptest: 17:24:39.698972 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:24:39.705084 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:39.705320 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:7971147655057828873 2:5146214697869364088 3:"random 4531692004726031973" 4:0 5:true 6:1] gorptest: 17:24:39.712174 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:39.712361 select * from invoice_test [] gorptest: 17:24:39.712530 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:39.719674 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:39.719812 delete from invoice_tag_test [] gorptest: 17:24:39.727042 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:24:39.735523 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:39.735784 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:8768965288256408291 2:5815492494058319150 3:"random 2274009757953979157" 4:33 5:false 6:1] gorptest: 17:24:39.745457 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:39.745642 select * from invoice_tag_test [] gorptest: 17:24:39.745930 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:39.750838 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:39.750952 delete from alias_trans_field_test [] gorptest: 17:24:39.757726 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 17:24:39.766719 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:39.766941 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 9152724540766924746" 2:1] gorptest: 17:24:39.771984 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:39.772139 select * from alias_trans_field_test [] gorptest: 17:24:39.772253 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:39.779105 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:39.779262 drop table if exists "invoice_test"; [] gorptest: 17:24:39.787040 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.793782 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.802304 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.810159 drop table if exists "person_test"; [] gorptest: 17:24:39.817531 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.824673 drop table if exists "id_created_test"; [] gorptest: 17:24:39.830673 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.836536 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.844738 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.857193 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.868611 drop table if exists "time_test"; [] gorptest: 17:24:39.877626 drop table if exists "id_created_test"; [] 2025/03/25 17:24: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:24:39.878005 drop table if exists "invoice_test"; [] gorptest: 17:24:39.878374 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:39.878424 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:39.878472 drop table if exists "invoice_override_test"; [] gorptest: 17:24:39.878519 drop table if exists "person_test"; [] gorptest: 17:24:39.878564 drop table if exists "ignored_column_test"; [] gorptest: 17:24:39.878613 drop table if exists "id_created_test"; [] gorptest: 17:24:39.878657 drop table if exists "type_conv_test"; [] gorptest: 17:24:39.878700 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:39.878751 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:39.878802 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:39.878852 drop table if exists "time_test"; [] gorptest: 17:24:39.878914 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:39.896921 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:24:39.906085 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:39.918082 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:24:39.933055 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:24:39.940859 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.947855 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:39.956739 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:39.971177 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:39.986603 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:39.992808 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:40.002980 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:40.011528 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 17:24:40.019495 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:24:40.019708 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:24:40.027661 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:24:40.027828 drop table if exists "invoice_test"; [] gorptest: 17:24:40.035430 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.043558 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.052203 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.062857 drop table if exists "person_test"; [] gorptest: 17:24:40.069087 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.075254 drop table if exists "id_created_test"; [] gorptest: 17:24:40.080656 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.085882 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.091547 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.096423 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.100553 drop table if exists "time_test"; [] gorptest: 17:24:40.108254 drop table if exists "id_created_test"; [] 2025/03/25 17:24:40 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:24:40.108650 drop table if exists "invoice_test"; [] gorptest: 17:24:40.109016 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.109064 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.109111 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.109158 drop table if exists "person_test"; [] gorptest: 17:24:40.109203 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.109252 drop table if exists "id_created_test"; [] gorptest: 17:24:40.109301 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.109354 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.109403 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.109451 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.109500 drop table if exists "time_test"; [] gorptest: 17:24:40.109560 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:40.115459 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:24:40.122150 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:40.131759 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:24:40.138833 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:24:40.145878 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.151258 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.156833 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:40.161964 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:40.171164 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:40.176750 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:40.185805 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:40.191990 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:24:40.204334 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:24:40.204623 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:24:40.212210 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:24:40.212430 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:24:40.219196 drop table if exists "invoice_test"; [] gorptest: 17:24:40.226384 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.231817 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.238818 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.245332 drop table if exists "person_test"; [] gorptest: 17:24:40.251328 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.255618 drop table if exists "id_created_test"; [] gorptest: 17:24:40.261047 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.266004 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.272478 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.278688 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.283765 drop table if exists "time_test"; [] gorptest: 17:24:40.287963 drop table if exists "id_created_test"; [] 2025/03/25 17:24:40 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:24:40.288496 drop table if exists "invoice_test"; [] gorptest: 17:24:40.288858 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.288938 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.288986 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.289032 drop table if exists "person_test"; [] gorptest: 17:24:40.289079 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.289128 drop table if exists "id_created_test"; [] gorptest: 17:24:40.289178 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.289227 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.289278 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.289326 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.289374 drop table if exists "time_test"; [] gorptest: 17:24:40.289451 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:40.304193 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:24:40.308689 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:40.315754 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:24:40.321001 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:24:40.328891 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.334344 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.340540 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:40.346186 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:40.354617 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:40.362673 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:40.367319 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:40.378227 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 17:24:40.391492 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:24:40.391707 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 17:24:40.396860 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:24:40.397015 select * from embedded_struct_test [] gorptest: 17:24:40.397148 drop table if exists "invoice_test"; [] gorptest: 17:24:40.401206 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.406351 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.415383 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.424333 drop table if exists "person_test"; [] gorptest: 17:24:40.431656 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.438960 drop table if exists "id_created_test"; [] gorptest: 17:24:40.444431 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.450567 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.455918 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.460074 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.466186 drop table if exists "time_test"; [] gorptest: 17:24:40.473132 drop table if exists "id_created_test"; [] 2025/03/25 17:24:40 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:24:40.473449 drop table if exists "invoice_test"; [] gorptest: 17:24:40.473771 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.473811 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.473848 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.473884 drop table if exists "person_test"; [] gorptest: 17:24:40.473920 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.473956 drop table if exists "id_created_test"; [] gorptest: 17:24:40.473992 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.474028 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.474064 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.474099 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.474135 drop table if exists "time_test"; [] gorptest: 17:24:40.474183 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:40.482191 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:24:40.490391 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:40.499567 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:24:40.506760 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:24:40.515890 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.524950 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.531545 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:40.541096 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:40.550697 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:40.563286 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:40.571245 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:40.579351 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 17:24:40.588609 drop table if exists "invoice_test"; [] gorptest: 17:24:40.596847 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.606706 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.612476 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.619124 drop table if exists "person_test"; [] gorptest: 17:24:40.624438 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.633663 drop table if exists "id_created_test"; [] gorptest: 17:24:40.641560 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.650356 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.657857 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.663533 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.673140 drop table if exists "time_test"; [] gorptest: 17:24:40.685600 drop table if exists "id_created_test"; [] 2025/03/25 17:24:40 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:24:40.685956 drop table if exists "invoice_test"; [] gorptest: 17:24:40.686279 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.686318 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.686355 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.686391 drop table if exists "person_test"; [] gorptest: 17:24:40.686427 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.686463 drop table if exists "id_created_test"; [] gorptest: 17:24:40.686498 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.686533 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.686568 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.686604 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.686639 drop table if exists "time_test"; [] gorptest: 17:24:40.686685 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:40.706037 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:24:40.715111 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:40.724163 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:24:40.733539 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:24:40.739862 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.746179 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.757614 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:40.763496 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:40.768934 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:40.775052 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:40.779640 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:40.790257 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 17:24:40.802359 drop table if exists "invoice_test"; [] gorptest: 17:24:40.810891 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.815115 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.821370 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.825616 drop table if exists "person_test"; [] gorptest: 17:24:40.829696 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.833884 drop table if exists "id_created_test"; [] gorptest: 17:24:40.837981 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.843992 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.850659 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.854924 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.859202 drop table if exists "time_test"; [] gorptest: 17:24:40.863657 drop table if exists "id_created_test"; [] gorptest: 17:24:40.864134 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:24:40.870525 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:24:40.874566 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:24:40.874772 select count(*) from TableWithNull [] gorptest: 17:24:40.874877 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:24:40.874984 select Int64 from TableWithNull where Str='notfound' [] gorptest: 17:24:40.875082 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:24:40.875184 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:24:40.875289 select min(Float64) from TableWithNull [] gorptest: 17:24:40.875404 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:24:40.875516 select Float64 from TableWithNull where Str='notfound' [] gorptest: 17:24:40.875611 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:24:40.875717 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:24:40.875836 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:24:40.875931 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:24:40.876036 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:24:40.876196 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 17:24:40.876308 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:24:40.876414 drop table if exists "TableWithNull"; [] 2025/03/25 17:24:40 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:24:40.881228 drop table if exists "invoice_test"; [] gorptest: 17:24:40.881766 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.881879 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.881967 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.882056 drop table if exists "person_test"; [] gorptest: 17:24:40.882148 drop table if exists "ignored_column_test"; [] gorptest: 17:24:40.882235 drop table if exists "id_created_test"; [] gorptest: 17:24:40.882319 drop table if exists "type_conv_test"; [] gorptest: 17:24:40.882405 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:40.882490 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:40.882574 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:40.882659 drop table if exists "time_test"; [] gorptest: 17:24:40.882764 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:40.892876 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:24:40.897270 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:40.903522 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:24:40.912459 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:24:40.918702 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.923123 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:40.927962 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:40.932237 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:40.937140 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:40.941562 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:40.945975 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:40.950480 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923480950297189 2:1742923480950297189 3:"Bob" 4:"Smith" 5:1] gorptest: 17:24:40.956802 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923480956777534 2:1742923480956777534 3:"Jane" 4:"Smith" 5:1] gorptest: 17:24:40.963452 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923480963424515 2:1742923480963424515 3:"Mike" 4:"Smith" 5:1] gorptest: 17:24:40.973035 drop table if exists "invoice_test"; [] gorptest: 17:24:40.981007 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:40.985322 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:40.992671 drop table if exists "invoice_override_test"; [] gorptest: 17:24:40.998192 drop table if exists "person_test"; [] gorptest: 17:24:41.002681 drop table if exists "ignored_column_test"; [] gorptest: 17:24:41.006941 drop table if exists "id_created_test"; [] gorptest: 17:24:41.011616 drop table if exists "type_conv_test"; [] gorptest: 17:24:41.015967 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:41.025254 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:41.030132 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:41.034153 drop table if exists "time_test"; [] gorptest: 17:24:41.038280 drop table if exists "id_created_test"; [] gorptest: 17:24:41.038603 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 17:24:41.043020 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 17:24:41.046701 drop table if exists "string_pk_test"; [] 2025/03/25 17:24:41 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:24:41.051531 drop table if exists "invoice_test"; [] gorptest: 17:24:41.051972 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:41.052066 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:41.052117 drop table if exists "invoice_override_test"; [] gorptest: 17:24:41.052166 drop table if exists "person_test"; [] gorptest: 17:24:41.052214 drop table if exists "ignored_column_test"; [] gorptest: 17:24:41.052263 drop table if exists "id_created_test"; [] gorptest: 17:24:41.052312 drop table if exists "type_conv_test"; [] gorptest: 17:24:41.052361 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:41.052409 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:41.052459 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:41.052507 drop table if exists "time_test"; [] gorptest: 17:24:41.052569 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:41.059170 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:24:41.073964 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:41.078369 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:24:41.082684 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:24:41.088274 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:41.092612 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:41.100446 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:41.104675 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:41.108718 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:41.128373 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:41.132874 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:41.144035 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:53:41.143994649 +0000 UTC] gorptest: 17:24:41.156440 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:54:42.143994649 +0000 UTC] gorptest: 17:24:41.172851 SELECT id FROM time_test WHERE Time < ? [1:2025-03-25 16:54:41.143994649 +0000 UTC] gorptest: 17:24:41.173076 drop table if exists "invoice_test"; [] gorptest: 17:24:41.199003 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:41.219792 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:41.240134 drop table if exists "invoice_override_test"; [] gorptest: 17:24:41.244679 drop table if exists "person_test"; [] gorptest: 17:24:41.248953 drop table if exists "ignored_column_test"; [] gorptest: 17:24:41.253260 drop table if exists "id_created_test"; [] gorptest: 17:24:41.277441 drop table if exists "type_conv_test"; [] gorptest: 17:24:41.292215 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:41.301250 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:41.307386 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:41.316471 drop table if exists "time_test"; [] gorptest: 17:24:41.323864 drop table if exists "id_created_test"; [] 2025/03/25 17:24:41 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:24:41.324220 drop table if exists "invoice_test"; [] gorptest: 17:24:41.324582 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:41.324637 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:41.324688 drop table if exists "invoice_override_test"; [] gorptest: 17:24:41.324737 drop table if exists "person_test"; [] gorptest: 17:24:41.324785 drop table if exists "ignored_column_test"; [] gorptest: 17:24:41.324836 drop table if exists "id_created_test"; [] gorptest: 17:24:41.324884 drop table if exists "type_conv_test"; [] gorptest: 17:24:41.324932 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:41.324980 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:41.325029 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:41.325079 drop table if exists "time_test"; [] gorptest: 17:24:41.325140 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:41.373792 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:24:41.385446 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:41.399812 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:24:41.420635 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:24:41.433133 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:41.442456 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:41.453665 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:41.464084 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:41.473936 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:41.483769 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:41.489730 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:41.495282 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923481495248374 2:1742923481495248374 3:"bob" 4:"smith" 5:1] gorptest: 17:24:41.501009 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:24:41.508165 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:24:41.508398 drop table if exists "invoice_test"; [] gorptest: 17:24:41.512790 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:41.518509 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:41.523246 drop table if exists "invoice_override_test"; [] gorptest: 17:24:41.530327 drop table if exists "person_test"; [] gorptest: 17:24:41.534716 drop table if exists "ignored_column_test"; [] gorptest: 17:24:41.540483 drop table if exists "id_created_test"; [] gorptest: 17:24:41.548157 drop table if exists "type_conv_test"; [] gorptest: 17:24:41.561086 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:41.568439 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:41.581310 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:41.593007 drop table if exists "time_test"; [] gorptest: 17:24:41.597736 drop table if exists "id_created_test"; [] 2025/03/25 17:24:41 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:24:41.598348 drop table if exists "invoice_test"; [] gorptest: 17:24:41.598775 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:41.598845 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:41.598906 drop table if exists "invoice_override_test"; [] gorptest: 17:24:41.598969 drop table if exists "person_test"; [] gorptest: 17:24:41.599034 drop table if exists "ignored_column_test"; [] gorptest: 17:24:41.599097 drop table if exists "id_created_test"; [] gorptest: 17:24:41.599161 drop table if exists "type_conv_test"; [] gorptest: 17:24:41.599225 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:41.599287 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:41.599348 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:41.599408 drop table if exists "time_test"; [] gorptest: 17:24:41.599484 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:41.610905 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:24:41.638881 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:41.643699 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:24:41.659315 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:24:41.670906 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:41.680159 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:41.697803 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:41.714583 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:41.722253 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:41.729458 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:41.737398 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/03/25 17:24:41 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:24:41.929387 drop table if exists "invoice_test"; [] gorptest: 17:24:41.929818 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:41.929877 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:41.929942 drop table if exists "invoice_override_test"; [] gorptest: 17:24:41.930025 drop table if exists "person_test"; [] gorptest: 17:24:41.930087 drop table if exists "ignored_column_test"; [] gorptest: 17:24:41.930147 drop table if exists "id_created_test"; [] gorptest: 17:24:41.930204 drop table if exists "type_conv_test"; [] gorptest: 17:24:41.930268 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:41.930332 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:41.930392 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:41.930456 drop table if exists "time_test"; [] gorptest: 17:24:41.930530 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:41.940617 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:24:41.955514 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:41.967353 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:24:41.975388 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:24:41.992751 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:42.019790 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:42.032975 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:42.050745 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:42.071331 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:42.084902 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:42.141760 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:42.185514 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923482185293686 2:1742923482185293686 3:"bob" 4:"smith" 5:1] gorptest: 17:24:42.204099 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923482204062552 2:1742923482204062552 3:"jane" 4:"doe" 5:1] gorptest: 17:24:42.220698 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:42.220941 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 17:24:42.221058 select * from person_test where Id=? [1:1] gorptest: 17:24:42.221189 select * from person_test order by fname asc [] gorptest: 17:24:42.221391 drop table if exists "invoice_test"; [] gorptest: 17:24:42.231499 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:42.246765 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:42.260718 drop table if exists "invoice_override_test"; [] gorptest: 17:24:42.271514 drop table if exists "person_test"; [] gorptest: 17:24:42.288528 drop table if exists "ignored_column_test"; [] gorptest: 17:24:42.297372 drop table if exists "id_created_test"; [] gorptest: 17:24:42.305137 drop table if exists "type_conv_test"; [] gorptest: 17:24:42.326911 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:42.352830 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:42.363610 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:42.368755 drop table if exists "time_test"; [] gorptest: 17:24:42.380965 drop table if exists "id_created_test"; [] 2025/03/25 17:24:42 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:24:42.381398 drop table if exists "invoice_test"; [] gorptest: 17:24:42.381825 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:42.381887 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:42.381944 drop table if exists "invoice_override_test"; [] gorptest: 17:24:42.382013 drop table if exists "person_test"; [] gorptest: 17:24:42.382070 drop table if exists "ignored_column_test"; [] gorptest: 17:24:42.382124 drop table if exists "id_created_test"; [] gorptest: 17:24:42.382183 drop table if exists "type_conv_test"; [] gorptest: 17:24:42.382242 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:42.382306 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:42.382364 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:42.382411 drop table if exists "time_test"; [] gorptest: 17:24:42.382474 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:42.392743 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:24:42.402786 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:42.415519 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:24:42.424535 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:24:42.430653 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:42.440000 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:42.451511 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:42.463865 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:42.479383 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:42.488539 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:42.498958 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:42.509091 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923482509035572 2:1742923482509035572 3:"bob" 4:"smith" 5:1] gorptest: 17:24:42.519254 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:42.519534 select * from person_test where Id=? [1:1] gorptest: 17:24:42.519717 select FName from person_test where Id=? [1:1] gorptest: 17:24:42.519815 select * from person_test where Id=? [1:1] gorptest: 17:24:42.519972 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 17:24:42.520136 select * from person_test where Id=? [1:-2222] gorptest: 17:24:42.520276 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923482520254929 2:1742923482520254929 3:"bob" 4:"smith" 5:1] gorptest: 17:24:42.533306 select * from person_test where Fname='bob' [] gorptest: 17:24:42.533624 select * from person_test where Id=-123 [] gorptest: 17:24:42.533715 select * from person_test where Id=-123 [] gorptest: 17:24:42.533799 select * from person_test where Id=-123 [] gorptest: 17:24:42.533881 select * from person_test where Id=-123 [] gorptest: 17:24:42.533965 drop table if exists "invoice_test"; [] gorptest: 17:24:42.543274 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:42.552376 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:42.561036 drop table if exists "invoice_override_test"; [] gorptest: 17:24:42.570938 drop table if exists "person_test"; [] gorptest: 17:24:42.583012 drop table if exists "ignored_column_test"; [] gorptest: 17:24:42.591765 drop table if exists "id_created_test"; [] gorptest: 17:24:42.603324 drop table if exists "type_conv_test"; [] gorptest: 17:24:42.620277 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:42.635041 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:42.648206 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:42.657639 drop table if exists "time_test"; [] gorptest: 17:24:42.662672 drop table if exists "id_created_test"; [] 2025/03/25 17:24:42 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:24:42.663193 drop table if exists "invoice_test"; [] gorptest: 17:24:42.663559 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:42.663609 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:42.663658 drop table if exists "invoice_override_test"; [] gorptest: 17:24:42.663706 drop table if exists "person_test"; [] gorptest: 17:24:42.663757 drop table if exists "ignored_column_test"; [] gorptest: 17:24:42.663807 drop table if exists "id_created_test"; [] gorptest: 17:24:42.663858 drop table if exists "type_conv_test"; [] gorptest: 17:24:42.663910 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:42.663961 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:42.664010 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:42.664058 drop table if exists "time_test"; [] gorptest: 17:24:42.664122 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:42.675735 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:24:42.680457 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:42.686252 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:24:42.692800 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:24:42.702323 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:42.716227 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:42.751014 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:42.767657 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:42.777852 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:42.794698 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:42.807888 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:42.818206 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 17:24:42.831299 select * from id_created_test where Id=1 [] gorptest: 17:24:42.831524 SELECT *, 1 AS external FROM id_created_test [] gorptest: 17:24:42.831657 drop table if exists "invoice_test"; [] gorptest: 17:24:42.853096 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:42.869372 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:42.905807 drop table if exists "invoice_override_test"; [] gorptest: 17:24:42.940631 drop table if exists "person_test"; [] gorptest: 17:24:42.951739 drop table if exists "ignored_column_test"; [] gorptest: 17:24:42.959440 drop table if exists "id_created_test"; [] gorptest: 17:24:42.969175 drop table if exists "type_conv_test"; [] gorptest: 17:24:42.973671 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:42.985335 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:42.995858 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:43.009893 drop table if exists "time_test"; [] gorptest: 17:24:43.026896 drop table if exists "id_created_test"; [] 2025/03/25 17:24:43 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:24:43.027287 drop table if exists "invoice_test"; [] gorptest: 17:24:43.027674 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:43.027725 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:43.027773 drop table if exists "invoice_override_test"; [] gorptest: 17:24:43.027822 drop table if exists "person_test"; [] gorptest: 17:24:43.027871 drop table if exists "ignored_column_test"; [] gorptest: 17:24:43.027919 drop table if exists "id_created_test"; [] gorptest: 17:24:43.027966 drop table if exists "type_conv_test"; [] gorptest: 17:24:43.028014 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:43.028063 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:43.028136 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:43.028184 drop table if exists "time_test"; [] gorptest: 17:24:43.028244 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:43.042701 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:24:43.050430 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:43.061467 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:24:43.073616 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:24:43.085579 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:43.093502 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:43.108947 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:43.123066 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:43.134215 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:43.140427 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:43.147549 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:43.162986 drop table if exists "invoice_test"; [] gorptest: 17:24:43.174545 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:43.181645 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:43.185957 drop table if exists "invoice_override_test"; [] gorptest: 17:24:43.190233 drop table if exists "person_test"; [] gorptest: 17:24:43.208659 drop table if exists "ignored_column_test"; [] gorptest: 17:24:43.217908 drop table if exists "id_created_test"; [] gorptest: 17:24:43.224674 drop table if exists "type_conv_test"; [] gorptest: 17:24:43.235910 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:43.250868 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:43.264775 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:43.292254 drop table if exists "time_test"; [] gorptest: 17:24:43.361330 drop table if exists "id_created_test"; [] gorptest: 17:24:43.361469 drop table if exists "single_column_table"; [] gorptest: 17:24:43.361534 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:24:43.384681 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:24:43.413730 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:43.426462 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:24:43.435175 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:24:43.448809 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:43.455783 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:43.485225 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:43.496333 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:43.507890 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:24:43.523043 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:24:43.531119 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:43.537008 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:24:43.537112 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 17:24:43.546171 delete from "invoice_test"; [] gorptest: 17:24:43.555325 delete from "invoice_tag_test"; [] gorptest: 17:24:43.564241 delete from "alias_trans_field_test"; [] gorptest: 17:24:43.574356 delete from "invoice_override_test"; [] gorptest: 17:24:43.581863 delete from "person_test"; [] gorptest: 17:24:43.588543 delete from "ignored_column_test"; [] gorptest: 17:24:43.598093 delete from "id_created_test"; [] gorptest: 17:24:43.602936 delete from "type_conv_test"; [] gorptest: 17:24:43.612682 delete from "embedded_struct_test"; [] gorptest: 17:24:43.623095 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:43.630982 delete from "embedded_autoincr_test"; [] gorptest: 17:24:43.639610 delete from "time_test"; [] gorptest: 17:24:43.646509 delete from "id_created_test"; [] gorptest: 17:24:43.651510 delete from "single_column_table"; [] gorptest: 17:24:43.660207 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 17:24:43.660371 drop table if exists "invoice_test"; [] gorptest: 17:24:43.668009 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:43.693909 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:43.702916 drop table if exists "invoice_override_test"; [] gorptest: 17:24:43.711369 drop table if exists "person_test"; [] gorptest: 17:24:43.718885 drop table if exists "ignored_column_test"; [] gorptest: 17:24:43.733747 drop table if exists "id_created_test"; [] gorptest: 17:24:43.779751 drop table if exists "type_conv_test"; [] gorptest: 17:24:43.833993 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:43.854434 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:43.881771 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:43.895267 drop table if exists "time_test"; [] gorptest: 17:24:43.905081 drop table if exists "id_created_test"; [] gorptest: 17:24:43.905177 drop table if exists "single_column_table"; [] 2025/03/25 17:24:43 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:24:43.912541 drop table if exists "invoice_test"; [] gorptest: 17:24:43.912972 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:43.913021 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:43.913065 drop table if exists "invoice_override_test"; [] gorptest: 17:24:43.913107 drop table if exists "person_test"; [] gorptest: 17:24:43.913151 drop table if exists "ignored_column_test"; [] gorptest: 17:24:43.913195 drop table if exists "id_created_test"; [] gorptest: 17:24:43.913239 drop table if exists "type_conv_test"; [] gorptest: 17:24:43.913282 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:43.913324 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:43.913367 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:43.913407 drop table if exists "time_test"; [] gorptest: 17:24:43.913460 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:43.927693 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:24:43.937655 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:43.947033 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:24:43.960611 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:24:43.968469 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:43.981419 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:43.994959 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:44.005698 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:44.017693 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:44.027384 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:44.044928 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:44.049511 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:24:44.059337 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:24:44.083084 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 17:24:44.094065 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 17:24:44.094316 begin; [] gorptest: 17:24:44.094362 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 17:24:44.094582 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:24:44.095118 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:24:44.095211 commit; [] gorptest: 17:24:44.121083 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:24:44.121357 drop table if exists "invoice_test"; [] gorptest: 17:24:44.140639 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:44.176288 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:44.204238 drop table if exists "invoice_override_test"; [] gorptest: 17:24:44.213624 drop table if exists "person_test"; [] gorptest: 17:24:44.220106 drop table if exists "ignored_column_test"; [] gorptest: 17:24:44.227947 drop table if exists "id_created_test"; [] gorptest: 17:24:44.235610 drop table if exists "type_conv_test"; [] gorptest: 17:24:44.241409 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:44.247497 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:44.254843 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:44.266772 drop table if exists "time_test"; [] gorptest: 17:24:44.274686 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 6.045s gopkg.in/gorp.v1 2025/03/25 17:24:45 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:24:45.790497 drop table if exists "invoice_test"; [] gorptest: 17:24:45.791008 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:45.791056 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:45.791100 drop table if exists "invoice_override_test"; [] gorptest: 17:24:45.791143 drop table if exists "person_test"; [] gorptest: 17:24:45.791188 drop table if exists "ignored_column_test"; [] gorptest: 17:24:45.791233 drop table if exists "id_created_test"; [] gorptest: 17:24:45.791277 drop table if exists "type_conv_test"; [] gorptest: 17:24:45.791321 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:45.791366 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:45.791407 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:45.791451 drop table if exists "time_test"; [] gorptest: 17:24:45.791514 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:45.799860 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:24:45.807362 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:45.816205 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:24:45.822320 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:24:45.829036 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:45.836206 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:45.841733 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:45.848145 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:45.854584 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:45.863416 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:45.868922 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:45.875870 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:24:45.875959 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:24:45.875998 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:45.876034 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:24:45.876071 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:24:45.876133 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:45.876166 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:45.876199 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:45.876232 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:45.876264 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:24:45.876298 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:24:45.876329 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:45.876361 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:24:45.876390 drop table if exists "invoice_test"; [] gorptest: 17:24:45.881868 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:45.886837 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:45.891175 drop table if exists "invoice_override_test"; [] gorptest: 17:24:45.898600 drop table if exists "person_test"; [] gorptest: 17:24:45.903414 drop table if exists "ignored_column_test"; [] gorptest: 17:24:45.908265 drop table if exists "id_created_test"; [] gorptest: 17:24:45.914616 drop table if exists "type_conv_test"; [] gorptest: 17:24:45.920958 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:45.926553 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:45.942519 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:45.947807 drop table if exists "time_test"; [] gorptest: 17:24:45.954545 drop table if exists "id_created_test"; [] 2025/03/25 17:24:45 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:24:45.955077 drop table if exists "invoice_test"; [] gorptest: 17:24:45.955416 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:45.955488 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:45.955534 drop table if exists "invoice_override_test"; [] gorptest: 17:24:45.955577 drop table if exists "person_test"; [] gorptest: 17:24:45.955626 drop table if exists "ignored_column_test"; [] gorptest: 17:24:45.955927 drop table if exists "id_created_test"; [] gorptest: 17:24:45.955984 drop table if exists "type_conv_test"; [] gorptest: 17:24:45.956054 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:45.956106 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:45.956155 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:45.956203 drop table if exists "time_test"; [] gorptest: 17:24:45.956318 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:45.964673 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:24:45.971601 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:45.977519 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:24:45.986265 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:24:45.994993 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:46.002626 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:46.009649 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:46.017452 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:46.024773 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:46.031661 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:46.038511 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:46.045730 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:24:46.045857 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:24:46.045920 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:46.045974 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:24:46.046033 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:24:46.046090 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:46.046139 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:46.046188 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:46.046237 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:46.046287 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:24:46.046337 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:24:46.046385 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:46.046433 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:24:46.046565 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923486046481237 2:1742923486046481237 3:"Bob" 4:"Smith" 5:1] gorptest: 17:24:46.051747 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:24:46.061526 delete from "invoice_test"; [] gorptest: 17:24:46.068598 delete from "invoice_tag_test"; [] gorptest: 17:24:46.074653 delete from "alias_trans_field_test"; [] gorptest: 17:24:46.079652 delete from "invoice_override_test"; [] gorptest: 17:24:46.089704 delete from "person_test"; [] gorptest: 17:24:46.097412 delete from "ignored_column_test"; [] gorptest: 17:24:46.102876 delete from "id_created_test"; [] gorptest: 17:24:46.108261 delete from "type_conv_test"; [] gorptest: 17:24:46.115574 delete from "embedded_struct_test"; [] gorptest: 17:24:46.125978 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:46.132436 delete from "embedded_autoincr_test"; [] gorptest: 17:24:46.141944 delete from "time_test"; [] gorptest: 17:24:46.149149 delete from "id_created_test"; [] gorptest: 17:24:46.156639 SELECT * FROM person_test [] gorptest: 17:24:46.156771 SELECT * FROM invoice_test [] gorptest: 17:24:46.156835 drop table if exists "invoice_test"; [] gorptest: 17:24:46.163667 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:46.175015 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:46.180462 drop table if exists "invoice_override_test"; [] gorptest: 17:24:46.189447 drop table if exists "person_test"; [] gorptest: 17:24:46.200162 drop table if exists "ignored_column_test"; [] gorptest: 17:24:46.207828 drop table if exists "id_created_test"; [] gorptest: 17:24:46.220238 drop table if exists "type_conv_test"; [] gorptest: 17:24:46.228084 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:46.237575 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:46.244717 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:46.251935 drop table if exists "time_test"; [] gorptest: 17:24:46.260063 drop table if exists "id_created_test"; [] gorptest: 17:24:46.260432 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 17:24:46.271228 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-03-25 17:24:46 +0000 UTC] gorptest: 17:24:46.276539 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 17:24:46.276664 drop table if exists "WithCustomDate"; [] gorptest: 17:24:46.283635 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:24:46.290115 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:24:46.295735 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:24:46.306087 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 17:24:46.314510 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 17:24:46.322421 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 17:24:46.344807 drop table if exists "PersonUInt64"; [] gorptest: 17:24:46.353499 drop table if exists "PersonUInt32"; [] gorptest: 17:24:46.363801 drop table if exists "PersonUInt16"; [] gorptest: 17:24:46.367489 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:24:46.381564 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 17:24:46.400014 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 17:24:46.400294 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 17:24:46.400435 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 17:24:46.434095 drop table if exists "UniqueColumns"; [] gorptest: 17:24:46.449271 drop table if exists PersistentUser [] gorptest: 17:24:46.449701 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:24:46.476263 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:24:46.501444 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 17:24:46.501707 select * from PersistentUser [] gorptest: 17:24:46.501860 select * from PersistentUser [] gorptest: 17:24:46.501980 select * from PersistentUser [] gorptest: 17:24:46.502094 select Id from PersistentUser [] gorptest: 17:24:46.502183 select mykey from PersistentUser [] gorptest: 17:24:46.502270 select PassedTraining from PersistentUser [] gorptest: 17:24:46.502360 select Id from PersistentUser [] gorptest: 17:24:46.502450 drop table if exists "PersistentUser"; [] gorptest: 17:24:46.518182 drop table if exists PersistentUser [] gorptest: 17:24:46.518719 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:24:46.532223 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:24:46.549858 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:24:46.557266 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:24:46.557471 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:24:46.557587 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:24:46.557708 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 17:24:46.557804 drop table if exists "PersistentUser"; [] gorptest: 17:24:46.564845 drop table if exists PersistentUser [] gorptest: 17:24:46.565260 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:24:46.575222 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:24:46.582106 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:24:46.591027 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:24:46.591194 drop table if exists "PersistentUser"; [] 2025/03/25 17:24:46 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:24:46.602220 drop table if exists "invoice_test"; [] gorptest: 17:24:46.602623 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:46.602675 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:46.602723 drop table if exists "invoice_override_test"; [] gorptest: 17:24:46.602776 drop table if exists "person_test"; [] gorptest: 17:24:46.602824 drop table if exists "ignored_column_test"; [] gorptest: 17:24:46.602872 drop table if exists "id_created_test"; [] gorptest: 17:24:46.602923 drop table if exists "type_conv_test"; [] gorptest: 17:24:46.602970 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:46.603019 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:46.603066 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:46.603114 drop table if exists "time_test"; [] gorptest: 17:24:46.603175 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:46.611377 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:24:46.624054 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:46.629206 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:24:46.653718 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:24:46.661768 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:46.672934 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:46.682753 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:46.689912 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:46.705345 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:46.716790 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:46.728464 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:46.744352 select * from invoice_test where id=99999 [] gorptest: 17:24:46.744587 select * from invoice_test where id=99999 [] gorptest: 17:24:46.744766 drop table if exists "invoice_test"; [] gorptest: 17:24:46.757205 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:46.766000 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:46.780707 drop table if exists "invoice_override_test"; [] gorptest: 17:24:46.793775 drop table if exists "person_test"; [] gorptest: 17:24:46.815581 drop table if exists "ignored_column_test"; [] gorptest: 17:24:46.834648 drop table if exists "id_created_test"; [] gorptest: 17:24:46.843794 drop table if exists "type_conv_test"; [] gorptest: 17:24:46.854898 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:46.862649 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:46.882500 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:46.893546 drop table if exists "time_test"; [] gorptest: 17:24:46.903658 drop table if exists "id_created_test"; [] gorptest: 17:24:46.904019 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:24:46.918063 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:24:46.918288 drop table if exists "InvoicePersonView"; [] 2025/03/25 17:24:46 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:24:46.937888 drop table if exists "invoice_test"; [] gorptest: 17:24:46.938313 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:46.938367 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:46.938419 drop table if exists "invoice_override_test"; [] gorptest: 17:24:46.938467 drop table if exists "person_test"; [] gorptest: 17:24:46.938513 drop table if exists "ignored_column_test"; [] gorptest: 17:24:46.938549 drop table if exists "id_created_test"; [] gorptest: 17:24:46.938577 drop table if exists "type_conv_test"; [] gorptest: 17:24:46.938610 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:46.938661 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:46.938706 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:46.938738 drop table if exists "time_test"; [] gorptest: 17:24:46.938775 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:46.947962 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:24:46.964702 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:46.977407 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:24:46.991271 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:24:47.020017 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.028363 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.047559 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:47.058859 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:47.067779 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:47.076295 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:47.083707 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:47.093071 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923487093046459 2:1742923487093046459 3:"Bob" 4:"Smith" 5:1] gorptest: 17:24:47.101273 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:47.101608 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923487093046459 2:1742923487093046459 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 17:24:47.109795 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923487093046459 2:1742923487093046459 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 17:24:47.109933 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:47.110092 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 17:24:47.110146 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:47.110208 drop table if exists "invoice_test"; [] gorptest: 17:24:47.121942 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.128968 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.136521 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.145046 drop table if exists "person_test"; [] gorptest: 17:24:47.153738 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.158608 drop table if exists "id_created_test"; [] gorptest: 17:24:47.166557 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.180141 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.188344 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.196775 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.204336 drop table if exists "time_test"; [] gorptest: 17:24:47.214266 drop table if exists "id_created_test"; [] gorptest: 17:24:47.214728 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:24:47.220702 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 17:24:47.226252 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:24:47.226535 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:24:47.231190 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:24:47.231445 drop table if exists "TableWithNull"; [] gorptest: 17:24:47.240451 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 17:24:47.249735 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 17:24:47.256717 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 17:24:47.257234 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:24:47.257426 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 17:24:47.257580 drop table if exists "Invoice"; [] 2025/03/25 17:24:47 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:24:47.274672 drop table if exists "invoice_test"; [] gorptest: 17:24:47.275109 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.275151 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.275188 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.275225 drop table if exists "person_test"; [] gorptest: 17:24:47.275261 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.275297 drop table if exists "id_created_test"; [] gorptest: 17:24:47.275332 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.275370 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.275406 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.275442 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.275477 drop table if exists "time_test"; [] gorptest: 17:24:47.275524 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:47.284716 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:24:47.290293 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:47.296500 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:24:47.304149 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:24:47.310285 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.315419 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.322160 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:47.329249 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:47.335828 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:47.344888 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:47.356391 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:47.362754 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923487362731039 2:1742923487362731039 3:"bob" 4:"smith" 5:1] gorptest: 17:24:47.369411 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:24:47.373980 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:24:47.374112 drop table if exists "invoice_test"; [] gorptest: 17:24:47.378591 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.383252 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.388860 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.393852 drop table if exists "person_test"; [] gorptest: 17:24:47.398557 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.404993 drop table if exists "id_created_test"; [] gorptest: 17:24:47.411585 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.418341 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.423179 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.429774 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.436792 drop table if exists "time_test"; [] gorptest: 17:24:47.456155 drop table if exists "id_created_test"; [] 2025/03/25 17:24:47 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:24:47.456556 drop table if exists "invoice_test"; [] gorptest: 17:24:47.456930 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.456972 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.457012 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.457050 drop table if exists "person_test"; [] gorptest: 17:24:47.457088 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.457126 drop table if exists "id_created_test"; [] gorptest: 17:24:47.457165 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.457203 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.457241 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.457280 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.457317 drop table if exists "time_test"; [] gorptest: 17:24:47.457370 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:47.485737 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:24:47.493001 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:47.506227 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:24:47.520107 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:24:47.525742 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.542579 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.552700 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:47.557573 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:47.561670 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:47.565965 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:47.588175 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:47.599791 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923487599632233 2:1742923487599632233 3:"bob" 4:"smith" 5:1] gorptest: 17:24:47.604716 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:47.604938 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923487599632233 2:1742923487599632233 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 17:24:47.609285 select * from person_test where id = ? [1:1] gorptest: 17:24:47.609443 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 17:24:47.613302 drop table if exists "invoice_test"; [] gorptest: 17:24:47.638259 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.642562 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.646366 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.650848 drop table if exists "person_test"; [] gorptest: 17:24:47.660620 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.666440 drop table if exists "id_created_test"; [] gorptest: 17:24:47.671581 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.676108 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.681013 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.685505 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.690146 drop table if exists "time_test"; [] gorptest: 17:24:47.694903 drop table if exists "id_created_test"; [] 2025/03/25 17:24:47 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:24:47.695335 drop table if exists "invoice_test"; [] gorptest: 17:24:47.695729 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.695804 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.695853 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.695901 drop table if exists "person_test"; [] gorptest: 17:24:47.695975 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.696023 drop table if exists "id_created_test"; [] gorptest: 17:24:47.696071 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.696118 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.696168 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.696214 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.696259 drop table if exists "time_test"; [] gorptest: 17:24:47.696319 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:47.701156 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:24:47.705770 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:47.710490 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:24:47.715300 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:24:47.720448 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.725216 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.730320 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:47.735263 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:47.739944 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:47.744895 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:47.750244 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:47.755305 begin; [] gorptest: 17:24:47.755470 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 17:24:47.755898 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 17:24:47.755957 commit; [] gorptest: 17:24:47.760682 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:47.760817 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 17:24:47.760877 drop table if exists "invoice_test"; [] gorptest: 17:24:47.765659 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.769789 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.774998 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.779828 drop table if exists "person_test"; [] gorptest: 17:24:47.784469 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.789043 drop table if exists "id_created_test"; [] gorptest: 17:24:47.793680 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.798631 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.803143 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.807478 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.812149 drop table if exists "time_test"; [] gorptest: 17:24:47.816596 drop table if exists "id_created_test"; [] 2025/03/25 17:24:47 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:24:47.817012 drop table if exists "invoice_test"; [] gorptest: 17:24:47.817417 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.817475 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.817522 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.817562 drop table if exists "person_test"; [] gorptest: 17:24:47.817600 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.817637 drop table if exists "id_created_test"; [] gorptest: 17:24:47.817674 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.817713 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.817753 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.817790 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.817828 drop table if exists "time_test"; [] gorptest: 17:24:47.817877 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:47.822458 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:24:47.827713 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:47.833171 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:24:47.838412 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:24:47.844457 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.849462 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.858004 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:47.862546 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:47.867211 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:47.871864 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:47.876492 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:47.881367 begin; [] gorptest: 17:24:47.881517 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 17:24:47.881856 select memo from invoice_test [] gorptest: 17:24:47.881956 savepoint "foo" [1:] gorptest: 17:24:47.881980 select memo from invoice_test [] gorptest: 17:24:47.882118 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:24:47.882200 select memo from invoice_test [] gorptest: 17:24:47.882265 rollback to savepoint "foo" [1:] gorptest: 17:24:47.882290 select memo from invoice_test [] gorptest: 17:24:47.882381 rollback; [] gorptest: 17:24:47.882605 drop table if exists "invoice_test"; [] gorptest: 17:24:47.887373 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.892229 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.896361 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.901035 drop table if exists "person_test"; [] gorptest: 17:24:47.905461 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.909806 drop table if exists "id_created_test"; [] gorptest: 17:24:47.914103 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.918702 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.925221 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.929675 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.937665 drop table if exists "time_test"; [] gorptest: 17:24:47.942470 drop table if exists "id_created_test"; [] 2025/03/25 17:24:47 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:24:47.942857 drop table if exists "invoice_test"; [] gorptest: 17:24:47.943267 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:47.943337 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:47.943379 drop table if exists "invoice_override_test"; [] gorptest: 17:24:47.943421 drop table if exists "person_test"; [] gorptest: 17:24:47.943462 drop table if exists "ignored_column_test"; [] gorptest: 17:24:47.943503 drop table if exists "id_created_test"; [] gorptest: 17:24:47.943545 drop table if exists "type_conv_test"; [] gorptest: 17:24:47.943586 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:47.943628 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:47.943669 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:47.943712 drop table if exists "time_test"; [] gorptest: 17:24:47.943762 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:47.948428 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:24:47.953126 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:47.957901 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:24:47.963051 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:24:47.967877 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.972918 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:47.977910 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:47.983000 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:47.987625 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:47.992200 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:47.996869 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:48.001330 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 17:24:48.005681 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 17:24:48.011158 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:24:48.015959 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:24:48.020676 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:48.025576 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 17:24:48.030541 drop table if exists "invoice_test"; [] gorptest: 17:24:48.034598 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.038722 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.043250 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.048006 drop table if exists "person_test"; [] gorptest: 17:24:48.052603 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.057284 drop table if exists "id_created_test"; [] gorptest: 17:24:48.061657 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.066368 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.071251 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.075674 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.080220 drop table if exists "time_test"; [] gorptest: 17:24:48.086677 drop table if exists "id_created_test"; [] 2025/03/25 17:24:48 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:24:48.086898 drop table if exists "invoice_test"; [] gorptest: 17:24:48.087124 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.087152 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.087185 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.087230 drop table if exists "person_test"; [] gorptest: 17:24:48.087282 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.087324 drop table if exists "id_created_test"; [] gorptest: 17:24:48.087366 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.087415 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.087461 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.087509 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.087567 drop table if exists "time_test"; [] gorptest: 17:24:48.087630 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:48.095606 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:24:48.100484 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:48.104924 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:24:48.109606 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:24:48.114175 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.118405 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.122142 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:48.126556 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:48.131673 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:48.136355 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:48.141431 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:48.145361 delete from invoice_test [] gorptest: 17:24:48.149112 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:24:48.153361 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:48.153549 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:5390379809676141261 2:2471285213693731644 3:"random 5872352636171410063" 4:0 5:true 6:1] gorptest: 17:24:48.157623 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:48.157803 select * from invoice_test [] gorptest: 17:24:48.157963 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:48.163184 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:24:48.163283 delete from invoice_tag_test [] gorptest: 17:24:48.168696 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:24:48.172900 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:48.173035 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:8630023840670806952 2:7476119743407225972 3:"random 8607288461770106313" 4:33 5:false 6:1] gorptest: 17:24:48.177797 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:48.177917 select * from invoice_tag_test [] gorptest: 17:24:48.178016 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:48.184086 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:24:48.184223 delete from alias_trans_field_test [] gorptest: 17:24:48.188246 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 17:24:48.192002 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:48.192095 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 2673323274256089865" 2:1] gorptest: 17:24:48.195694 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:48.195794 select * from alias_trans_field_test [] gorptest: 17:24:48.195863 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:48.202480 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:24:48.202603 drop table if exists "invoice_test"; [] gorptest: 17:24:48.208675 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.215726 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.222266 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.226426 drop table if exists "person_test"; [] gorptest: 17:24:48.231462 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.235763 drop table if exists "id_created_test"; [] gorptest: 17:24:48.239818 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.243550 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.247921 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.252518 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.256384 drop table if exists "time_test"; [] gorptest: 17:24:48.260637 drop table if exists "id_created_test"; [] 2025/03/25 17:24:48 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:24:48.260885 drop table if exists "invoice_test"; [] gorptest: 17:24:48.261158 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.261186 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.261212 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.261237 drop table if exists "person_test"; [] gorptest: 17:24:48.261262 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.261287 drop table if exists "id_created_test"; [] gorptest: 17:24:48.261311 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.261335 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.261360 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.261384 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.261408 drop table if exists "time_test"; [] gorptest: 17:24:48.261443 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:48.265568 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:24:48.269957 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:48.274002 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:24:48.277781 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:24:48.281525 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.285809 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.289575 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:48.293290 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:48.302712 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:48.307121 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:48.310831 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:48.314436 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 17:24:48.318092 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:24:48.318190 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:24:48.321961 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:24:48.322017 drop table if exists "invoice_test"; [] gorptest: 17:24:48.328721 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.332852 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.342056 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.346481 drop table if exists "person_test"; [] gorptest: 17:24:48.357470 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.368650 drop table if exists "id_created_test"; [] gorptest: 17:24:48.380114 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.388908 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.393599 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.398346 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.402999 drop table if exists "time_test"; [] gorptest: 17:24:48.407853 drop table if exists "id_created_test"; [] 2025/03/25 17:24:48 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:24:48.408301 drop table if exists "invoice_test"; [] gorptest: 17:24:48.408755 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.408802 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.408842 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.408882 drop table if exists "person_test"; [] gorptest: 17:24:48.408925 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.408971 drop table if exists "id_created_test"; [] gorptest: 17:24:48.409011 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.409050 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.409088 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.409127 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.409166 drop table if exists "time_test"; [] gorptest: 17:24:48.409217 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:48.413739 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:24:48.418204 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:48.423182 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:24:48.428040 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:24:48.432692 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.439552 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.444978 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:48.449777 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:48.455064 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:48.459695 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:48.464502 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:48.469418 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:24:48.474074 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:24:48.474317 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:24:48.478959 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:24:48.479210 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:24:48.484047 drop table if exists "invoice_test"; [] gorptest: 17:24:48.489058 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.493841 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.498536 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.503195 drop table if exists "person_test"; [] gorptest: 17:24:48.507781 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.512480 drop table if exists "id_created_test"; [] gorptest: 17:24:48.516867 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.521355 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.525925 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.530443 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.535266 drop table if exists "time_test"; [] gorptest: 17:24:48.539547 drop table if exists "id_created_test"; [] 2025/03/25 17:24:48 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:24:48.539920 drop table if exists "invoice_test"; [] gorptest: 17:24:48.540355 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.540399 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.540440 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.540481 drop table if exists "person_test"; [] gorptest: 17:24:48.540528 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.540572 drop table if exists "id_created_test"; [] gorptest: 17:24:48.540617 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.540663 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.540703 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.540744 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.540787 drop table if exists "time_test"; [] gorptest: 17:24:48.540839 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:48.545637 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:24:48.550831 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:48.555403 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:24:48.562642 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:24:48.576472 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.595506 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.643262 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:48.671872 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:48.719030 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:48.725260 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:48.731890 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:48.736915 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 17:24:48.743521 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:24:48.743739 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 17:24:48.749655 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:24:48.749803 select * from embedded_struct_test [] gorptest: 17:24:48.749909 drop table if exists "invoice_test"; [] gorptest: 17:24:48.755514 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.761597 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.765635 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.769690 drop table if exists "person_test"; [] gorptest: 17:24:48.775700 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.782171 drop table if exists "id_created_test"; [] gorptest: 17:24:48.787232 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.791267 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.795289 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.799881 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.804155 drop table if exists "time_test"; [] gorptest: 17:24:48.808445 drop table if exists "id_created_test"; [] 2025/03/25 17:24:48 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:24:48.808893 drop table if exists "invoice_test"; [] gorptest: 17:24:48.809228 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.809273 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.809321 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.809369 drop table if exists "person_test"; [] gorptest: 17:24:48.809412 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.809456 drop table if exists "id_created_test"; [] gorptest: 17:24:48.809625 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.809669 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.809708 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.809752 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.809797 drop table if exists "time_test"; [] gorptest: 17:24:48.809848 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:48.813965 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:24:48.817868 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:48.821873 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:24:48.825909 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:24:48.829877 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.833808 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.837776 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:48.841701 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:48.845586 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:48.849491 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:48.853375 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:48.858889 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 17:24:48.865311 drop table if exists "invoice_test"; [] gorptest: 17:24:48.871600 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.875702 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.879763 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.884137 drop table if exists "person_test"; [] gorptest: 17:24:48.888041 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.892053 drop table if exists "id_created_test"; [] gorptest: 17:24:48.895911 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.899764 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.903652 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.907589 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.912376 drop table if exists "time_test"; [] gorptest: 17:24:48.915618 drop table if exists "id_created_test"; [] 2025/03/25 17:24:48 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:24:48.915861 drop table if exists "invoice_test"; [] gorptest: 17:24:48.916136 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.916165 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.916192 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.916218 drop table if exists "person_test"; [] gorptest: 17:24:48.916244 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.916269 drop table if exists "id_created_test"; [] gorptest: 17:24:48.916295 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.916321 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.916347 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:48.916373 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:48.916399 drop table if exists "time_test"; [] gorptest: 17:24:48.916433 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:48.919814 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:24:48.923254 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:48.926760 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:24:48.930246 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:24:48.933588 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.936859 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:48.940221 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:48.943829 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:48.947615 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:48.951226 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:48.954900 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:48.958681 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 17:24:48.962254 drop table if exists "invoice_test"; [] gorptest: 17:24:48.965696 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:48.969131 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:48.972568 drop table if exists "invoice_override_test"; [] gorptest: 17:24:48.975985 drop table if exists "person_test"; [] gorptest: 17:24:48.979362 drop table if exists "ignored_column_test"; [] gorptest: 17:24:48.982688 drop table if exists "id_created_test"; [] gorptest: 17:24:48.985913 drop table if exists "type_conv_test"; [] gorptest: 17:24:48.991809 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:48.997225 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.002760 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.009684 drop table if exists "time_test"; [] gorptest: 17:24:49.013911 drop table if exists "id_created_test"; [] gorptest: 17:24:49.014175 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:24:49.020515 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:24:49.024901 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:24:49.024991 select count(*) from TableWithNull [] gorptest: 17:24:49.025042 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:24:49.025090 select Int64 from TableWithNull where Str='notfound' [] gorptest: 17:24:49.025131 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:24:49.025172 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:24:49.025211 select min(Float64) from TableWithNull [] gorptest: 17:24:49.025258 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:24:49.025305 select Float64 from TableWithNull where Str='notfound' [] gorptest: 17:24:49.025344 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:24:49.025386 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:24:49.025427 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:24:49.025466 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:24:49.025506 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:24:49.025581 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 17:24:49.025628 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:24:49.025675 drop table if exists "TableWithNull"; [] 2025/03/25 17:24:49 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:24:49.031849 drop table if exists "invoice_test"; [] gorptest: 17:24:49.032083 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:49.032114 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:49.032143 drop table if exists "invoice_override_test"; [] gorptest: 17:24:49.032171 drop table if exists "person_test"; [] gorptest: 17:24:49.032199 drop table if exists "ignored_column_test"; [] gorptest: 17:24:49.032227 drop table if exists "id_created_test"; [] gorptest: 17:24:49.032254 drop table if exists "type_conv_test"; [] gorptest: 17:24:49.032281 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:49.032309 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.032337 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.032364 drop table if exists "time_test"; [] gorptest: 17:24:49.032400 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:49.037012 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:24:49.041273 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:49.047447 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:24:49.052822 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:24:49.057658 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.063827 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.067843 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:49.072203 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:49.078081 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:49.083379 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:49.092717 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:49.100476 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923489100426428 2:1742923489100426428 3:"Bob" 4:"Smith" 5:1] gorptest: 17:24:49.107137 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923489106974680 2:1742923489106974680 3:"Jane" 4:"Smith" 5:1] gorptest: 17:24:49.113598 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923489113566435 2:1742923489113566435 3:"Mike" 4:"Smith" 5:1] gorptest: 17:24:49.130110 drop table if exists "invoice_test"; [] gorptest: 17:24:49.135538 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:49.142030 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:49.147110 drop table if exists "invoice_override_test"; [] gorptest: 17:24:49.152122 drop table if exists "person_test"; [] gorptest: 17:24:49.157673 drop table if exists "ignored_column_test"; [] gorptest: 17:24:49.165264 drop table if exists "id_created_test"; [] gorptest: 17:24:49.171365 drop table if exists "type_conv_test"; [] gorptest: 17:24:49.176888 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:49.181286 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.185564 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.192099 drop table if exists "time_test"; [] gorptest: 17:24:49.219114 drop table if exists "id_created_test"; [] gorptest: 17:24:49.219472 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 17:24:49.252939 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 17:24:49.296494 drop table if exists "string_pk_test"; [] 2025/03/25 17:24:49 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:24:49.375188 drop table if exists "invoice_test"; [] gorptest: 17:24:49.375747 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:49.375797 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:49.375838 drop table if exists "invoice_override_test"; [] gorptest: 17:24:49.375882 drop table if exists "person_test"; [] gorptest: 17:24:49.375925 drop table if exists "ignored_column_test"; [] gorptest: 17:24:49.375970 drop table if exists "id_created_test"; [] gorptest: 17:24:49.376013 drop table if exists "type_conv_test"; [] gorptest: 17:24:49.376052 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:49.376095 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.376136 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.376176 drop table if exists "time_test"; [] gorptest: 17:24:49.376231 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:49.380495 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:24:49.384618 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:49.463417 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:24:49.488672 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:24:49.493063 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.556975 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.564653 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:49.575515 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:49.595357 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:49.600470 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:49.604666 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:49.608822 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:53:49.608789635 +0000 UTC] gorptest: 17:24:49.612606 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:54:50.608789635 +0000 UTC] gorptest: 17:24:49.616523 SELECT id FROM time_test WHERE Time < ? [1:2025-03-25 16:54:49.608789635 +0000 UTC] gorptest: 17:24:49.616674 drop table if exists "invoice_test"; [] gorptest: 17:24:49.620629 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:49.636263 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:49.646155 drop table if exists "invoice_override_test"; [] gorptest: 17:24:49.653191 drop table if exists "person_test"; [] gorptest: 17:24:49.660815 drop table if exists "ignored_column_test"; [] gorptest: 17:24:49.673241 drop table if exists "id_created_test"; [] gorptest: 17:24:49.689515 drop table if exists "type_conv_test"; [] gorptest: 17:24:49.698894 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:49.703577 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.712722 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.716601 drop table if exists "time_test"; [] gorptest: 17:24:49.720461 drop table if exists "id_created_test"; [] 2025/03/25 17:24:49 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:24:49.720830 drop table if exists "invoice_test"; [] gorptest: 17:24:49.721230 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:49.721302 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:49.721347 drop table if exists "invoice_override_test"; [] gorptest: 17:24:49.721387 drop table if exists "person_test"; [] gorptest: 17:24:49.721426 drop table if exists "ignored_column_test"; [] gorptest: 17:24:49.721464 drop table if exists "id_created_test"; [] gorptest: 17:24:49.721502 drop table if exists "type_conv_test"; [] gorptest: 17:24:49.721541 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:49.721579 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.721618 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.721657 drop table if exists "time_test"; [] gorptest: 17:24:49.721708 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:49.725828 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:24:49.735746 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:49.751847 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:24:49.759688 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:24:49.763025 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.766244 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.769361 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:49.772486 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:49.775563 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:49.778824 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:49.782100 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:49.785250 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923489785231745 2:1742923489785231745 3:"bob" 4:"smith" 5:1] gorptest: 17:24:49.788526 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:24:49.791614 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:24:49.791730 drop table if exists "invoice_test"; [] gorptest: 17:24:49.800478 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:49.808132 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:49.819541 drop table if exists "invoice_override_test"; [] gorptest: 17:24:49.824867 drop table if exists "person_test"; [] gorptest: 17:24:49.836070 drop table if exists "ignored_column_test"; [] gorptest: 17:24:49.845617 drop table if exists "id_created_test"; [] gorptest: 17:24:49.851260 drop table if exists "type_conv_test"; [] gorptest: 17:24:49.854560 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:49.857812 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.861141 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.864329 drop table if exists "time_test"; [] gorptest: 17:24:49.867642 drop table if exists "id_created_test"; [] 2025/03/25 17:24:49 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:24:49.867908 drop table if exists "invoice_test"; [] gorptest: 17:24:49.868186 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:49.868215 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:49.868241 drop table if exists "invoice_override_test"; [] gorptest: 17:24:49.868266 drop table if exists "person_test"; [] gorptest: 17:24:49.868292 drop table if exists "ignored_column_test"; [] gorptest: 17:24:49.868317 drop table if exists "id_created_test"; [] gorptest: 17:24:49.868342 drop table if exists "type_conv_test"; [] gorptest: 17:24:49.868368 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:49.868392 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:49.868418 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:49.868442 drop table if exists "time_test"; [] gorptest: 17:24:49.868475 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:49.871795 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:24:49.875039 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:49.878334 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:24:49.881681 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:24:49.884995 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.888381 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:49.891598 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:49.894838 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:49.898120 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:49.901321 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:49.904491 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/03/25 17:24:50 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:24:50.021219 drop table if exists "invoice_test"; [] gorptest: 17:24:50.021466 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.021494 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.021520 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.021546 drop table if exists "person_test"; [] gorptest: 17:24:50.021571 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.021596 drop table if exists "id_created_test"; [] gorptest: 17:24:50.021621 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.021645 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.021671 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.021695 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.021720 drop table if exists "time_test"; [] gorptest: 17:24:50.021754 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:50.032772 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:24:50.051461 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:50.057089 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:24:50.061617 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:24:50.075461 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.082397 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.093993 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:50.104546 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:50.113874 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:50.121266 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:50.127074 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:50.134885 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923490134863863 2:1742923490134863863 3:"bob" 4:"smith" 5:1] gorptest: 17:24:50.140355 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923490140342491 2:1742923490140342491 3:"jane" 4:"doe" 5:1] gorptest: 17:24:50.143653 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:50.143747 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 17:24:50.143815 select * from person_test where Id=? [1:1] gorptest: 17:24:50.143886 select * from person_test order by fname asc [] gorptest: 17:24:50.143976 drop table if exists "invoice_test"; [] gorptest: 17:24:50.147196 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.158426 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.163399 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.175751 drop table if exists "person_test"; [] gorptest: 17:24:50.183610 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.190774 drop table if exists "id_created_test"; [] gorptest: 17:24:50.196042 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.201061 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.209958 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.217467 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.220947 drop table if exists "time_test"; [] gorptest: 17:24:50.224247 drop table if exists "id_created_test"; [] 2025/03/25 17:24:50 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:24:50.224466 drop table if exists "invoice_test"; [] gorptest: 17:24:50.224742 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.224770 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.224796 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.224821 drop table if exists "person_test"; [] gorptest: 17:24:50.224845 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.224870 drop table if exists "id_created_test"; [] gorptest: 17:24:50.224895 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.224919 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.224944 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.224969 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.224993 drop table if exists "time_test"; [] gorptest: 17:24:50.225026 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:50.228294 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:24:50.238546 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:50.252411 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:24:50.259254 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:24:50.266998 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.271190 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.284113 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:50.292106 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:50.302744 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:50.307360 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:50.311006 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:50.314241 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923490314218673 2:1742923490314218673 3:"bob" 4:"smith" 5:1] gorptest: 17:24:50.317399 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:24:50.317518 select * from person_test where Id=? [1:1] gorptest: 17:24:50.317606 select FName from person_test where Id=? [1:1] gorptest: 17:24:50.317649 select * from person_test where Id=? [1:1] gorptest: 17:24:50.317723 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 17:24:50.317787 select * from person_test where Id=? [1:-2222] gorptest: 17:24:50.317852 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923490317842216 2:1742923490317842216 3:"bob" 4:"smith" 5:1] gorptest: 17:24:50.320926 select * from person_test where Fname='bob' [] gorptest: 17:24:50.321036 select * from person_test where Id=-123 [] gorptest: 17:24:50.321080 select * from person_test where Id=-123 [] gorptest: 17:24:50.321118 select * from person_test where Id=-123 [] gorptest: 17:24:50.321154 select * from person_test where Id=-123 [] gorptest: 17:24:50.321192 drop table if exists "invoice_test"; [] gorptest: 17:24:50.324253 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.327414 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.330658 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.333887 drop table if exists "person_test"; [] gorptest: 17:24:50.363348 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.376117 drop table if exists "id_created_test"; [] gorptest: 17:24:50.381610 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.387340 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.392634 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.397647 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.403746 drop table if exists "time_test"; [] gorptest: 17:24:50.407832 drop table if exists "id_created_test"; [] 2025/03/25 17:24:50 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:24:50.408106 drop table if exists "invoice_test"; [] gorptest: 17:24:50.408394 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.408423 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.408449 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.408475 drop table if exists "person_test"; [] gorptest: 17:24:50.408500 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.408525 drop table if exists "id_created_test"; [] gorptest: 17:24:50.408550 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.408575 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.408600 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.408625 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.408650 drop table if exists "time_test"; [] gorptest: 17:24:50.408683 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:50.414969 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:24:50.420985 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:50.426714 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:24:50.431974 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:24:50.435098 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.438955 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.443035 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:50.447292 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:50.452372 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:50.456609 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:50.461113 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:50.465585 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 17:24:50.471619 select * from id_created_test where Id=1 [] gorptest: 17:24:50.471741 SELECT *, 1 AS external FROM id_created_test [] gorptest: 17:24:50.471817 drop table if exists "invoice_test"; [] gorptest: 17:24:50.476488 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.480781 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.485762 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.490090 drop table if exists "person_test"; [] gorptest: 17:24:50.496194 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.500598 drop table if exists "id_created_test"; [] gorptest: 17:24:50.503759 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.508021 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.514072 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.518641 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.523792 drop table if exists "time_test"; [] gorptest: 17:24:50.526992 drop table if exists "id_created_test"; [] 2025/03/25 17:24:50 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:24:50.527284 drop table if exists "invoice_test"; [] gorptest: 17:24:50.527559 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.527589 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.527616 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.527644 drop table if exists "person_test"; [] gorptest: 17:24:50.527670 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.527696 drop table if exists "id_created_test"; [] gorptest: 17:24:50.527721 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.527747 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.527774 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.527800 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.527826 drop table if exists "time_test"; [] gorptest: 17:24:50.527860 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:50.531230 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:24:50.537439 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:50.544515 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:24:50.549064 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:24:50.553500 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.559899 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.564305 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:50.569381 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:50.572785 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:50.578027 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:50.583077 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:50.588329 drop table if exists "invoice_test"; [] gorptest: 17:24:50.591680 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.597371 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.603144 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.607280 drop table if exists "person_test"; [] gorptest: 17:24:50.610652 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.615097 drop table if exists "id_created_test"; [] gorptest: 17:24:50.619180 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.625242 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.633220 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.640478 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.645721 drop table if exists "time_test"; [] gorptest: 17:24:50.650781 drop table if exists "id_created_test"; [] gorptest: 17:24:50.650862 drop table if exists "single_column_table"; [] gorptest: 17:24:50.650935 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:24:50.655091 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:24:50.659083 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:50.663214 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:24:50.667542 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:24:50.671683 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.675985 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.680913 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:50.684901 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:50.688895 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:24:50.692977 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:24:50.696943 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:50.701292 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:24:50.701395 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 17:24:50.706483 delete from "invoice_test"; [] gorptest: 17:24:50.711161 delete from "invoice_tag_test"; [] gorptest: 17:24:50.715919 delete from "alias_trans_field_test"; [] gorptest: 17:24:50.720763 delete from "invoice_override_test"; [] gorptest: 17:24:50.725437 delete from "person_test"; [] gorptest: 17:24:50.731399 delete from "ignored_column_test"; [] gorptest: 17:24:50.736299 delete from "id_created_test"; [] gorptest: 17:24:50.742500 delete from "type_conv_test"; [] gorptest: 17:24:50.747342 delete from "embedded_struct_test"; [] gorptest: 17:24:50.752082 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.756795 delete from "embedded_autoincr_test"; [] gorptest: 17:24:50.761567 delete from "time_test"; [] gorptest: 17:24:50.766292 delete from "id_created_test"; [] gorptest: 17:24:50.771111 delete from "single_column_table"; [] gorptest: 17:24:50.776089 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 17:24:50.776258 drop table if exists "invoice_test"; [] gorptest: 17:24:50.780902 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.785197 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.789355 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.793381 drop table if exists "person_test"; [] gorptest: 17:24:50.797436 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.801492 drop table if exists "id_created_test"; [] gorptest: 17:24:50.806055 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.810509 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.814644 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.818760 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.822757 drop table if exists "time_test"; [] gorptest: 17:24:50.826728 drop table if exists "id_created_test"; [] gorptest: 17:24:50.826818 drop table if exists "single_column_table"; [] 2025/03/25 17:24:50 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:24:50.831308 drop table if exists "invoice_test"; [] gorptest: 17:24:50.831679 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.831727 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.831773 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.831821 drop table if exists "person_test"; [] gorptest: 17:24:50.831869 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.831915 drop table if exists "id_created_test"; [] gorptest: 17:24:50.831959 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.832008 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.832057 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.832108 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.832169 drop table if exists "time_test"; [] gorptest: 17:24:50.832228 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:24:50.836523 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:24:50.840660 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:24:50.849501 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:24:50.854416 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:24:50.859635 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.864836 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:24:50.870099 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:24:50.875493 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:24:50.880755 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:24:50.888013 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:24:50.893301 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:24:50.898276 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:24:50.903188 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:24:50.907751 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 17:24:50.912020 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 17:24:50.912248 begin; [] gorptest: 17:24:50.912295 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 17:24:50.912486 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:24:50.913054 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:24:50.913185 commit; [] gorptest: 17:24:50.916992 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:24:50.917140 drop table if exists "invoice_test"; [] gorptest: 17:24:50.921050 drop table if exists "invoice_tag_test"; [] gorptest: 17:24:50.925032 drop table if exists "alias_trans_field_test"; [] gorptest: 17:24:50.928871 drop table if exists "invoice_override_test"; [] gorptest: 17:24:50.932846 drop table if exists "person_test"; [] gorptest: 17:24:50.936773 drop table if exists "ignored_column_test"; [] gorptest: 17:24:50.940906 drop table if exists "id_created_test"; [] gorptest: 17:24:50.944715 drop table if exists "type_conv_test"; [] gorptest: 17:24:50.948558 drop table if exists "embedded_struct_test"; [] gorptest: 17:24:50.952509 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:24:50.956177 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:24:50.959887 drop table if exists "time_test"; [] gorptest: 17:24:50.963736 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 5.180s + 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.hJayz0 + 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.yITpBN + 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