Mock Version: 6.1 Mock Version: 6.1 Mock Version: 6.1 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-58424699-6565297/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.gxybngqr:/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.gxybngqr:/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', '06638797b73145afb23ea2b9fa883ffb', '-D', '/var/lib/mock/f43-build-58424699-6565297/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxybngqr:/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-58424699-6565297/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.gxybngqr:/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.gxybngqr:/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', '35f4382bc2684317910bab99e7950553', '-D', '/var/lib/mock/f43-build-58424699-6565297/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxybngqr:/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.F3OtiR Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bilZ33 + 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.eJLUJH + 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.4EpbMg + 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/04/01 13:47:23 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: 13:47:23.542465 drop table if exists "invoice_test"; [] gorptest: 13:47:23.543196 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:23.543278 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:23.543321 drop table if exists "invoice_override_test"; [] gorptest: 13:47:23.543363 drop table if exists "person_test"; [] gorptest: 13:47:23.543412 drop table if exists "ignored_column_test"; [] gorptest: 13:47:23.543456 drop table if exists "id_created_test"; [] gorptest: 13:47:23.543497 drop table if exists "type_conv_test"; [] gorptest: 13:47:23.543538 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:23.543579 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:23.543618 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:23.543667 drop table if exists "time_test"; [] gorptest: 13:47:23.543728 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:23.548701 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: 13:47:23.552586 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:23.556317 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:23.560274 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:23.563537 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.567230 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.584014 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:23.588033 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:23.591566 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:23.595408 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:23.599405 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:23.602741 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: 13:47:23.602817 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: 13:47:23.602876 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:23.602929 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: 13:47:23.602983 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: 13:47:23.603032 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.603078 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.603127 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:23.603227 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:23.603278 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:23.603328 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: 13:47:23.603375 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:23.603421 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 13:47:23.603465 drop table if exists "invoice_test"; [] gorptest: 13:47:23.608227 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:23.614256 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:23.617603 drop table if exists "invoice_override_test"; [] gorptest: 13:47:23.621422 drop table if exists "person_test"; [] gorptest: 13:47:23.625705 drop table if exists "ignored_column_test"; [] gorptest: 13:47:23.631035 drop table if exists "id_created_test"; [] gorptest: 13:47:23.635030 drop table if exists "type_conv_test"; [] gorptest: 13:47:23.642789 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:23.650678 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:23.659516 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:23.667850 drop table if exists "time_test"; [] gorptest: 13:47:23.673083 drop table if exists "id_created_test"; [] 2025/04/01 13:47:23 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: 13:47:23.673601 drop table if exists "invoice_test"; [] gorptest: 13:47:23.673920 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:23.673962 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:23.674002 drop table if exists "invoice_override_test"; [] gorptest: 13:47:23.674040 drop table if exists "person_test"; [] gorptest: 13:47:23.674078 drop table if exists "ignored_column_test"; [] gorptest: 13:47:23.674116 drop table if exists "id_created_test"; [] gorptest: 13:47:23.674153 drop table if exists "type_conv_test"; [] gorptest: 13:47:23.674191 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:23.674228 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:23.674266 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:23.674303 drop table if exists "time_test"; [] gorptest: 13:47:23.674353 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:23.686158 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: 13:47:23.697822 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:23.702834 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:23.710439 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:23.714227 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.722277 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.730646 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:23.740587 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:23.748296 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:23.755300 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:23.762735 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:23.767973 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: 13:47:23.768076 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: 13:47:23.768134 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:23.768188 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: 13:47:23.768241 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: 13:47:23.768289 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.768335 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:23.768383 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:23.768432 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:23.768481 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:23.768530 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: 13:47:23.768577 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:23.768623 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 13:47:23.768740 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515243768670751 2:1743515243768670751 3:"Bob" 4:"Smith" 5:1] gorptest: 13:47:23.775198 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 13:47:23.779804 delete from "invoice_test"; [] gorptest: 13:47:23.784277 delete from "invoice_tag_test"; [] gorptest: 13:47:23.796759 delete from "alias_trans_field_test"; [] gorptest: 13:47:23.807341 delete from "invoice_override_test"; [] gorptest: 13:47:23.815972 delete from "person_test"; [] gorptest: 13:47:23.821983 delete from "ignored_column_test"; [] gorptest: 13:47:23.829418 delete from "id_created_test"; [] gorptest: 13:47:23.836804 delete from "type_conv_test"; [] gorptest: 13:47:23.847094 delete from "embedded_struct_test"; [] gorptest: 13:47:23.858115 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:23.863545 delete from "embedded_autoincr_test"; [] gorptest: 13:47:23.871673 delete from "time_test"; [] gorptest: 13:47:23.883975 delete from "id_created_test"; [] gorptest: 13:47:23.893557 SELECT * FROM person_test [] gorptest: 13:47:23.893894 SELECT * FROM invoice_test [] gorptest: 13:47:23.893988 drop table if exists "invoice_test"; [] gorptest: 13:47:23.902608 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:23.910725 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:23.915409 drop table if exists "invoice_override_test"; [] gorptest: 13:47:23.920833 drop table if exists "person_test"; [] gorptest: 13:47:23.927614 drop table if exists "ignored_column_test"; [] gorptest: 13:47:23.933162 drop table if exists "id_created_test"; [] gorptest: 13:47:23.941523 drop table if exists "type_conv_test"; [] gorptest: 13:47:23.952050 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:23.958785 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:23.966297 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:23.972790 drop table if exists "time_test"; [] gorptest: 13:47:23.979728 drop table if exists "id_created_test"; [] gorptest: 13:47:23.980091 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 13:47:23.985045 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-04-01 13:47:23 +0000 UTC] gorptest: 13:47:23.990628 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 13:47:23.990770 drop table if exists "WithCustomDate"; [] gorptest: 13:47:23.996581 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 13:47:24.005985 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 13:47:24.013774 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 13:47:24.022478 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 13:47:24.028854 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 13:47:24.039883 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 13:47:24.046616 drop table if exists "PersonUInt64"; [] gorptest: 13:47:24.054761 drop table if exists "PersonUInt32"; [] gorptest: 13:47:24.064797 drop table if exists "PersonUInt16"; [] gorptest: 13:47:24.072678 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 13:47:24.076890 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 13:47:24.083362 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 13:47:24.083526 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 13:47:24.083602 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 13:47:24.090776 drop table if exists "UniqueColumns"; [] gorptest: 13:47:24.105445 drop table if exists PersistentUser [] gorptest: 13:47:24.105905 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 13:47:24.115090 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 13:47:24.121331 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 13:47:24.121521 select * from PersistentUser [] gorptest: 13:47:24.121603 select * from PersistentUser [] gorptest: 13:47:24.121663 select * from PersistentUser [] gorptest: 13:47:24.121720 select Id from PersistentUser [] gorptest: 13:47:24.121756 select mykey from PersistentUser [] gorptest: 13:47:24.121808 select PassedTraining from PersistentUser [] gorptest: 13:47:24.121858 select Id from PersistentUser [] gorptest: 13:47:24.121894 drop table if exists "PersistentUser"; [] gorptest: 13:47:24.128685 drop table if exists PersistentUser [] gorptest: 13:47:24.128911 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 13:47:24.138494 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 13:47:24.146697 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 13:47:24.154915 select * from PersistentUser where mykey = ? [1:43] gorptest: 13:47:24.155113 select * from PersistentUser where mykey = ? [1:43] gorptest: 13:47:24.155280 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 13:47:24.155352 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 13:47:24.155406 drop table if exists "PersistentUser"; [] gorptest: 13:47:24.163992 drop table if exists PersistentUser [] gorptest: 13:47:24.164268 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 13:47:24.169362 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 13:47:24.176517 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 13:47:24.185070 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 13:47:24.185200 drop table if exists "PersistentUser"; [] 2025/04/01 13:47:24 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: 13:47:24.196089 drop table if exists "invoice_test"; [] gorptest: 13:47:24.196307 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:24.196422 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:24.196449 drop table if exists "invoice_override_test"; [] gorptest: 13:47:24.196472 drop table if exists "person_test"; [] gorptest: 13:47:24.196496 drop table if exists "ignored_column_test"; [] gorptest: 13:47:24.196520 drop table if exists "id_created_test"; [] gorptest: 13:47:24.196546 drop table if exists "type_conv_test"; [] gorptest: 13:47:24.196570 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:24.196593 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:24.196616 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:24.196638 drop table if exists "time_test"; [] gorptest: 13:47:24.196672 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:24.205101 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: 13:47:24.212796 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:24.222347 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:24.230998 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:24.237237 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:24.243215 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:24.247977 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:24.254103 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:24.260363 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:24.264979 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:24.270401 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:24.274933 select * from invoice_test where id=99999 [] gorptest: 13:47:24.275026 select * from invoice_test where id=99999 [] gorptest: 13:47:24.275077 drop table if exists "invoice_test"; [] gorptest: 13:47:24.280635 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:24.291607 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:24.301859 drop table if exists "invoice_override_test"; [] gorptest: 13:47:24.314815 drop table if exists "person_test"; [] gorptest: 13:47:24.322271 drop table if exists "ignored_column_test"; [] gorptest: 13:47:24.334883 drop table if exists "id_created_test"; [] gorptest: 13:47:24.345234 drop table if exists "type_conv_test"; [] gorptest: 13:47:24.351337 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:24.361244 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:24.377673 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:24.390230 drop table if exists "time_test"; [] gorptest: 13:47:24.403251 drop table if exists "id_created_test"; [] gorptest: 13:47:24.403454 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 13:47:24.415652 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: 13:47:24.415820 drop table if exists "InvoicePersonView"; [] 2025/04/01 13:47:24 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: 13:47:24.429064 drop table if exists "invoice_test"; [] gorptest: 13:47:24.429251 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:24.429276 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:24.429299 drop table if exists "invoice_override_test"; [] gorptest: 13:47:24.429322 drop table if exists "person_test"; [] gorptest: 13:47:24.429345 drop table if exists "ignored_column_test"; [] gorptest: 13:47:24.429367 drop table if exists "id_created_test"; [] gorptest: 13:47:24.429390 drop table if exists "type_conv_test"; [] gorptest: 13:47:24.429412 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:24.429434 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:24.429456 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:24.429478 drop table if exists "time_test"; [] gorptest: 13:47:24.429507 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:24.436645 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: 13:47:24.442714 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:24.450426 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:24.464199 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:24.471946 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:24.480052 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:24.495517 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:24.502171 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:24.513657 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:24.527584 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:24.536943 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:24.542999 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515244542905508 2:1743515244542905508 3:"Bob" 4:"Smith" 5:1] gorptest: 13:47:24.550835 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:24.550970 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1743515244542905508 2:1743515244542905508 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 13:47:24.558847 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1743515244542905508 2:1743515244542905508 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 13:47:24.558933 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:24.559005 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 13:47:24.559053 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:24.559106 drop table if exists "invoice_test"; [] gorptest: 13:47:24.567553 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:24.576976 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:24.585032 drop table if exists "invoice_override_test"; [] gorptest: 13:47:24.592235 drop table if exists "person_test"; [] gorptest: 13:47:24.601214 drop table if exists "ignored_column_test"; [] gorptest: 13:47:24.607592 drop table if exists "id_created_test"; [] gorptest: 13:47:24.615745 drop table if exists "type_conv_test"; [] gorptest: 13:47:24.623611 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:24.635426 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:24.644152 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:24.655580 drop table if exists "time_test"; [] gorptest: 13:47:24.665312 drop table if exists "id_created_test"; [] gorptest: 13:47:24.665672 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 13:47:24.672767 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 13:47:24.684524 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 13:47:24.684665 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: 13:47:24.691469 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 13:47:24.691555 drop table if exists "TableWithNull"; [] gorptest: 13:47:24.698496 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 13:47:24.706259 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 13:47:24.713992 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 13:47:24.714084 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 13:47:24.714143 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 13:47:24.714247 drop table if exists "Invoice"; [] 2025/04/01 13:47:24 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: 13:47:24.718386 drop table if exists "invoice_test"; [] gorptest: 13:47:24.718567 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:24.718594 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:24.718619 drop table if exists "invoice_override_test"; [] gorptest: 13:47:24.718644 drop table if exists "person_test"; [] gorptest: 13:47:24.718667 drop table if exists "ignored_column_test"; [] gorptest: 13:47:24.718691 drop table if exists "id_created_test"; [] gorptest: 13:47:24.718715 drop table if exists "type_conv_test"; [] gorptest: 13:47:24.718739 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:24.718763 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:24.718787 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:24.718810 drop table if exists "time_test"; [] gorptest: 13:47:24.718839 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:24.724316 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: 13:47:24.729875 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:24.735175 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:24.740048 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:24.744059 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:24.752396 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:24.759167 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:24.775185 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:24.781892 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:24.791816 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:24.796796 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:24.808011 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515244807990521 2:1743515244807990521 3:"bob" 4:"smith" 5:1] gorptest: 13:47:24.819319 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 13:47:24.825074 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 13:47:24.825205 drop table if exists "invoice_test"; [] gorptest: 13:47:24.828787 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:24.838795 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:24.850889 drop table if exists "invoice_override_test"; [] gorptest: 13:47:24.864593 drop table if exists "person_test"; [] gorptest: 13:47:24.873414 drop table if exists "ignored_column_test"; [] gorptest: 13:47:24.884397 drop table if exists "id_created_test"; [] gorptest: 13:47:24.888512 drop table if exists "type_conv_test"; [] gorptest: 13:47:24.894747 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:24.902842 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:24.908689 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:24.932969 drop table if exists "time_test"; [] gorptest: 13:47:24.945506 drop table if exists "id_created_test"; [] 2025/04/01 13:47:24 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: 13:47:24.945802 drop table if exists "invoice_test"; [] gorptest: 13:47:24.946004 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:24.946029 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:24.946052 drop table if exists "invoice_override_test"; [] gorptest: 13:47:24.946075 drop table if exists "person_test"; [] gorptest: 13:47:24.946099 drop table if exists "ignored_column_test"; [] gorptest: 13:47:24.946121 drop table if exists "id_created_test"; [] gorptest: 13:47:24.946144 drop table if exists "type_conv_test"; [] gorptest: 13:47:24.946166 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:24.946188 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:24.946211 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:24.946233 drop table if exists "time_test"; [] gorptest: 13:47:24.946264 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:24.957805 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: 13:47:24.993537 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:25.032803 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.053666 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:25.061704 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.068547 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.078006 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:25.087973 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:25.108637 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:25.117727 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:25.130315 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:25.139166 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515245139089792 2:1743515245139089792 3:"bob" 4:"smith" 5:1] gorptest: 13:47:25.147962 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:25.148103 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1743515245139089792 2:1743515245139089792 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 13:47:25.157130 select * from person_test where id = ? [1:1] gorptest: 13:47:25.157236 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 13:47:25.162452 drop table if exists "invoice_test"; [] gorptest: 13:47:25.169533 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.178440 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.186388 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.195739 drop table if exists "person_test"; [] gorptest: 13:47:25.203861 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.212539 drop table if exists "id_created_test"; [] gorptest: 13:47:25.223836 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.232473 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.244014 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.253862 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.267920 drop table if exists "time_test"; [] gorptest: 13:47:25.278608 drop table if exists "id_created_test"; [] 2025/04/01 13:47:25 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: 13:47:25.278917 drop table if exists "invoice_test"; [] gorptest: 13:47:25.279128 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.279152 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.279174 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.279196 drop table if exists "person_test"; [] gorptest: 13:47:25.279218 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.279239 drop table if exists "id_created_test"; [] gorptest: 13:47:25.279260 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.279281 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.279302 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.279324 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.279344 drop table if exists "time_test"; [] gorptest: 13:47:25.279375 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.288710 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: 13:47:25.294080 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:25.299569 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.304715 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:25.310364 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.316174 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.321933 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:25.331658 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:25.341460 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:25.351850 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:25.361313 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:25.365755 begin; [] gorptest: 13:47:25.365840 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 13:47:25.366025 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 13:47:25.366051 commit; [] gorptest: 13:47:25.371176 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:25.371277 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 13:47:25.371328 drop table if exists "invoice_test"; [] gorptest: 13:47:25.378618 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.387413 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.394078 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.402403 drop table if exists "person_test"; [] gorptest: 13:47:25.413056 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.423511 drop table if exists "id_created_test"; [] gorptest: 13:47:25.429256 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.434271 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.440656 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.446024 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.454955 drop table if exists "time_test"; [] gorptest: 13:47:25.460855 drop table if exists "id_created_test"; [] 2025/04/01 13:47:25 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: 13:47:25.461115 drop table if exists "invoice_test"; [] gorptest: 13:47:25.461377 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.461427 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.461518 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.461546 drop table if exists "person_test"; [] gorptest: 13:47:25.461572 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.461598 drop table if exists "id_created_test"; [] gorptest: 13:47:25.461625 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.461650 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.461676 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.461702 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.461731 drop table if exists "time_test"; [] gorptest: 13:47:25.461767 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.465592 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: 13:47:25.473991 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:25.480019 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.487073 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:25.494902 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.503721 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.510918 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:25.519995 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:25.528154 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:25.536172 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:25.543438 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:25.549895 begin; [] gorptest: 13:47:25.550010 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 13:47:25.550174 select memo from invoice_test [] gorptest: 13:47:25.550240 savepoint "foo" [1:] gorptest: 13:47:25.550253 select memo from invoice_test [] gorptest: 13:47:25.550289 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 13:47:25.550322 select memo from invoice_test [] gorptest: 13:47:25.550364 rollback to savepoint "foo" [1:] gorptest: 13:47:25.550380 select memo from invoice_test [] gorptest: 13:47:25.550401 rollback; [] gorptest: 13:47:25.550490 drop table if exists "invoice_test"; [] gorptest: 13:47:25.555519 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.562219 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.570532 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.577373 drop table if exists "person_test"; [] gorptest: 13:47:25.586031 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.593801 drop table if exists "id_created_test"; [] gorptest: 13:47:25.606169 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.617611 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.626475 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.635391 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.646889 drop table if exists "time_test"; [] gorptest: 13:47:25.657986 drop table if exists "id_created_test"; [] 2025/04/01 13:47:25 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: 13:47:25.658415 drop table if exists "invoice_test"; [] gorptest: 13:47:25.658767 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.658809 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.658848 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.658886 drop table if exists "person_test"; [] gorptest: 13:47:25.658923 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.658961 drop table if exists "id_created_test"; [] gorptest: 13:47:25.658997 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.659034 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.659071 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.659108 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.659145 drop table if exists "time_test"; [] gorptest: 13:47:25.659196 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.670442 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: 13:47:25.678860 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:25.693508 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.707618 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:25.716136 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.732698 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:25.744767 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:25.754576 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:25.763297 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:25.773383 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:25.786305 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:25.800225 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 13:47:25.809778 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 13:47:25.818638 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 13:47:25.828521 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 13:47:25.835595 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:25.842111 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 13:47:25.853449 drop table if exists "invoice_test"; [] gorptest: 13:47:25.861095 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.871987 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.881019 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.891952 drop table if exists "person_test"; [] gorptest: 13:47:25.903286 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.913043 drop table if exists "id_created_test"; [] gorptest: 13:47:25.923577 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.936750 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.950019 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.958740 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.969910 drop table if exists "time_test"; [] gorptest: 13:47:25.981189 drop table if exists "id_created_test"; [] 2025/04/01 13:47:25 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: 13:47:25.981749 drop table if exists "invoice_test"; [] gorptest: 13:47:25.982113 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:25.982157 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:25.982197 drop table if exists "invoice_override_test"; [] gorptest: 13:47:25.982236 drop table if exists "person_test"; [] gorptest: 13:47:25.982275 drop table if exists "ignored_column_test"; [] gorptest: 13:47:25.982312 drop table if exists "id_created_test"; [] gorptest: 13:47:25.982352 drop table if exists "type_conv_test"; [] gorptest: 13:47:25.982395 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:25.982455 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:25.982497 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:25.982535 drop table if exists "time_test"; [] gorptest: 13:47:25.982600 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:25.992601 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: 13:47:25.998615 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:26.005319 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:26.013713 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:26.021581 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.028219 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.036138 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:26.043487 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:26.051347 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:26.057153 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:26.064328 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:26.070068 delete from invoice_test [] gorptest: 13:47:26.077543 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 13:47:26.083841 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:26.084005 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:523509282479933297 2:3716913426637403690 3:"random 1602028140561790368" 4:0 5:true 6:1] gorptest: 13:47:26.091244 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:26.091329 select * from invoice_test [] gorptest: 13:47:26.091431 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:26.098266 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:26.098331 delete from invoice_tag_test [] gorptest: 13:47:26.107256 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: 13:47:26.114801 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:26.114941 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:401592648324435616 2:8636961905296394194 3:"random 9004766951167302651" 4:33 5:false 6:1] gorptest: 13:47:26.122622 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:26.122724 select * from invoice_tag_test [] gorptest: 13:47:26.122819 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:26.130555 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:26.130636 delete from alias_trans_field_test [] gorptest: 13:47:26.139949 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 13:47:26.146511 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:26.146618 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 4559919841633302885" 2:1] gorptest: 13:47:26.153467 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:26.153601 select * from alias_trans_field_test [] gorptest: 13:47:26.153668 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:26.160553 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:26.160632 drop table if exists "invoice_test"; [] gorptest: 13:47:26.167637 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.174116 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.182038 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.191817 drop table if exists "person_test"; [] gorptest: 13:47:26.234248 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.243831 drop table if exists "id_created_test"; [] gorptest: 13:47:26.250582 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.269828 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.278792 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.287443 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.294895 drop table if exists "time_test"; [] gorptest: 13:47:26.302491 drop table if exists "id_created_test"; [] 2025/04/01 13:47:26 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: 13:47:26.303254 drop table if exists "invoice_test"; [] gorptest: 13:47:26.303673 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.303704 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.303909 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.303944 drop table if exists "person_test"; [] gorptest: 13:47:26.303969 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.304004 drop table if exists "id_created_test"; [] gorptest: 13:47:26.304029 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.304353 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.304385 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.304411 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.304448 drop table if exists "time_test"; [] gorptest: 13:47:26.304484 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:26.314351 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: 13:47:26.322310 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:26.333189 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:26.342857 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:26.351661 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.358780 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.366945 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:26.374171 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:26.381616 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:26.388812 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:26.395021 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:26.400261 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 13:47:26.405738 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 13:47:26.405888 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 13:47:26.415862 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 13:47:26.415963 drop table if exists "invoice_test"; [] gorptest: 13:47:26.424539 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.434969 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.444931 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.450503 drop table if exists "person_test"; [] gorptest: 13:47:26.456110 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.462956 drop table if exists "id_created_test"; [] gorptest: 13:47:26.468993 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.474974 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.480437 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.486671 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.492378 drop table if exists "time_test"; [] gorptest: 13:47:26.497609 drop table if exists "id_created_test"; [] 2025/04/01 13:47:26 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: 13:47:26.498014 drop table if exists "invoice_test"; [] gorptest: 13:47:26.498260 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.498287 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.498313 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.498337 drop table if exists "person_test"; [] gorptest: 13:47:26.498361 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.498385 drop table if exists "id_created_test"; [] gorptest: 13:47:26.498409 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.498432 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.498456 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.498480 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.498504 drop table if exists "time_test"; [] gorptest: 13:47:26.498539 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:26.503890 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: 13:47:26.509128 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:26.514083 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:26.519102 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:26.524779 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.530776 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.537533 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:26.545913 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:26.553496 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:26.558292 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:26.562636 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:26.570280 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: 13:47:26.578415 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 13:47:26.578564 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: 13:47:26.584102 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 13:47:26.584198 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 13:47:26.592462 drop table if exists "invoice_test"; [] gorptest: 13:47:26.599798 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.604479 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.609572 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.618616 drop table if exists "person_test"; [] gorptest: 13:47:26.629742 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.638661 drop table if exists "id_created_test"; [] gorptest: 13:47:26.647293 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.653240 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.660186 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.672635 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.715757 drop table if exists "time_test"; [] gorptest: 13:47:26.723295 drop table if exists "id_created_test"; [] 2025/04/01 13:47:26 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: 13:47:26.723819 drop table if exists "invoice_test"; [] gorptest: 13:47:26.724196 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.724268 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.724308 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.724346 drop table if exists "person_test"; [] gorptest: 13:47:26.724384 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.724421 drop table if exists "id_created_test"; [] gorptest: 13:47:26.724458 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.724500 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.724539 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.724576 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.724613 drop table if exists "time_test"; [] gorptest: 13:47:26.724663 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:26.731545 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: 13:47:26.738221 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:26.745892 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:26.754297 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:26.766140 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.776140 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:26.790511 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:26.801573 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:26.810803 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:26.817124 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:26.821852 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:26.831808 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 13:47:26.841577 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 13:47:26.841853 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 13:47:26.854141 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 13:47:26.854355 select * from embedded_struct_test [] gorptest: 13:47:26.854490 drop table if exists "invoice_test"; [] gorptest: 13:47:26.864605 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.878136 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.887962 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.902774 drop table if exists "person_test"; [] gorptest: 13:47:26.914072 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.926287 drop table if exists "id_created_test"; [] gorptest: 13:47:26.935717 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.950957 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.961973 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.975917 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.986289 drop table if exists "time_test"; [] gorptest: 13:47:26.997282 drop table if exists "id_created_test"; [] 2025/04/01 13:47:26 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: 13:47:26.997635 drop table if exists "invoice_test"; [] gorptest: 13:47:26.997980 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:26.998021 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:26.998060 drop table if exists "invoice_override_test"; [] gorptest: 13:47:26.998098 drop table if exists "person_test"; [] gorptest: 13:47:26.998135 drop table if exists "ignored_column_test"; [] gorptest: 13:47:26.998172 drop table if exists "id_created_test"; [] gorptest: 13:47:26.998209 drop table if exists "type_conv_test"; [] gorptest: 13:47:26.998246 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:26.998282 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:26.998318 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:26.998355 drop table if exists "time_test"; [] gorptest: 13:47:26.998405 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.009066 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: 13:47:27.021153 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:27.031091 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.042671 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:27.056955 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.070634 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.081748 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:27.096668 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:27.108256 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:27.119024 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:27.126963 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:27.137622 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 13:47:27.146651 drop table if exists "invoice_test"; [] gorptest: 13:47:27.156186 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.166450 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.187579 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.192856 drop table if exists "person_test"; [] gorptest: 13:47:27.198961 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.203980 drop table if exists "id_created_test"; [] gorptest: 13:47:27.208764 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.212828 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.217050 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.222101 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.225902 drop table if exists "time_test"; [] gorptest: 13:47:27.229589 drop table if exists "id_created_test"; [] 2025/04/01 13:47:27 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: 13:47:27.230096 drop table if exists "invoice_test"; [] gorptest: 13:47:27.230503 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.230552 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.230592 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.230630 drop table if exists "person_test"; [] gorptest: 13:47:27.230668 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.230705 drop table if exists "id_created_test"; [] gorptest: 13:47:27.230741 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.230778 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.230815 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.230851 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.230889 drop table if exists "time_test"; [] gorptest: 13:47:27.230940 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.235989 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: 13:47:27.240427 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:27.244677 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.249288 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:27.253328 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.259366 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.264263 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:27.268726 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:27.272818 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:27.276897 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:27.281034 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:27.285141 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 13:47:27.290408 drop table if exists "invoice_test"; [] gorptest: 13:47:27.294124 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.297086 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.301047 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.306243 drop table if exists "person_test"; [] gorptest: 13:47:27.309612 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.313625 drop table if exists "id_created_test"; [] gorptest: 13:47:27.317745 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.322689 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.327184 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.330861 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.336484 drop table if exists "time_test"; [] gorptest: 13:47:27.341051 drop table if exists "id_created_test"; [] gorptest: 13:47:27.341570 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 13:47:27.345348 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: 13:47:27.349403 select Int64 from TableWithNull where Str='abc' [] gorptest: 13:47:27.349682 select count(*) from TableWithNull [] gorptest: 13:47:27.349735 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 13:47:27.349782 select Int64 from TableWithNull where Str='notfound' [] gorptest: 13:47:27.349824 select Int64 from TableWithNull where Str='abc' [] gorptest: 13:47:27.349863 select Float64 from TableWithNull where Str='abc' [] gorptest: 13:47:27.349902 select min(Float64) from TableWithNull [] gorptest: 13:47:27.349948 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 13:47:27.350531 select Float64 from TableWithNull where Str='notfound' [] gorptest: 13:47:27.350597 select Float64 from TableWithNull where Str='abc' [] gorptest: 13:47:27.350666 select Str from TableWithNull where Int64=? [1:78] gorptest: 13:47:27.350734 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 13:47:27.350795 select Str from TableWithNull where Int64=? [1:78] gorptest: 13:47:27.350854 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 13:47:27.350929 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 13:47:27.350997 select Str from TableWithNull where Int64=? [1:78] gorptest: 13:47:27.351062 drop table if exists "TableWithNull"; [] 2025/04/01 13:47:27 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: 13:47:27.356456 drop table if exists "invoice_test"; [] gorptest: 13:47:27.356684 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.356714 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.356742 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.356770 drop table if exists "person_test"; [] gorptest: 13:47:27.356800 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.356843 drop table if exists "id_created_test"; [] gorptest: 13:47:27.356871 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.356900 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.356926 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.356951 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.356976 drop table if exists "time_test"; [] gorptest: 13:47:27.357009 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.362131 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: 13:47:27.366084 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:27.369377 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.373603 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:27.377372 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.382137 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.385757 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:27.390067 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:27.394028 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:27.397573 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:27.406352 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:27.411124 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515247411098831 2:1743515247411098831 3:"Bob" 4:"Smith" 5:1] gorptest: 13:47:27.416119 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515247416086943 2:1743515247416086943 3:"Jane" 4:"Smith" 5:1] gorptest: 13:47:27.419766 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515247419752147 2:1743515247419752147 3:"Mike" 4:"Smith" 5:1] gorptest: 13:47:27.423284 drop table if exists "invoice_test"; [] gorptest: 13:47:27.427610 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.430746 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.434977 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.438278 drop table if exists "person_test"; [] gorptest: 13:47:27.444853 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.448325 drop table if exists "id_created_test"; [] gorptest: 13:47:27.451963 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.455202 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.460051 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.463384 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.466731 drop table if exists "time_test"; [] gorptest: 13:47:27.470023 drop table if exists "id_created_test"; [] gorptest: 13:47:27.470199 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 13:47:27.475230 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 13:47:27.478824 drop table if exists "string_pk_test"; [] 2025/04/01 13:47:27 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: 13:47:27.483687 drop table if exists "invoice_test"; [] gorptest: 13:47:27.483907 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.484022 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.484049 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.484074 drop table if exists "person_test"; [] gorptest: 13:47:27.484098 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.484123 drop table if exists "id_created_test"; [] gorptest: 13:47:27.484147 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.484174 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.484198 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.484222 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.484245 drop table if exists "time_test"; [] gorptest: 13:47:27.484278 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.487690 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: 13:47:27.490955 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:27.495852 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.499381 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:27.503056 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.508199 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.511775 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:27.518359 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:27.522344 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:27.525794 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:27.529052 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:27.532728 insert into "time_test" ("Id","Time") values (null,?); [1:2025-04-01 13:16:27.532708598 +0000 UTC] gorptest: 13:47:27.538976 insert into "time_test" ("Id","Time") values (null,?); [1:2025-04-01 13:17:28.532708598 +0000 UTC] gorptest: 13:47:27.543838 SELECT id FROM time_test WHERE Time < ? [1:2025-04-01 13:17:27.532708598 +0000 UTC] gorptest: 13:47:27.543935 drop table if exists "invoice_test"; [] gorptest: 13:47:27.549716 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.555383 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.563074 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.570606 drop table if exists "person_test"; [] gorptest: 13:47:27.577950 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.585501 drop table if exists "id_created_test"; [] gorptest: 13:47:27.595851 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.604372 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.612767 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.620162 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.625888 drop table if exists "time_test"; [] gorptest: 13:47:27.634728 drop table if exists "id_created_test"; [] 2025/04/01 13:47:27 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: 13:47:27.635079 drop table if exists "invoice_test"; [] gorptest: 13:47:27.635301 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.635328 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.635353 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.635377 drop table if exists "person_test"; [] gorptest: 13:47:27.635402 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.635429 drop table if exists "id_created_test"; [] gorptest: 13:47:27.635453 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.635476 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.635500 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.635524 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.635551 drop table if exists "time_test"; [] gorptest: 13:47:27.635585 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.643073 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: 13:47:27.651084 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:27.656497 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.666129 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:27.675206 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.685130 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.693815 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:27.701990 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:27.711987 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:27.723930 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:27.731726 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:27.740677 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515247740622214 2:1743515247740622214 3:"bob" 4:"smith" 5:1] gorptest: 13:47:27.748878 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 13:47:27.756675 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 13:47:27.756808 drop table if exists "invoice_test"; [] gorptest: 13:47:27.765675 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.771114 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.780457 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.788059 drop table if exists "person_test"; [] gorptest: 13:47:27.797758 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.806118 drop table if exists "id_created_test"; [] gorptest: 13:47:27.813532 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.822934 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.833708 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.842124 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.852660 drop table if exists "time_test"; [] gorptest: 13:47:27.859124 drop table if exists "id_created_test"; [] 2025/04/01 13:47:27 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: 13:47:27.859467 drop table if exists "invoice_test"; [] gorptest: 13:47:27.859700 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:27.859728 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:27.859753 drop table if exists "invoice_override_test"; [] gorptest: 13:47:27.859777 drop table if exists "person_test"; [] gorptest: 13:47:27.859801 drop table if exists "ignored_column_test"; [] gorptest: 13:47:27.859825 drop table if exists "id_created_test"; [] gorptest: 13:47:27.859849 drop table if exists "type_conv_test"; [] gorptest: 13:47:27.859872 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:27.859896 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:27.859919 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:27.859943 drop table if exists "time_test"; [] gorptest: 13:47:27.859978 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.866714 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: 13:47:27.872835 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:27.878000 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:27.890797 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:27.900193 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.907223 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:27.917826 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:27.926183 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:27.931925 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:27.946008 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:27.957715 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/04/01 13:47:28 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: 13:47:28.066380 drop table if exists "invoice_test"; [] gorptest: 13:47:28.066591 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.066618 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.066646 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.066670 drop table if exists "person_test"; [] gorptest: 13:47:28.066694 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.066717 drop table if exists "id_created_test"; [] gorptest: 13:47:28.066741 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.066764 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.066788 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.066812 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.066835 drop table if exists "time_test"; [] gorptest: 13:47:28.066867 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.074605 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: 13:47:28.079338 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:28.086962 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.094634 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:28.103427 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.109868 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.117420 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:28.123819 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:28.129185 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:28.134823 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:28.140349 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:28.148842 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515248148818312 2:1743515248148818312 3:"bob" 4:"smith" 5:1] gorptest: 13:47:28.159294 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515248159282216 2:1743515248159282216 3:"jane" 4:"doe" 5:1] gorptest: 13:47:28.167189 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:28.167298 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 13:47:28.167364 select * from person_test where Id=? [1:1] gorptest: 13:47:28.167548 select * from person_test order by fname asc [] gorptest: 13:47:28.167635 drop table if exists "invoice_test"; [] gorptest: 13:47:28.172264 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.179056 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.186221 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.192866 drop table if exists "person_test"; [] gorptest: 13:47:28.198974 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.209095 drop table if exists "id_created_test"; [] gorptest: 13:47:28.215296 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.224856 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.231746 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.237924 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.245922 drop table if exists "time_test"; [] gorptest: 13:47:28.253754 drop table if exists "id_created_test"; [] 2025/04/01 13:47:28 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: 13:47:28.253997 drop table if exists "invoice_test"; [] gorptest: 13:47:28.254217 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.254244 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.254270 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.254296 drop table if exists "person_test"; [] gorptest: 13:47:28.254320 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.254345 drop table if exists "id_created_test"; [] gorptest: 13:47:28.254369 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.254394 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.254420 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.254446 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.254470 drop table if exists "time_test"; [] gorptest: 13:47:28.254505 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.263223 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: 13:47:28.273982 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:28.282760 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.291162 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:28.298364 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.311330 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.320101 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:28.330250 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:28.337098 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:28.342149 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:28.348482 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:28.357332 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515248357311521 2:1743515248357311521 3:"bob" 4:"smith" 5:1] gorptest: 13:47:28.369651 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:28.369766 select * from person_test where Id=? [1:1] gorptest: 13:47:28.369854 select FName from person_test where Id=? [1:1] gorptest: 13:47:28.369895 select * from person_test where Id=? [1:1] gorptest: 13:47:28.369961 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 13:47:28.370019 select * from person_test where Id=? [1:-2222] gorptest: 13:47:28.370078 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515248370069905 2:1743515248370069905 3:"bob" 4:"smith" 5:1] gorptest: 13:47:28.379203 select * from person_test where Fname='bob' [] gorptest: 13:47:28.379329 select * from person_test where Id=-123 [] gorptest: 13:47:28.379427 select * from person_test where Id=-123 [] gorptest: 13:47:28.379464 select * from person_test where Id=-123 [] gorptest: 13:47:28.379502 select * from person_test where Id=-123 [] gorptest: 13:47:28.379550 drop table if exists "invoice_test"; [] gorptest: 13:47:28.387723 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.396371 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.401997 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.414553 drop table if exists "person_test"; [] gorptest: 13:47:28.425598 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.436318 drop table if exists "id_created_test"; [] gorptest: 13:47:28.446878 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.453463 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.459130 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.466463 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.474578 drop table if exists "time_test"; [] gorptest: 13:47:28.479511 drop table if exists "id_created_test"; [] 2025/04/01 13:47:28 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: 13:47:28.479839 drop table if exists "invoice_test"; [] gorptest: 13:47:28.480041 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.480069 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.480096 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.480122 drop table if exists "person_test"; [] gorptest: 13:47:28.480148 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.480172 drop table if exists "id_created_test"; [] gorptest: 13:47:28.480203 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.480228 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.480253 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.480279 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.480302 drop table if exists "time_test"; [] gorptest: 13:47:28.480333 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.486995 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: 13:47:28.492657 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:28.500327 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.506850 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:28.510917 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.519850 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.528587 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:28.536769 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:28.546235 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:28.551507 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:28.559771 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:28.566904 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 13:47:28.573307 select * from id_created_test where Id=1 [] gorptest: 13:47:28.573489 SELECT *, 1 AS external FROM id_created_test [] gorptest: 13:47:28.573560 drop table if exists "invoice_test"; [] gorptest: 13:47:28.580915 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.592984 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.601605 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.608345 drop table if exists "person_test"; [] gorptest: 13:47:28.622881 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.630179 drop table if exists "id_created_test"; [] gorptest: 13:47:28.636590 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.646163 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.657121 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.668080 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.677436 drop table if exists "time_test"; [] gorptest: 13:47:28.685846 drop table if exists "id_created_test"; [] 2025/04/01 13:47:28 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: 13:47:28.686419 drop table if exists "invoice_test"; [] gorptest: 13:47:28.686779 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.686814 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.686846 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.686878 drop table if exists "person_test"; [] gorptest: 13:47:28.686909 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.686941 drop table if exists "id_created_test"; [] gorptest: 13:47:28.686971 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.687002 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.687033 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.687065 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.687097 drop table if exists "time_test"; [] gorptest: 13:47:28.687167 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.696204 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: 13:47:28.702852 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:28.714583 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:28.727431 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:28.734895 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.744365 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.752960 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:28.759846 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:28.766399 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:28.773715 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:28.781339 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:28.790630 drop table if exists "invoice_test"; [] gorptest: 13:47:28.800193 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:28.808881 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:28.818200 drop table if exists "invoice_override_test"; [] gorptest: 13:47:28.828151 drop table if exists "person_test"; [] gorptest: 13:47:28.838522 drop table if exists "ignored_column_test"; [] gorptest: 13:47:28.847785 drop table if exists "id_created_test"; [] gorptest: 13:47:28.856611 drop table if exists "type_conv_test"; [] gorptest: 13:47:28.866991 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:28.875665 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:28.883891 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:28.891233 drop table if exists "time_test"; [] gorptest: 13:47:28.897928 drop table if exists "id_created_test"; [] gorptest: 13:47:28.898011 drop table if exists "single_column_table"; [] gorptest: 13:47:28.898078 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: 13:47:28.905154 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: 13:47:28.910911 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:28.917948 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: 13:47:28.927350 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: 13:47:28.940503 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.948792 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:28.959003 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:28.967554 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:28.980807 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:28.987307 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: 13:47:28.995104 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:29.005936 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 13:47:29.006001 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 13:47:29.035776 delete from "invoice_test"; [] gorptest: 13:47:29.068337 delete from "invoice_tag_test"; [] gorptest: 13:47:29.187113 delete from "alias_trans_field_test"; [] gorptest: 13:47:29.196381 delete from "invoice_override_test"; [] gorptest: 13:47:29.206793 delete from "person_test"; [] gorptest: 13:47:29.215934 delete from "ignored_column_test"; [] gorptest: 13:47:29.228855 delete from "id_created_test"; [] gorptest: 13:47:29.236037 delete from "type_conv_test"; [] gorptest: 13:47:29.243694 delete from "embedded_struct_test"; [] gorptest: 13:47:29.253029 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:29.262399 delete from "embedded_autoincr_test"; [] gorptest: 13:47:29.273204 delete from "time_test"; [] gorptest: 13:47:29.284365 delete from "id_created_test"; [] gorptest: 13:47:29.292496 delete from "single_column_table"; [] gorptest: 13:47:29.302428 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 13:47:29.302546 drop table if exists "invoice_test"; [] gorptest: 13:47:29.312285 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:29.320710 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:29.339272 drop table if exists "invoice_override_test"; [] gorptest: 13:47:29.349587 drop table if exists "person_test"; [] gorptest: 13:47:29.356624 drop table if exists "ignored_column_test"; [] gorptest: 13:47:29.364343 drop table if exists "id_created_test"; [] gorptest: 13:47:29.372365 drop table if exists "type_conv_test"; [] gorptest: 13:47:29.383731 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:29.390991 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:29.401879 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:29.410894 drop table if exists "time_test"; [] gorptest: 13:47:29.423501 drop table if exists "id_created_test"; [] gorptest: 13:47:29.423554 drop table if exists "single_column_table"; [] 2025/04/01 13:47:29 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: 13:47:29.432793 drop table if exists "invoice_test"; [] gorptest: 13:47:29.433029 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:29.433055 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:29.433080 drop table if exists "invoice_override_test"; [] gorptest: 13:47:29.433103 drop table if exists "person_test"; [] gorptest: 13:47:29.433141 drop table if exists "ignored_column_test"; [] gorptest: 13:47:29.433166 drop table if exists "id_created_test"; [] gorptest: 13:47:29.433189 drop table if exists "type_conv_test"; [] gorptest: 13:47:29.433213 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:29.433236 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:29.433259 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:29.433282 drop table if exists "time_test"; [] gorptest: 13:47:29.433313 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:29.443388 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: 13:47:29.452105 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:29.464369 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:29.474168 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:29.482938 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:29.491781 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:29.499346 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:29.511475 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:29.522979 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:29.535633 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:29.542948 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:29.552433 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 13:47:29.561397 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 13:47:29.569365 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 13:47:29.579919 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 13:47:29.580230 begin; [] gorptest: 13:47:29.580275 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 13:47:29.580435 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 13:47:29.580758 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 13:47:29.580848 commit; [] gorptest: 13:47:29.588252 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 13:47:29.588360 drop table if exists "invoice_test"; [] gorptest: 13:47:29.595644 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:29.605813 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:29.614768 drop table if exists "invoice_override_test"; [] gorptest: 13:47:29.623428 drop table if exists "person_test"; [] gorptest: 13:47:29.635232 drop table if exists "ignored_column_test"; [] gorptest: 13:47:29.644292 drop table if exists "id_created_test"; [] gorptest: 13:47:29.654885 drop table if exists "type_conv_test"; [] gorptest: 13:47:29.664997 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:29.675572 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:29.687206 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:29.693904 drop table if exists "time_test"; [] gorptest: 13:47:29.702005 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 6.168s gopkg.in/gorp.v1 2025/04/01 13:47:31 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: 13:47:31.132868 drop table if exists "invoice_test"; [] gorptest: 13:47:31.133361 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:31.133407 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:31.133447 drop table if exists "invoice_override_test"; [] gorptest: 13:47:31.133486 drop table if exists "person_test"; [] gorptest: 13:47:31.133524 drop table if exists "ignored_column_test"; [] gorptest: 13:47:31.133562 drop table if exists "id_created_test"; [] gorptest: 13:47:31.133600 drop table if exists "type_conv_test"; [] gorptest: 13:47:31.133637 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:31.133675 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:31.133713 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:31.133750 drop table if exists "time_test"; [] gorptest: 13:47:31.133807 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:31.143055 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: 13:47:31.151631 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:31.161709 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:31.170023 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:31.177727 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.189563 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.204257 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:31.218595 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:31.232602 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:31.241120 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:31.252614 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:31.264050 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: 13:47:31.264160 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: 13:47:31.264219 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:31.264273 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: 13:47:31.264327 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: 13:47:31.264376 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.264422 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.264471 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:31.264520 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:31.264569 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:31.264618 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: 13:47:31.264664 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:31.264711 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 13:47:31.264754 drop table if exists "invoice_test"; [] gorptest: 13:47:31.276178 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:31.285656 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:31.297993 drop table if exists "invoice_override_test"; [] gorptest: 13:47:31.309598 drop table if exists "person_test"; [] gorptest: 13:47:31.323052 drop table if exists "ignored_column_test"; [] gorptest: 13:47:31.335681 drop table if exists "id_created_test"; [] gorptest: 13:47:31.343275 drop table if exists "type_conv_test"; [] gorptest: 13:47:31.353513 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:31.365451 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:31.378441 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:31.390053 drop table if exists "time_test"; [] gorptest: 13:47:31.398125 drop table if exists "id_created_test"; [] 2025/04/01 13:47:31 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: 13:47:31.398632 drop table if exists "invoice_test"; [] gorptest: 13:47:31.398993 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:31.399038 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:31.399079 drop table if exists "invoice_override_test"; [] gorptest: 13:47:31.399118 drop table if exists "person_test"; [] gorptest: 13:47:31.399156 drop table if exists "ignored_column_test"; [] gorptest: 13:47:31.399194 drop table if exists "id_created_test"; [] gorptest: 13:47:31.399232 drop table if exists "type_conv_test"; [] gorptest: 13:47:31.399270 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:31.399307 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:31.399346 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:31.399384 drop table if exists "time_test"; [] gorptest: 13:47:31.399434 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:31.413032 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: 13:47:31.423121 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:31.431181 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:31.441770 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:31.452259 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.460006 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.468008 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:31.474154 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:31.485165 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:31.494713 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:31.505137 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:31.511769 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: 13:47:31.511871 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: 13:47:31.511931 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:31.511987 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: 13:47:31.512041 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: 13:47:31.512089 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.512135 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:31.512185 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:31.512233 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:31.512282 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:31.512330 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: 13:47:31.512377 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:31.512424 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 13:47:31.512549 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515251512470216 2:1743515251512470216 3:"Bob" 4:"Smith" 5:1] gorptest: 13:47:31.521698 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 13:47:31.532012 delete from "invoice_test"; [] gorptest: 13:47:31.537215 delete from "invoice_tag_test"; [] gorptest: 13:47:31.547012 delete from "alias_trans_field_test"; [] gorptest: 13:47:31.555451 delete from "invoice_override_test"; [] gorptest: 13:47:31.563810 delete from "person_test"; [] gorptest: 13:47:31.574337 delete from "ignored_column_test"; [] gorptest: 13:47:31.582353 delete from "id_created_test"; [] gorptest: 13:47:31.594635 delete from "type_conv_test"; [] gorptest: 13:47:31.608149 delete from "embedded_struct_test"; [] gorptest: 13:47:31.619209 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:31.626520 delete from "embedded_autoincr_test"; [] gorptest: 13:47:31.636323 delete from "time_test"; [] gorptest: 13:47:31.648035 delete from "id_created_test"; [] gorptest: 13:47:31.653776 SELECT * FROM person_test [] gorptest: 13:47:31.653986 SELECT * FROM invoice_test [] gorptest: 13:47:31.654079 drop table if exists "invoice_test"; [] gorptest: 13:47:31.664614 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:31.678314 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:31.691406 drop table if exists "invoice_override_test"; [] gorptest: 13:47:31.704579 drop table if exists "person_test"; [] gorptest: 13:47:31.715583 drop table if exists "ignored_column_test"; [] gorptest: 13:47:31.723377 drop table if exists "id_created_test"; [] gorptest: 13:47:31.734448 drop table if exists "type_conv_test"; [] gorptest: 13:47:31.744103 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:31.762490 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:31.772669 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:31.782701 drop table if exists "time_test"; [] gorptest: 13:47:31.796729 drop table if exists "id_created_test"; [] gorptest: 13:47:31.797087 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 13:47:31.823873 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-04-01 13:47:31 +0000 UTC] gorptest: 13:47:31.831919 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 13:47:31.832091 drop table if exists "WithCustomDate"; [] gorptest: 13:47:31.855624 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 13:47:31.867978 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 13:47:31.879003 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 13:47:31.887133 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 13:47:31.905394 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 13:47:31.943829 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 13:47:31.972717 drop table if exists "PersonUInt64"; [] gorptest: 13:47:32.004640 drop table if exists "PersonUInt32"; [] gorptest: 13:47:32.040818 drop table if exists "PersonUInt16"; [] gorptest: 13:47:32.052270 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 13:47:32.068441 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 13:47:32.084174 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 13:47:32.084342 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 13:47:32.084425 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 13:47:32.094614 drop table if exists "UniqueColumns"; [] gorptest: 13:47:32.103224 drop table if exists PersistentUser [] gorptest: 13:47:32.103664 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 13:47:32.112291 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 13:47:32.120014 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 13:47:32.120167 select * from PersistentUser [] gorptest: 13:47:32.120388 select * from PersistentUser [] gorptest: 13:47:32.120499 select * from PersistentUser [] gorptest: 13:47:32.120578 select Id from PersistentUser [] gorptest: 13:47:32.120636 select mykey from PersistentUser [] gorptest: 13:47:32.120694 select PassedTraining from PersistentUser [] gorptest: 13:47:32.120750 select Id from PersistentUser [] gorptest: 13:47:32.120808 drop table if exists "PersistentUser"; [] gorptest: 13:47:32.131755 drop table if exists PersistentUser [] gorptest: 13:47:32.132098 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 13:47:32.143193 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 13:47:32.154366 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 13:47:32.163891 select * from PersistentUser where mykey = ? [1:43] gorptest: 13:47:32.164102 select * from PersistentUser where mykey = ? [1:43] gorptest: 13:47:32.164205 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 13:47:32.164313 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 13:47:32.164400 drop table if exists "PersistentUser"; [] gorptest: 13:47:32.176009 drop table if exists PersistentUser [] gorptest: 13:47:32.176387 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 13:47:32.186620 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 13:47:32.196958 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 13:47:32.208882 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 13:47:32.209061 drop table if exists "PersistentUser"; [] 2025/04/01 13:47:32 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: 13:47:32.219755 drop table if exists "invoice_test"; [] gorptest: 13:47:32.220075 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:32.220119 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:32.220158 drop table if exists "invoice_override_test"; [] gorptest: 13:47:32.220200 drop table if exists "person_test"; [] gorptest: 13:47:32.220240 drop table if exists "ignored_column_test"; [] gorptest: 13:47:32.220277 drop table if exists "id_created_test"; [] gorptest: 13:47:32.220314 drop table if exists "type_conv_test"; [] gorptest: 13:47:32.220351 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:32.220403 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:32.220467 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:32.220510 drop table if exists "time_test"; [] gorptest: 13:47:32.220561 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:32.231528 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: 13:47:32.241259 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:32.251191 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:32.262012 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:32.271941 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:32.284860 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:32.297181 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:32.304389 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:32.316419 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:32.329356 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:32.339961 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:32.349243 select * from invoice_test where id=99999 [] gorptest: 13:47:32.349636 select * from invoice_test where id=99999 [] gorptest: 13:47:32.349734 drop table if exists "invoice_test"; [] gorptest: 13:47:32.358232 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:32.366468 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:32.377199 drop table if exists "invoice_override_test"; [] gorptest: 13:47:32.389002 drop table if exists "person_test"; [] gorptest: 13:47:32.397184 drop table if exists "ignored_column_test"; [] gorptest: 13:47:32.408983 drop table if exists "id_created_test"; [] gorptest: 13:47:32.415902 drop table if exists "type_conv_test"; [] gorptest: 13:47:32.425781 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:32.435417 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:32.441643 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:32.449019 drop table if exists "time_test"; [] gorptest: 13:47:32.460222 drop table if exists "id_created_test"; [] gorptest: 13:47:32.460923 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 13:47:32.470964 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: 13:47:32.471119 drop table if exists "InvoicePersonView"; [] 2025/04/01 13:47:32 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: 13:47:32.484835 drop table if exists "invoice_test"; [] gorptest: 13:47:32.485327 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:32.485422 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:32.485479 drop table if exists "invoice_override_test"; [] gorptest: 13:47:32.485532 drop table if exists "person_test"; [] gorptest: 13:47:32.485586 drop table if exists "ignored_column_test"; [] gorptest: 13:47:32.485640 drop table if exists "id_created_test"; [] gorptest: 13:47:32.485691 drop table if exists "type_conv_test"; [] gorptest: 13:47:32.485744 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:32.485797 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:32.485849 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:32.485903 drop table if exists "time_test"; [] gorptest: 13:47:32.485972 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:32.495795 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: 13:47:32.504749 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:32.558743 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:32.635573 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:32.647332 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:32.655016 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:32.666152 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:32.681534 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:32.693367 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:32.702098 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:32.713267 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:32.721236 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515252721196295 2:1743515252721196295 3:"Bob" 4:"Smith" 5:1] gorptest: 13:47:32.730871 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:32.730994 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1743515252721196295 2:1743515252721196295 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 13:47:32.738056 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1743515252721196295 2:1743515252721196295 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 13:47:32.738129 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:32.738187 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 13:47:32.738230 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:32.738277 drop table if exists "invoice_test"; [] gorptest: 13:47:32.745744 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:32.754657 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:32.765591 drop table if exists "invoice_override_test"; [] gorptest: 13:47:32.776680 drop table if exists "person_test"; [] gorptest: 13:47:32.784365 drop table if exists "ignored_column_test"; [] gorptest: 13:47:32.792546 drop table if exists "id_created_test"; [] gorptest: 13:47:32.803291 drop table if exists "type_conv_test"; [] gorptest: 13:47:32.814619 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:32.824756 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:32.835918 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:32.849056 drop table if exists "time_test"; [] gorptest: 13:47:32.857782 drop table if exists "id_created_test"; [] gorptest: 13:47:32.858112 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 13:47:32.873497 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 13:47:32.888418 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 13:47:32.888765 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: 13:47:32.899235 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 13:47:32.899320 drop table if exists "TableWithNull"; [] gorptest: 13:47:32.910346 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 13:47:32.921825 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 13:47:32.932981 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 13:47:32.933088 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 13:47:32.933239 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 13:47:32.933281 drop table if exists "Invoice"; [] 2025/04/01 13:47:32 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: 13:47:32.942439 drop table if exists "invoice_test"; [] gorptest: 13:47:32.942646 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:32.942670 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:32.942693 drop table if exists "invoice_override_test"; [] gorptest: 13:47:32.942714 drop table if exists "person_test"; [] gorptest: 13:47:32.942736 drop table if exists "ignored_column_test"; [] gorptest: 13:47:32.942758 drop table if exists "id_created_test"; [] gorptest: 13:47:32.942779 drop table if exists "type_conv_test"; [] gorptest: 13:47:32.942800 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:32.942821 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:32.942843 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:32.942864 drop table if exists "time_test"; [] gorptest: 13:47:32.942892 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:32.953932 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: 13:47:32.963502 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:32.973775 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:32.980054 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:32.986794 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:32.995905 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.004367 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:33.012600 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:33.022922 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:33.032083 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:33.037693 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:33.046235 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515253046218658 2:1743515253046218658 3:"bob" 4:"smith" 5:1] gorptest: 13:47:33.051951 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 13:47:33.061688 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 13:47:33.061825 drop table if exists "invoice_test"; [] gorptest: 13:47:33.071380 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.078559 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.084594 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.092904 drop table if exists "person_test"; [] gorptest: 13:47:33.102079 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.111332 drop table if exists "id_created_test"; [] gorptest: 13:47:33.119235 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.126845 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.136697 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.145756 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.152998 drop table if exists "time_test"; [] gorptest: 13:47:33.162960 drop table if exists "id_created_test"; [] 2025/04/01 13:47:33 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: 13:47:33.163304 drop table if exists "invoice_test"; [] gorptest: 13:47:33.163502 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.163527 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.163550 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.163572 drop table if exists "person_test"; [] gorptest: 13:47:33.163594 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.163615 drop table if exists "id_created_test"; [] gorptest: 13:47:33.163636 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.163658 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.163680 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.163701 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.163723 drop table if exists "time_test"; [] gorptest: 13:47:33.163753 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.173081 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: 13:47:33.184864 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:33.193760 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.201863 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:33.213911 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.228767 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.238648 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:33.248762 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:33.257362 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:33.265647 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:33.275345 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:33.283564 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515253283547769 2:1743515253283547769 3:"bob" 4:"smith" 5:1] gorptest: 13:47:33.293153 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:33.293256 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1743515253283547769 2:1743515253283547769 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 13:47:33.303102 select * from person_test where id = ? [1:1] gorptest: 13:47:33.303345 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 13:47:33.313085 drop table if exists "invoice_test"; [] gorptest: 13:47:33.319887 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.327762 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.336115 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.345655 drop table if exists "person_test"; [] gorptest: 13:47:33.353268 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.361786 drop table if exists "id_created_test"; [] gorptest: 13:47:33.372065 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.382737 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.395824 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.404208 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.410454 drop table if exists "time_test"; [] gorptest: 13:47:33.419789 drop table if exists "id_created_test"; [] 2025/04/01 13:47:33 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: 13:47:33.420011 drop table if exists "invoice_test"; [] gorptest: 13:47:33.420201 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.420225 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.420247 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.420269 drop table if exists "person_test"; [] gorptest: 13:47:33.420291 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.420313 drop table if exists "id_created_test"; [] gorptest: 13:47:33.420334 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.420355 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.420382 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.420405 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.420426 drop table if exists "time_test"; [] gorptest: 13:47:33.420457 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.426338 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: 13:47:33.433117 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:33.445296 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.452674 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:33.462877 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.470948 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.479037 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:33.486553 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:33.492539 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:33.502851 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:33.515308 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:33.523651 begin; [] gorptest: 13:47:33.523727 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 13:47:33.523875 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 13:47:33.523901 commit; [] gorptest: 13:47:33.531450 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:33.531560 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 13:47:33.531614 drop table if exists "invoice_test"; [] gorptest: 13:47:33.537184 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.544589 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.551720 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.559316 drop table if exists "person_test"; [] gorptest: 13:47:33.567791 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.577489 drop table if exists "id_created_test"; [] gorptest: 13:47:33.585741 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.591885 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.596441 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.604943 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.612198 drop table if exists "time_test"; [] gorptest: 13:47:33.620206 drop table if exists "id_created_test"; [] 2025/04/01 13:47:33 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: 13:47:33.620558 drop table if exists "invoice_test"; [] gorptest: 13:47:33.620776 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.620802 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.620826 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.620850 drop table if exists "person_test"; [] gorptest: 13:47:33.620874 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.620898 drop table if exists "id_created_test"; [] gorptest: 13:47:33.620922 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.620945 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.620968 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.620995 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.621021 drop table if exists "time_test"; [] gorptest: 13:47:33.621055 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.629175 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: 13:47:33.637134 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:33.646059 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.654938 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:33.663852 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.674698 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.681997 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:33.689158 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:33.697071 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:33.704154 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:33.712081 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:33.720651 begin; [] gorptest: 13:47:33.720737 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 13:47:33.720887 select memo from invoice_test [] gorptest: 13:47:33.720936 savepoint "foo" [1:] gorptest: 13:47:33.720947 select memo from invoice_test [] gorptest: 13:47:33.720984 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 13:47:33.721013 select memo from invoice_test [] gorptest: 13:47:33.721036 rollback to savepoint "foo" [1:] gorptest: 13:47:33.721051 select memo from invoice_test [] gorptest: 13:47:33.721070 rollback; [] gorptest: 13:47:33.721183 drop table if exists "invoice_test"; [] gorptest: 13:47:33.728493 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.735304 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.741872 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.748534 drop table if exists "person_test"; [] gorptest: 13:47:33.756417 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.762908 drop table if exists "id_created_test"; [] gorptest: 13:47:33.768764 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.775698 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.790708 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.798858 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.806149 drop table if exists "time_test"; [] gorptest: 13:47:33.813023 drop table if exists "id_created_test"; [] 2025/04/01 13:47:33 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: 13:47:33.813272 drop table if exists "invoice_test"; [] gorptest: 13:47:33.813477 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.813504 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.813528 drop table if exists "invoice_override_test"; [] gorptest: 13:47:33.813552 drop table if exists "person_test"; [] gorptest: 13:47:33.813576 drop table if exists "ignored_column_test"; [] gorptest: 13:47:33.813602 drop table if exists "id_created_test"; [] gorptest: 13:47:33.813626 drop table if exists "type_conv_test"; [] gorptest: 13:47:33.813649 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:33.813673 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:33.813696 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:33.813719 drop table if exists "time_test"; [] gorptest: 13:47:33.813750 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.821657 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: 13:47:33.828468 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:33.837242 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:33.844854 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:33.852627 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.860397 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:33.867335 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:33.873590 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:33.882297 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:33.892579 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:33.902008 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:33.908120 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 13:47:33.915676 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 13:47:33.924963 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 13:47:33.932996 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 13:47:33.946593 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:33.956334 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 13:47:33.966800 drop table if exists "invoice_test"; [] gorptest: 13:47:33.976762 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:33.986395 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:33.997540 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.007546 drop table if exists "person_test"; [] gorptest: 13:47:34.019408 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.033043 drop table if exists "id_created_test"; [] gorptest: 13:47:34.040584 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.047074 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.058432 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.070162 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.078060 drop table if exists "time_test"; [] gorptest: 13:47:34.085371 drop table if exists "id_created_test"; [] 2025/04/01 13:47:34 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: 13:47:34.086106 drop table if exists "invoice_test"; [] gorptest: 13:47:34.086602 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:34.086672 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:34.086739 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.086804 drop table if exists "person_test"; [] gorptest: 13:47:34.086873 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.086938 drop table if exists "id_created_test"; [] gorptest: 13:47:34.086999 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.087062 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.087129 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.087196 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.087283 drop table if exists "time_test"; [] gorptest: 13:47:34.087377 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.095300 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: 13:47:34.105510 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:34.113368 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.123687 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:34.134530 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:34.145647 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:34.151140 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:34.156277 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:34.168758 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:34.174086 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:34.183434 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:34.191443 delete from invoice_test [] gorptest: 13:47:34.199057 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 13:47:34.207237 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:34.207532 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:5636158368871238115 2:7093185164004352007 3:"random 9060018642243663264" 4:0 5:true 6:1] gorptest: 13:47:34.216267 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:34.216469 select * from invoice_test [] gorptest: 13:47:34.216631 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:34.225542 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 13:47:34.225607 delete from invoice_tag_test [] gorptest: 13:47:34.234340 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: 13:47:34.244158 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:34.244479 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:3593048009732249767 2:5515828409793044212 3:"random 6495291786758210409" 4:33 5:false 6:1] gorptest: 13:47:34.254163 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:34.254232 select * from invoice_tag_test [] gorptest: 13:47:34.254323 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:34.269554 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 13:47:34.269621 delete from alias_trans_field_test [] gorptest: 13:47:34.280718 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 13:47:34.291882 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:34.291983 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 5357813080386549886" 2:1] gorptest: 13:47:34.303412 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:34.304010 select * from alias_trans_field_test [] gorptest: 13:47:34.304100 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:34.311380 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 13:47:34.311900 drop table if exists "invoice_test"; [] gorptest: 13:47:34.319561 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:34.330893 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:34.346796 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.360863 drop table if exists "person_test"; [] gorptest: 13:47:34.369269 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.378011 drop table if exists "id_created_test"; [] gorptest: 13:47:34.388071 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.399772 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.409080 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.420477 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.431075 drop table if exists "time_test"; [] gorptest: 13:47:34.446594 drop table if exists "id_created_test"; [] 2025/04/01 13:47:34 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: 13:47:34.447180 drop table if exists "invoice_test"; [] gorptest: 13:47:34.447592 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:34.447625 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:34.447824 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.447857 drop table if exists "person_test"; [] gorptest: 13:47:34.447882 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.447915 drop table if exists "id_created_test"; [] gorptest: 13:47:34.447939 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.448255 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.448289 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.448314 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.448346 drop table if exists "time_test"; [] gorptest: 13:47:34.448380 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.461086 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: 13:47:34.478686 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:34.484600 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.488815 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:34.493997 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:34.497411 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:34.500886 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:34.508507 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:34.511649 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:34.516640 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:34.520832 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:34.524341 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 13:47:34.533309 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 13:47:34.533389 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 13:47:34.575900 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 13:47:34.576145 drop table if exists "invoice_test"; [] gorptest: 13:47:34.631664 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:34.664869 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:34.677376 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.685256 drop table if exists "person_test"; [] gorptest: 13:47:34.697278 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.707442 drop table if exists "id_created_test"; [] gorptest: 13:47:34.715593 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.723394 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.730711 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.737730 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.745679 drop table if exists "time_test"; [] gorptest: 13:47:34.757873 drop table if exists "id_created_test"; [] 2025/04/01 13:47:34 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: 13:47:34.758094 drop table if exists "invoice_test"; [] gorptest: 13:47:34.758299 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:34.758323 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:34.758347 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.758370 drop table if exists "person_test"; [] gorptest: 13:47:34.758396 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.758436 drop table if exists "id_created_test"; [] gorptest: 13:47:34.758459 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.758481 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.758502 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.758524 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.758546 drop table if exists "time_test"; [] gorptest: 13:47:34.758576 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.768747 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: 13:47:34.778720 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:34.790240 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.800028 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:34.807511 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:34.814669 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:34.823416 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:34.829007 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:34.836265 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:34.847251 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:34.854747 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:34.862677 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: 13:47:34.869234 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 13:47:34.869367 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: 13:47:34.879979 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 13:47:34.880061 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 13:47:34.886012 drop table if exists "invoice_test"; [] gorptest: 13:47:34.893309 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:34.900640 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:34.905360 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.914829 drop table if exists "person_test"; [] gorptest: 13:47:34.922035 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.925683 drop table if exists "id_created_test"; [] gorptest: 13:47:34.929791 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.934099 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.937852 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.943510 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.949200 drop table if exists "time_test"; [] gorptest: 13:47:34.955674 drop table if exists "id_created_test"; [] 2025/04/01 13:47:34 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: 13:47:34.955958 drop table if exists "invoice_test"; [] gorptest: 13:47:34.956161 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:34.956186 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:34.956209 drop table if exists "invoice_override_test"; [] gorptest: 13:47:34.956232 drop table if exists "person_test"; [] gorptest: 13:47:34.956255 drop table if exists "ignored_column_test"; [] gorptest: 13:47:34.956278 drop table if exists "id_created_test"; [] gorptest: 13:47:34.956300 drop table if exists "type_conv_test"; [] gorptest: 13:47:34.956323 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:34.956345 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:34.956368 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:34.956390 drop table if exists "time_test"; [] gorptest: 13:47:34.956421 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.963250 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: 13:47:34.968516 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:34.976523 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:34.986003 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:34.993346 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:34.998669 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:35.006061 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:35.009141 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:35.013872 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:35.019142 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:35.025010 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:35.030801 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 13:47:35.033803 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 13:47:35.034028 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 13:47:35.038983 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 13:47:35.039057 select * from embedded_struct_test [] gorptest: 13:47:35.039123 drop table if exists "invoice_test"; [] gorptest: 13:47:35.044443 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:35.049256 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:35.055018 drop table if exists "invoice_override_test"; [] gorptest: 13:47:35.062496 drop table if exists "person_test"; [] gorptest: 13:47:35.070877 drop table if exists "ignored_column_test"; [] gorptest: 13:47:35.076823 drop table if exists "id_created_test"; [] gorptest: 13:47:35.083315 drop table if exists "type_conv_test"; [] gorptest: 13:47:35.090507 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:35.095851 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:35.107339 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:35.113622 drop table if exists "time_test"; [] gorptest: 13:47:35.125347 drop table if exists "id_created_test"; [] 2025/04/01 13:47:35 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: 13:47:35.126063 drop table if exists "invoice_test"; [] gorptest: 13:47:35.126630 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:35.126703 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:35.126775 drop table if exists "invoice_override_test"; [] gorptest: 13:47:35.126844 drop table if exists "person_test"; [] gorptest: 13:47:35.126906 drop table if exists "ignored_column_test"; [] gorptest: 13:47:35.126971 drop table if exists "id_created_test"; [] gorptest: 13:47:35.127038 drop table if exists "type_conv_test"; [] gorptest: 13:47:35.127107 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:35.127174 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:35.127242 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:35.127310 drop table if exists "time_test"; [] gorptest: 13:47:35.127404 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:35.134972 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: 13:47:35.140254 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:35.148658 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:35.158585 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:35.173351 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:35.180074 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:35.188807 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:35.194917 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:35.204439 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:35.215923 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:35.226351 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:35.234591 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 13:47:35.241249 drop table if exists "invoice_test"; [] gorptest: 13:47:35.247263 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:35.254203 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:35.261550 drop table if exists "invoice_override_test"; [] gorptest: 13:47:35.269745 drop table if exists "person_test"; [] gorptest: 13:47:35.278243 drop table if exists "ignored_column_test"; [] gorptest: 13:47:35.285966 drop table if exists "id_created_test"; [] gorptest: 13:47:35.294162 drop table if exists "type_conv_test"; [] gorptest: 13:47:35.298107 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:35.306920 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:35.336008 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:35.361308 drop table if exists "time_test"; [] gorptest: 13:47:35.374934 drop table if exists "id_created_test"; [] 2025/04/01 13:47:35 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: 13:47:35.375576 drop table if exists "invoice_test"; [] gorptest: 13:47:35.376146 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:35.376238 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:35.376311 drop table if exists "invoice_override_test"; [] gorptest: 13:47:35.376488 drop table if exists "person_test"; [] gorptest: 13:47:35.376557 drop table if exists "ignored_column_test"; [] gorptest: 13:47:35.376689 drop table if exists "id_created_test"; [] gorptest: 13:47:35.376825 drop table if exists "type_conv_test"; [] gorptest: 13:47:35.377021 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:35.377148 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:35.377277 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:35.377397 drop table if exists "time_test"; [] gorptest: 13:47:35.377556 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:35.392689 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: 13:47:35.408318 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:35.422606 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:35.441916 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:35.455670 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:35.467479 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:35.486013 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:35.503292 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:35.530959 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:35.600042 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:35.633607 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:35.675702 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 13:47:35.686178 drop table if exists "invoice_test"; [] gorptest: 13:47:35.702948 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:35.715360 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:35.729021 drop table if exists "invoice_override_test"; [] gorptest: 13:47:35.736212 drop table if exists "person_test"; [] gorptest: 13:47:35.743573 drop table if exists "ignored_column_test"; [] gorptest: 13:47:35.752602 drop table if exists "id_created_test"; [] gorptest: 13:47:35.763095 drop table if exists "type_conv_test"; [] gorptest: 13:47:35.769197 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:35.777186 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:35.784655 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:35.792360 drop table if exists "time_test"; [] gorptest: 13:47:35.800594 drop table if exists "id_created_test"; [] gorptest: 13:47:35.801202 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 13:47:35.811092 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: 13:47:35.815075 select Int64 from TableWithNull where Str='abc' [] gorptest: 13:47:35.815204 select count(*) from TableWithNull [] gorptest: 13:47:35.815272 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 13:47:35.815336 select Int64 from TableWithNull where Str='notfound' [] gorptest: 13:47:35.815395 select Int64 from TableWithNull where Str='abc' [] gorptest: 13:47:35.815451 select Float64 from TableWithNull where Str='abc' [] gorptest: 13:47:35.815506 select min(Float64) from TableWithNull [] gorptest: 13:47:35.815571 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 13:47:35.815634 select Float64 from TableWithNull where Str='notfound' [] gorptest: 13:47:35.815685 select Float64 from TableWithNull where Str='abc' [] gorptest: 13:47:35.815742 select Str from TableWithNull where Int64=? [1:78] gorptest: 13:47:35.815797 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 13:47:35.815848 select Str from TableWithNull where Int64=? [1:78] gorptest: 13:47:35.815902 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 13:47:35.815970 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 13:47:35.816031 select Str from TableWithNull where Int64=? [1:78] gorptest: 13:47:35.816089 drop table if exists "TableWithNull"; [] 2025/04/01 13:47:35 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: 13:47:35.823361 drop table if exists "invoice_test"; [] gorptest: 13:47:35.823729 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:35.823774 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:35.823813 drop table if exists "invoice_override_test"; [] gorptest: 13:47:35.823851 drop table if exists "person_test"; [] gorptest: 13:47:35.823889 drop table if exists "ignored_column_test"; [] gorptest: 13:47:35.823926 drop table if exists "id_created_test"; [] gorptest: 13:47:35.823963 drop table if exists "type_conv_test"; [] gorptest: 13:47:35.824000 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:35.824036 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:35.824073 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:35.824110 drop table if exists "time_test"; [] gorptest: 13:47:35.824158 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:35.831278 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: 13:47:35.842018 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:35.851018 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:35.863329 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:35.872943 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:35.881118 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:35.887953 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:35.897185 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:35.906139 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:35.914985 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:35.922011 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:35.934393 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515255934207918 2:1743515255934207918 3:"Bob" 4:"Smith" 5:1] gorptest: 13:47:35.943732 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515255943688351 2:1743515255943688351 3:"Jane" 4:"Smith" 5:1] gorptest: 13:47:35.949482 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515255949466308 2:1743515255949466308 3:"Mike" 4:"Smith" 5:1] gorptest: 13:47:35.956122 drop table if exists "invoice_test"; [] gorptest: 13:47:35.966014 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:35.972118 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:35.980248 drop table if exists "invoice_override_test"; [] gorptest: 13:47:35.991414 drop table if exists "person_test"; [] gorptest: 13:47:35.998150 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.005134 drop table if exists "id_created_test"; [] gorptest: 13:47:36.012232 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.019374 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.029244 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.037610 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.044574 drop table if exists "time_test"; [] gorptest: 13:47:36.049941 drop table if exists "id_created_test"; [] gorptest: 13:47:36.050320 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 13:47:36.057691 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 13:47:36.068037 drop table if exists "string_pk_test"; [] 2025/04/01 13:47:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 13:47:36.077682 drop table if exists "invoice_test"; [] gorptest: 13:47:36.078170 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:36.078215 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:36.078255 drop table if exists "invoice_override_test"; [] gorptest: 13:47:36.078299 drop table if exists "person_test"; [] gorptest: 13:47:36.078337 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.078374 drop table if exists "id_created_test"; [] gorptest: 13:47:36.078412 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.078449 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.078486 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.078524 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.078561 drop table if exists "time_test"; [] gorptest: 13:47:36.078611 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.085890 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: 13:47:36.098720 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:36.107332 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.115523 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:36.121248 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.128042 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.137804 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:36.144972 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:36.154186 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:36.163345 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:36.169772 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:36.178326 insert into "time_test" ("Id","Time") values (null,?); [1:2025-04-01 13:16:36.178249612 +0000 UTC] gorptest: 13:47:36.190363 insert into "time_test" ("Id","Time") values (null,?); [1:2025-04-01 13:17:37.178249612 +0000 UTC] gorptest: 13:47:36.205824 SELECT id FROM time_test WHERE Time < ? [1:2025-04-01 13:17:36.178249612 +0000 UTC] gorptest: 13:47:36.206074 drop table if exists "invoice_test"; [] gorptest: 13:47:36.222429 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:36.239778 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:36.251451 drop table if exists "invoice_override_test"; [] gorptest: 13:47:36.264189 drop table if exists "person_test"; [] gorptest: 13:47:36.277489 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.290409 drop table if exists "id_created_test"; [] gorptest: 13:47:36.305862 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.323134 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.332424 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.353139 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.364309 drop table if exists "time_test"; [] gorptest: 13:47:36.371059 drop table if exists "id_created_test"; [] 2025/04/01 13:47:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 13:47:36.371534 drop table if exists "invoice_test"; [] gorptest: 13:47:36.371897 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:36.371953 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:36.371995 drop table if exists "invoice_override_test"; [] gorptest: 13:47:36.372032 drop table if exists "person_test"; [] gorptest: 13:47:36.372070 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.372109 drop table if exists "id_created_test"; [] gorptest: 13:47:36.372148 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.372187 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.372224 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.372259 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.372297 drop table if exists "time_test"; [] gorptest: 13:47:36.372354 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.387511 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: 13:47:36.400507 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:36.410685 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.416028 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:36.427730 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.437103 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.444033 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:36.454223 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:36.463168 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:36.478681 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:36.484824 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:36.492761 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515256492737309 2:1743515256492737309 3:"bob" 4:"smith" 5:1] gorptest: 13:47:36.501436 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 13:47:36.508030 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 13:47:36.508306 drop table if exists "invoice_test"; [] gorptest: 13:47:36.515688 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:36.523021 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:36.530050 drop table if exists "invoice_override_test"; [] gorptest: 13:47:36.538133 drop table if exists "person_test"; [] gorptest: 13:47:36.545273 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.552658 drop table if exists "id_created_test"; [] gorptest: 13:47:36.560190 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.564741 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.569812 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.581638 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.590746 drop table if exists "time_test"; [] gorptest: 13:47:36.596658 drop table if exists "id_created_test"; [] 2025/04/01 13:47:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 13:47:36.597076 drop table if exists "invoice_test"; [] gorptest: 13:47:36.597379 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:36.597438 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:36.597479 drop table if exists "invoice_override_test"; [] gorptest: 13:47:36.597516 drop table if exists "person_test"; [] gorptest: 13:47:36.597555 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.597595 drop table if exists "id_created_test"; [] gorptest: 13:47:36.597634 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.597675 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.597713 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.597749 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.597787 drop table if exists "time_test"; [] gorptest: 13:47:36.597842 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.604471 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: 13:47:36.613832 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:36.624379 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.630912 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:36.638415 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.646913 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.656426 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:36.664544 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:36.673065 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:36.680269 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:36.689504 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/04/01 13:47:36 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 13:47:36.800179 drop table if exists "invoice_test"; [] gorptest: 13:47:36.800477 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:36.800516 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:36.800551 drop table if exists "invoice_override_test"; [] gorptest: 13:47:36.800585 drop table if exists "person_test"; [] gorptest: 13:47:36.800621 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.800657 drop table if exists "id_created_test"; [] gorptest: 13:47:36.800695 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.800732 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.800769 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.800803 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.800839 drop table if exists "time_test"; [] gorptest: 13:47:36.800886 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.807508 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: 13:47:36.814443 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:36.821378 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:36.828829 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:36.836344 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.843736 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:36.852575 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:36.859797 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:36.865399 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:36.872394 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:36.880101 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:36.886798 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515256886770655 2:1743515256886770655 3:"bob" 4:"smith" 5:1] gorptest: 13:47:36.895261 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515256895251780 2:1743515256895251780 3:"jane" 4:"doe" 5:1] gorptest: 13:47:36.905161 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:36.905299 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 13:47:36.905420 select * from person_test where Id=? [1:1] gorptest: 13:47:36.905557 select * from person_test order by fname asc [] gorptest: 13:47:36.905685 drop table if exists "invoice_test"; [] gorptest: 13:47:36.912626 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:36.920471 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:36.929965 drop table if exists "invoice_override_test"; [] gorptest: 13:47:36.937588 drop table if exists "person_test"; [] gorptest: 13:47:36.943503 drop table if exists "ignored_column_test"; [] gorptest: 13:47:36.951809 drop table if exists "id_created_test"; [] gorptest: 13:47:36.958668 drop table if exists "type_conv_test"; [] gorptest: 13:47:36.967782 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:36.976386 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:36.985002 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:36.992008 drop table if exists "time_test"; [] gorptest: 13:47:37.002039 drop table if exists "id_created_test"; [] 2025/04/01 13:47:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 13:47:37.002433 drop table if exists "invoice_test"; [] gorptest: 13:47:37.002722 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:37.002778 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:37.002817 drop table if exists "invoice_override_test"; [] gorptest: 13:47:37.002853 drop table if exists "person_test"; [] gorptest: 13:47:37.002889 drop table if exists "ignored_column_test"; [] gorptest: 13:47:37.002928 drop table if exists "id_created_test"; [] gorptest: 13:47:37.002966 drop table if exists "type_conv_test"; [] gorptest: 13:47:37.003005 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:37.003043 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.003080 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:37.003117 drop table if exists "time_test"; [] gorptest: 13:47:37.003187 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:37.009724 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: 13:47:37.016288 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:37.023751 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:37.031472 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:37.037534 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.046369 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.052517 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:37.058919 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:37.064304 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:37.071055 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:37.077060 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:37.092672 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515257092655105 2:1743515257092655105 3:"bob" 4:"smith" 5:1] gorptest: 13:47:37.101432 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 13:47:37.101590 select * from person_test where Id=? [1:1] gorptest: 13:47:37.101733 select FName from person_test where Id=? [1:1] gorptest: 13:47:37.101802 select * from person_test where Id=? [1:1] gorptest: 13:47:37.101910 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 13:47:37.102142 select * from person_test where Id=? [1:-2222] gorptest: 13:47:37.102237 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1743515257102225901 2:1743515257102225901 3:"bob" 4:"smith" 5:1] gorptest: 13:47:37.115687 select * from person_test where Fname='bob' [] gorptest: 13:47:37.115942 select * from person_test where Id=-123 [] gorptest: 13:47:37.116019 select * from person_test where Id=-123 [] gorptest: 13:47:37.116073 select * from person_test where Id=-123 [] gorptest: 13:47:37.116128 select * from person_test where Id=-123 [] gorptest: 13:47:37.116186 drop table if exists "invoice_test"; [] gorptest: 13:47:37.129898 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:37.137863 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:37.146683 drop table if exists "invoice_override_test"; [] gorptest: 13:47:37.153082 drop table if exists "person_test"; [] gorptest: 13:47:37.165831 drop table if exists "ignored_column_test"; [] gorptest: 13:47:37.175341 drop table if exists "id_created_test"; [] gorptest: 13:47:37.185150 drop table if exists "type_conv_test"; [] gorptest: 13:47:37.191594 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:37.201641 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.207268 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:37.215501 drop table if exists "time_test"; [] gorptest: 13:47:37.224224 drop table if exists "id_created_test"; [] 2025/04/01 13:47:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 13:47:37.224622 drop table if exists "invoice_test"; [] gorptest: 13:47:37.224909 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:37.224966 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:37.225005 drop table if exists "invoice_override_test"; [] gorptest: 13:47:37.225040 drop table if exists "person_test"; [] gorptest: 13:47:37.225076 drop table if exists "ignored_column_test"; [] gorptest: 13:47:37.225115 drop table if exists "id_created_test"; [] gorptest: 13:47:37.225154 drop table if exists "type_conv_test"; [] gorptest: 13:47:37.225192 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:37.225230 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.225264 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:37.225301 drop table if exists "time_test"; [] gorptest: 13:47:37.225350 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:37.233706 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: 13:47:37.240008 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:37.245515 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:37.255269 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:37.262210 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.270179 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.276965 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:37.283685 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:37.291610 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:37.301830 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:37.310701 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:37.319134 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 13:47:37.331365 select * from id_created_test where Id=1 [] gorptest: 13:47:37.331657 SELECT *, 1 AS external FROM id_created_test [] gorptest: 13:47:37.331801 drop table if exists "invoice_test"; [] gorptest: 13:47:37.337374 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:37.341562 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:37.351764 drop table if exists "invoice_override_test"; [] gorptest: 13:47:37.365777 drop table if exists "person_test"; [] gorptest: 13:47:37.372849 drop table if exists "ignored_column_test"; [] gorptest: 13:47:37.380722 drop table if exists "id_created_test"; [] gorptest: 13:47:37.391000 drop table if exists "type_conv_test"; [] gorptest: 13:47:37.437948 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:37.466172 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.512127 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:37.519510 drop table if exists "time_test"; [] gorptest: 13:47:37.528284 drop table if exists "id_created_test"; [] 2025/04/01 13:47:37 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 13:47:37.528690 drop table if exists "invoice_test"; [] gorptest: 13:47:37.528983 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:37.529042 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:37.529082 drop table if exists "invoice_override_test"; [] gorptest: 13:47:37.529119 drop table if exists "person_test"; [] gorptest: 13:47:37.529156 drop table if exists "ignored_column_test"; [] gorptest: 13:47:37.529195 drop table if exists "id_created_test"; [] gorptest: 13:47:37.529233 drop table if exists "type_conv_test"; [] gorptest: 13:47:37.529272 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:37.529310 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.529345 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:37.529382 drop table if exists "time_test"; [] gorptest: 13:47:37.529433 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:37.537763 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: 13:47:37.547583 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:37.556787 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:37.566518 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:37.575903 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.582339 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.587512 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:37.594919 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:37.601279 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:37.609147 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:37.617999 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:37.623541 drop table if exists "invoice_test"; [] gorptest: 13:47:37.635319 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:37.643038 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:37.651866 drop table if exists "invoice_override_test"; [] gorptest: 13:47:37.658290 drop table if exists "person_test"; [] gorptest: 13:47:37.667380 drop table if exists "ignored_column_test"; [] gorptest: 13:47:37.676497 drop table if exists "id_created_test"; [] gorptest: 13:47:37.684789 drop table if exists "type_conv_test"; [] gorptest: 13:47:37.691484 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:37.699185 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.705963 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:37.711264 drop table if exists "time_test"; [] gorptest: 13:47:37.717807 drop table if exists "id_created_test"; [] gorptest: 13:47:37.717875 drop table if exists "single_column_table"; [] gorptest: 13:47:37.717937 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: 13:47:37.728400 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: 13:47:37.737959 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:37.744248 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: 13:47:37.749890 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: 13:47:37.756710 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.765573 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:37.772529 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:37.776974 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:37.782128 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:37.790411 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: 13:47:37.797165 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:37.805032 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 13:47:37.805107 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 13:47:37.814099 delete from "invoice_test"; [] gorptest: 13:47:37.822981 delete from "invoice_tag_test"; [] gorptest: 13:47:37.829419 delete from "alias_trans_field_test"; [] gorptest: 13:47:37.836925 delete from "invoice_override_test"; [] gorptest: 13:47:37.845210 delete from "person_test"; [] gorptest: 13:47:37.854743 delete from "ignored_column_test"; [] gorptest: 13:47:37.861214 delete from "id_created_test"; [] gorptest: 13:47:37.865450 delete from "type_conv_test"; [] gorptest: 13:47:37.871532 delete from "embedded_struct_test"; [] gorptest: 13:47:37.878541 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.884204 delete from "embedded_autoincr_test"; [] gorptest: 13:47:37.889787 delete from "time_test"; [] gorptest: 13:47:37.897344 delete from "id_created_test"; [] gorptest: 13:47:37.903249 delete from "single_column_table"; [] gorptest: 13:47:37.909639 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 13:47:37.909769 drop table if exists "invoice_test"; [] gorptest: 13:47:37.915055 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:37.922013 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:37.928772 drop table if exists "invoice_override_test"; [] gorptest: 13:47:37.936429 drop table if exists "person_test"; [] gorptest: 13:47:37.944834 drop table if exists "ignored_column_test"; [] gorptest: 13:47:37.953221 drop table if exists "id_created_test"; [] gorptest: 13:47:37.961926 drop table if exists "type_conv_test"; [] gorptest: 13:47:37.971799 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:37.979435 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:37.985524 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:37.992229 drop table if exists "time_test"; [] gorptest: 13:47:38.000486 drop table if exists "id_created_test"; [] gorptest: 13:47:38.000592 drop table if exists "single_column_table"; [] 2025/04/01 13:47: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: 13:47:38.009070 drop table if exists "invoice_test"; [] gorptest: 13:47:38.009363 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:38.009418 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:38.009457 drop table if exists "invoice_override_test"; [] gorptest: 13:47:38.009492 drop table if exists "person_test"; [] gorptest: 13:47:38.009528 drop table if exists "ignored_column_test"; [] gorptest: 13:47:38.009579 drop table if exists "id_created_test"; [] gorptest: 13:47:38.009616 drop table if exists "type_conv_test"; [] gorptest: 13:47:38.009655 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:38.009692 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:38.009727 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:38.009762 drop table if exists "time_test"; [] gorptest: 13:47:38.009812 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:38.018150 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: 13:47:38.026432 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 13:47:38.033853 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 13:47:38.040549 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 13:47:38.047642 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:38.056802 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 13:47:38.064369 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 13:47:38.071834 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 13:47:38.076987 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 13:47:38.086755 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 13:47:38.095143 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 13:47:38.103813 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 13:47:38.112240 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 13:47:38.119018 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 13:47:38.130678 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 13:47:38.130938 begin; [] gorptest: 13:47:38.130989 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 13:47:38.131134 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 13:47:38.131524 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 13:47:38.131643 commit; [] gorptest: 13:47:38.139141 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 13:47:38.139287 drop table if exists "invoice_test"; [] gorptest: 13:47:38.149168 drop table if exists "invoice_tag_test"; [] gorptest: 13:47:38.158727 drop table if exists "alias_trans_field_test"; [] gorptest: 13:47:38.166718 drop table if exists "invoice_override_test"; [] gorptest: 13:47:38.179653 drop table if exists "person_test"; [] gorptest: 13:47:38.187328 drop table if exists "ignored_column_test"; [] gorptest: 13:47:38.194536 drop table if exists "id_created_test"; [] gorptest: 13:47:38.203308 drop table if exists "type_conv_test"; [] gorptest: 13:47:38.212139 drop table if exists "embedded_struct_test"; [] gorptest: 13:47:38.219000 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 13:47:38.226251 drop table if exists "embedded_autoincr_test"; [] gorptest: 13:47:38.234874 drop table if exists "time_test"; [] gorptest: 13:47:38.243342 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 7.117s + 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.HZE51l + 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.XXj0PR + 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