Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f42-build-56437325-6543923/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.jh5l6v0o:/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.jh5l6v0o:/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', 'e152f51ff3d6458c9e3050322bef3c1e', '-D', '/var/lib/mock/f42-build-56437325-6543923/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jh5l6v0o:/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=1721260800 Wrote: /builddir/build/SRPMS/golang-gopkg-gorp-1-1.7.2-11.fc42.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/f42-build-56437325-6543923/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.jh5l6v0o:/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.jh5l6v0o:/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', '6f92d61918314cef868fcffc12ab2a0c', '-D', '/var/lib/mock/f42-build-56437325-6543923/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jh5l6v0o:/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=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.uLLp1i + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + test -d /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + /usr/bin/rm -rf /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5yVcoT + 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.TkeaxM + 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-11.fc42 -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 + 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.nL7fiR + 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-11.fc42 -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/01/17 23:39:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:39.191894 drop table if exists "invoice_test"; [] gorptest: 23:39:39.192624 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.192658 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.192684 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.192709 drop table if exists "person_test"; [] gorptest: 23:39:39.192734 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.192758 drop table if exists "id_created_test"; [] gorptest: 23:39:39.192782 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.192806 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.192831 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.192855 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.192879 drop table if exists "time_test"; [] gorptest: 23:39:39.192917 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.197471 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: 23:39:39.201085 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.204762 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.208646 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:39.212324 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.216019 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.219722 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.223391 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.227076 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.230663 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:39.234337 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.237555 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: 23:39:39.237711 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: 23:39:39.237749 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.237784 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: 23:39:39.237819 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: 23:39:39.237851 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.237881 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.237914 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.237945 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.237977 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.238009 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: 23:39:39.238040 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.238070 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:39:39.238099 drop table if exists "invoice_test"; [] gorptest: 23:39:39.241014 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.243974 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.246916 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.249835 drop table if exists "person_test"; [] gorptest: 23:39:39.252738 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.255849 drop table if exists "id_created_test"; [] gorptest: 23:39:39.258754 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.261547 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.264406 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.267341 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.270328 drop table if exists "time_test"; [] gorptest: 23:39:39.273262 drop table if exists "id_created_test"; [] 2025/01/17 23:39:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:39.273851 drop table if exists "invoice_test"; [] gorptest: 23:39:39.274239 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.274322 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.274367 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.274411 drop table if exists "person_test"; [] gorptest: 23:39:39.274455 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.274501 drop table if exists "id_created_test"; [] gorptest: 23:39:39.274545 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.274589 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.274637 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.274681 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.274725 drop table if exists "time_test"; [] gorptest: 23:39:39.274782 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.278432 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: 23:39:39.282084 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.285282 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.288841 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:39.292123 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.295299 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.298703 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.302323 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.307309 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.311336 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:39.315301 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.318917 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: 23:39:39.319023 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: 23:39:39.319086 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.319146 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: 23:39:39.319205 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: 23:39:39.319258 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.319309 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.319363 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.319417 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.319471 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.319529 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: 23:39:39.319582 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.319636 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:39:39.319796 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157179319694756 2:1737157179319694756 3:"Bob" 4:"Smith" 5:1] gorptest: 23:39:39.324725 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 23:39:39.328341 delete from "invoice_test"; [] gorptest: 23:39:39.331951 delete from "invoice_tag_test"; [] gorptest: 23:39:39.337029 delete from "alias_trans_field_test"; [] gorptest: 23:39:39.340194 delete from "invoice_override_test"; [] gorptest: 23:39:39.343644 delete from "person_test"; [] gorptest: 23:39:39.346751 delete from "ignored_column_test"; [] gorptest: 23:39:39.349531 delete from "id_created_test"; [] gorptest: 23:39:39.352453 delete from "type_conv_test"; [] gorptest: 23:39:39.355419 delete from "embedded_struct_test"; [] gorptest: 23:39:39.358427 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.363821 delete from "embedded_autoincr_test"; [] gorptest: 23:39:39.368979 delete from "time_test"; [] gorptest: 23:39:39.371966 delete from "id_created_test"; [] gorptest: 23:39:39.376986 SELECT * FROM person_test [] gorptest: 23:39:39.377212 SELECT * FROM invoice_test [] gorptest: 23:39:39.377281 drop table if exists "invoice_test"; [] gorptest: 23:39:39.381619 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.385829 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.390861 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.401191 drop table if exists "person_test"; [] gorptest: 23:39:39.406628 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.411233 drop table if exists "id_created_test"; [] gorptest: 23:39:39.418251 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.423328 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.431056 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.434296 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.438611 drop table if exists "time_test"; [] gorptest: 23:39:39.443547 drop table if exists "id_created_test"; [] gorptest: 23:39:39.443901 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 23:39:39.450061 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-01-17 23:39:39 +0000 UTC] gorptest: 23:39:39.455270 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 23:39:39.455384 drop table if exists "WithCustomDate"; [] gorptest: 23:39:39.462738 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:39:39.466166 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:39:39.470251 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:39:39.477786 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 23:39:39.484158 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 23:39:39.488197 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 23:39:39.491151 drop table if exists "PersonUInt64"; [] gorptest: 23:39:39.496445 drop table if exists "PersonUInt32"; [] gorptest: 23:39:39.501343 drop table if exists "PersonUInt16"; [] gorptest: 23:39:39.504595 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 23:39:39.508967 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 23:39:39.513075 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 23:39:39.513184 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 23:39:39.513255 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 23:39:39.517229 drop table if exists "UniqueColumns"; [] gorptest: 23:39:39.524812 drop table if exists PersistentUser [] gorptest: 23:39:39.525449 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:39:39.530676 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:39:39.536814 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 23:39:39.537039 select * from PersistentUser [] gorptest: 23:39:39.537175 select * from PersistentUser [] gorptest: 23:39:39.537267 select * from PersistentUser [] gorptest: 23:39:39.537355 select Id from PersistentUser [] gorptest: 23:39:39.537426 select mykey from PersistentUser [] gorptest: 23:39:39.537519 select PassedTraining from PersistentUser [] gorptest: 23:39:39.537595 select Id from PersistentUser [] gorptest: 23:39:39.537664 drop table if exists "PersistentUser"; [] gorptest: 23:39:39.562201 drop table if exists PersistentUser [] gorptest: 23:39:39.562855 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:39:39.569784 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:39:39.577675 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:39:39.583138 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:39:39.583455 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:39:39.583560 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:39:39.583701 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 23:39:39.583797 drop table if exists "PersistentUser"; [] gorptest: 23:39:39.588714 drop table if exists PersistentUser [] gorptest: 23:39:39.589173 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:39:39.594535 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:39:39.598481 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:39:39.602554 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:39:39.602855 drop table if exists "PersistentUser"; [] 2025/01/17 23:39:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:39.608245 drop table if exists "invoice_test"; [] gorptest: 23:39:39.608663 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.608744 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.608789 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.608832 drop table if exists "person_test"; [] gorptest: 23:39:39.608877 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.608919 drop table if exists "id_created_test"; [] gorptest: 23:39:39.608961 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.609005 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.609048 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.609090 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.609131 drop table if exists "time_test"; [] gorptest: 23:39:39.609191 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.614656 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: 23:39:39.619463 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.623940 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.628274 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:39.631311 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.635294 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.639591 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.644928 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.648223 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.651080 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:39.654041 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.656951 select * from invoice_test where id=99999 [] gorptest: 23:39:39.657068 select * from invoice_test where id=99999 [] gorptest: 23:39:39.657125 drop table if exists "invoice_test"; [] gorptest: 23:39:39.660101 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.666025 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.670376 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.675405 drop table if exists "person_test"; [] gorptest: 23:39:39.679622 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.682392 drop table if exists "id_created_test"; [] gorptest: 23:39:39.686839 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.690444 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.693893 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.698225 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.704315 drop table if exists "time_test"; [] gorptest: 23:39:39.709875 drop table if exists "id_created_test"; [] gorptest: 23:39:39.710187 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 23:39:39.714169 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: 23:39:39.714287 drop table if exists "InvoicePersonView"; [] 2025/01/17 23:39:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:39.717821 drop table if exists "invoice_test"; [] gorptest: 23:39:39.718014 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.718042 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.718068 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.718092 drop table if exists "person_test"; [] gorptest: 23:39:39.718117 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.718141 drop table if exists "id_created_test"; [] gorptest: 23:39:39.718166 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.718189 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.718214 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.718238 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.718262 drop table if exists "time_test"; [] gorptest: 23:39:39.718296 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.721300 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: 23:39:39.724306 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.727175 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.730076 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:39.733025 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.735873 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.740157 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.743204 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.746175 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.748991 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:39.751919 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.755097 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157179755006455 2:1737157179755006455 3:"Bob" 4:"Smith" 5:1] gorptest: 23:39:39.758179 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:39.758299 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1737157179755006455 2:1737157179755006455 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 23:39:39.761158 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1737157179755006455 2:1737157179755006455 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 23:39:39.761240 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:39.761303 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 23:39:39.761348 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:39.761401 drop table if exists "invoice_test"; [] gorptest: 23:39:39.766070 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.770024 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.774965 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.778154 drop table if exists "person_test"; [] gorptest: 23:39:39.781306 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.784344 drop table if exists "id_created_test"; [] gorptest: 23:39:39.787367 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.790317 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.795497 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.798669 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.801625 drop table if exists "time_test"; [] gorptest: 23:39:39.804717 drop table if exists "id_created_test"; [] gorptest: 23:39:39.805082 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:39:39.808306 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 23:39:39.811240 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:39:39.811380 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: 23:39:39.814269 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:39:39.814371 drop table if exists "TableWithNull"; [] gorptest: 23:39:39.817828 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 23:39:39.822668 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 23:39:39.826113 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 23:39:39.826273 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 23:39:39.826345 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 23:39:39.826399 drop table if exists "Invoice"; [] 2025/01/17 23:39:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:39.829756 drop table if exists "invoice_test"; [] gorptest: 23:39:39.829977 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.830006 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.830032 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.830057 drop table if exists "person_test"; [] gorptest: 23:39:39.830081 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.830106 drop table if exists "id_created_test"; [] gorptest: 23:39:39.830446 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.830494 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.830532 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.830572 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.830609 drop table if exists "time_test"; [] gorptest: 23:39:39.830665 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.835105 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: 23:39:39.841646 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.846930 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.851625 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:39.855551 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.859273 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.863195 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.868285 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.872300 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.875642 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:39.879099 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.882455 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157179882304181 2:1737157179882304181 3:"bob" 4:"smith" 5:1] gorptest: 23:39:39.886944 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 23:39:39.890467 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:39:39.890696 drop table if exists "invoice_test"; [] gorptest: 23:39:39.893874 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.896932 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.899924 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.903081 drop table if exists "person_test"; [] gorptest: 23:39:39.906627 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.911714 drop table if exists "id_created_test"; [] gorptest: 23:39:39.914922 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.918652 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.922074 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.926555 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.930423 drop table if exists "time_test"; [] gorptest: 23:39:39.934002 drop table if exists "id_created_test"; [] 2025/01/17 23:39:39 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:39.934367 drop table if exists "invoice_test"; [] gorptest: 23:39:39.934600 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.934628 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:39.934655 drop table if exists "invoice_override_test"; [] gorptest: 23:39:39.934681 drop table if exists "person_test"; [] gorptest: 23:39:39.934708 drop table if exists "ignored_column_test"; [] gorptest: 23:39:39.934734 drop table if exists "id_created_test"; [] gorptest: 23:39:39.934760 drop table if exists "type_conv_test"; [] gorptest: 23:39:39.934785 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:39.934811 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:39.934836 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:39.934861 drop table if exists "time_test"; [] gorptest: 23:39:39.934897 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.939462 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: 23:39:39.942977 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:39.946511 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:39.949687 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:39.952897 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.957130 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:39.960374 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:39.964949 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:39.968103 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:39.971258 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:39.974929 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:39.979331 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157179979309114 2:1737157179979309114 3:"bob" 4:"smith" 5:1] gorptest: 23:39:39.982458 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:39.982561 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1737157179979309114 2:1737157179979309114 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 23:39:39.987001 select * from person_test where id = ? [1:1] gorptest: 23:39:39.987123 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 23:39:39.990291 drop table if exists "invoice_test"; [] gorptest: 23:39:39.993430 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:39.997659 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.000881 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.005092 drop table if exists "person_test"; [] gorptest: 23:39:40.008286 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.012328 drop table if exists "id_created_test"; [] gorptest: 23:39:40.015676 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.018814 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.021894 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.025099 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.028295 drop table if exists "time_test"; [] gorptest: 23:39:40.031827 drop table if exists "id_created_test"; [] 2025/01/17 23:39:40 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:40.032121 drop table if exists "invoice_test"; [] gorptest: 23:39:40.032341 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.032371 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.032398 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.032424 drop table if exists "person_test"; [] gorptest: 23:39:40.032450 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.032476 drop table if exists "id_created_test"; [] gorptest: 23:39:40.032501 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.032527 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.032552 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.032578 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.032603 drop table if exists "time_test"; [] gorptest: 23:39:40.032638 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.035938 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: 23:39:40.039042 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:40.042176 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.045506 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:40.048940 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.052138 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.055368 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:40.058754 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:40.063123 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:40.066542 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:40.069823 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:40.073061 begin; [] gorptest: 23:39:40.073343 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 23:39:40.073730 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 23:39:40.073774 commit; [] gorptest: 23:39:40.076925 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:40.077023 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 23:39:40.077085 drop table if exists "invoice_test"; [] gorptest: 23:39:40.081432 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.085761 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.090145 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.093714 drop table if exists "person_test"; [] gorptest: 23:39:40.096866 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.100002 drop table if exists "id_created_test"; [] gorptest: 23:39:40.103299 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.110800 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.117020 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.126340 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.134968 drop table if exists "time_test"; [] gorptest: 23:39:40.151412 drop table if exists "id_created_test"; [] 2025/01/17 23:39:40 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:40.151689 drop table if exists "invoice_test"; [] gorptest: 23:39:40.152052 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.152103 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.152133 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.152161 drop table if exists "person_test"; [] gorptest: 23:39:40.152190 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.152217 drop table if exists "id_created_test"; [] gorptest: 23:39:40.152245 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.152273 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.152301 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.152330 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.152359 drop table if exists "time_test"; [] gorptest: 23:39:40.152396 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.162564 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: 23:39:40.205960 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:40.212840 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.220835 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:40.226207 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.256785 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.264586 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:40.271556 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:40.281133 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:40.290129 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:40.293538 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:40.300806 begin; [] gorptest: 23:39:40.301034 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 23:39:40.301220 select memo from invoice_test [] gorptest: 23:39:40.301294 savepoint "foo" [1:] gorptest: 23:39:40.301308 select memo from invoice_test [] gorptest: 23:39:40.301355 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 23:39:40.301392 select memo from invoice_test [] gorptest: 23:39:40.301419 rollback to savepoint "foo" [1:] gorptest: 23:39:40.301435 select memo from invoice_test [] gorptest: 23:39:40.301459 rollback; [] gorptest: 23:39:40.301553 drop table if exists "invoice_test"; [] gorptest: 23:39:40.304951 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.309887 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.316019 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.321528 drop table if exists "person_test"; [] gorptest: 23:39:40.325890 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.329263 drop table if exists "id_created_test"; [] gorptest: 23:39:40.332366 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.338551 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.344701 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.348098 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.356890 drop table if exists "time_test"; [] gorptest: 23:39:40.364340 drop table if exists "id_created_test"; [] 2025/01/17 23:39:40 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:40.364728 drop table if exists "invoice_test"; [] gorptest: 23:39:40.365076 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.365128 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.365156 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.365183 drop table if exists "person_test"; [] gorptest: 23:39:40.365210 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.365237 drop table if exists "id_created_test"; [] gorptest: 23:39:40.365264 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.365290 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.365317 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.365343 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.365368 drop table if exists "time_test"; [] gorptest: 23:39:40.365404 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.370669 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: 23:39:40.379269 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:40.387971 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.393808 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:40.398422 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.403553 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.480001 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:40.496443 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:40.519379 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:40.526950 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:40.532492 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:40.537110 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 23:39:40.544536 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 23:39:40.553956 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 23:39:40.564036 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 23:39:40.573844 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:40.584811 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 23:39:40.595442 drop table if exists "invoice_test"; [] gorptest: 23:39:40.627902 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.647262 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.653855 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.661665 drop table if exists "person_test"; [] gorptest: 23:39:40.670927 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.705883 drop table if exists "id_created_test"; [] gorptest: 23:39:40.712332 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.716965 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.721559 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.725132 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.729236 drop table if exists "time_test"; [] gorptest: 23:39:40.733005 drop table if exists "id_created_test"; [] 2025/01/17 23:39:40 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:40.733519 drop table if exists "invoice_test"; [] gorptest: 23:39:40.734061 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.734157 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.734231 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.734294 drop table if exists "person_test"; [] gorptest: 23:39:40.734355 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.734432 drop table if exists "id_created_test"; [] gorptest: 23:39:40.734520 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.734600 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.734671 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.734745 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.734831 drop table if exists "time_test"; [] gorptest: 23:39:40.734921 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.739285 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: 23:39:40.743717 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:40.748078 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.752797 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:40.757293 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.761584 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.765354 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:40.770946 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:40.774827 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:40.778537 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:40.782110 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:40.787496 delete from invoice_test [] gorptest: 23:39:40.792378 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 23:39:40.795621 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:40.795791 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:353642481850590817 2:6457266403380564620 3:"random 6333193548232616291" 4:0 5:true 6:1] gorptest: 23:39:40.798755 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:40.798839 select * from invoice_test [] gorptest: 23:39:40.798956 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:40.803461 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:40.803531 delete from invoice_tag_test [] gorptest: 23:39:40.806555 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: 23:39:40.809482 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:40.809707 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:5098951426876271843 2:4150208480739795046 3:"random 1334212660719713402" 4:33 5:false 6:1] gorptest: 23:39:40.814239 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:40.814337 select * from invoice_tag_test [] gorptest: 23:39:40.814426 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:40.819125 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:40.819227 delete from alias_trans_field_test [] gorptest: 23:39:40.822897 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 23:39:40.828206 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:40.828326 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 2593264539084921453" 2:1] gorptest: 23:39:40.832190 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:40.832270 select * from alias_trans_field_test [] gorptest: 23:39:40.832358 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:40.837569 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:40.837819 drop table if exists "invoice_test"; [] gorptest: 23:39:40.843423 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.850099 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.854901 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.859425 drop table if exists "person_test"; [] gorptest: 23:39:40.863207 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.869981 drop table if exists "id_created_test"; [] gorptest: 23:39:40.873984 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.879527 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.890816 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.897394 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.903935 drop table if exists "time_test"; [] gorptest: 23:39:40.908309 drop table if exists "id_created_test"; [] 2025/01/17 23:39:40 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:40.908687 drop table if exists "invoice_test"; [] gorptest: 23:39:40.908950 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.908983 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.909015 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.909046 drop table if exists "person_test"; [] gorptest: 23:39:40.909076 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.909107 drop table if exists "id_created_test"; [] gorptest: 23:39:40.909137 drop table if exists "type_conv_test"; [] gorptest: 23:39:40.909167 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:40.909197 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:40.909228 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:40.909258 drop table if exists "time_test"; [] gorptest: 23:39:40.909301 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.912814 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: 23:39:40.916621 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:40.921099 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:40.926794 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:40.932456 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.937699 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:40.942936 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:40.946465 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:40.951334 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:40.955262 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:40.958782 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:40.962082 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 23:39:40.966897 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:39:40.967076 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:39:40.972412 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:39:40.972503 drop table if exists "invoice_test"; [] gorptest: 23:39:40.976656 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:40.979562 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:40.982413 drop table if exists "invoice_override_test"; [] gorptest: 23:39:40.985642 drop table if exists "person_test"; [] gorptest: 23:39:40.989925 drop table if exists "ignored_column_test"; [] gorptest: 23:39:40.997024 drop table if exists "id_created_test"; [] gorptest: 23:39:41.000849 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.005964 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.009304 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.014563 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.018996 drop table if exists "time_test"; [] gorptest: 23:39:41.022094 drop table if exists "id_created_test"; [] 2025/01/17 23:39:41 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:41.022641 drop table if exists "invoice_test"; [] gorptest: 23:39:41.022981 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.023070 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.023125 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.023169 drop table if exists "person_test"; [] gorptest: 23:39:41.023213 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.023250 drop table if exists "id_created_test"; [] gorptest: 23:39:41.023296 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.023323 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.023348 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.023373 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.023397 drop table if exists "time_test"; [] gorptest: 23:39:41.023433 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.026770 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: 23:39:41.031573 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:41.034746 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.039135 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:41.045856 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.053382 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.057704 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:41.061089 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:41.067150 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:41.070921 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:41.076167 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:41.079876 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: 23:39:41.083908 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:39:41.084102 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: 23:39:41.087625 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:39:41.087732 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:39:41.091648 drop table if exists "invoice_test"; [] gorptest: 23:39:41.095206 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.098280 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.102075 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.106489 drop table if exists "person_test"; [] gorptest: 23:39:41.109467 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.113552 drop table if exists "id_created_test"; [] gorptest: 23:39:41.118635 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.124204 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.127275 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.131043 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.134194 drop table if exists "time_test"; [] gorptest: 23:39:41.137288 drop table if exists "id_created_test"; [] 2025/01/17 23:39:41 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:41.137638 drop table if exists "invoice_test"; [] gorptest: 23:39:41.137857 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.137885 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.137912 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.137954 drop table if exists "person_test"; [] gorptest: 23:39:41.137985 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.138011 drop table if exists "id_created_test"; [] gorptest: 23:39:41.138037 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.138063 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.138089 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.138115 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.138141 drop table if exists "time_test"; [] gorptest: 23:39:41.138175 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.141332 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: 23:39:41.144379 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:41.148318 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.151437 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:41.156317 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.162154 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.166638 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:41.170677 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:41.173843 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:41.177000 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:41.180178 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:41.183229 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 23:39:41.188412 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:39:41.188607 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 23:39:41.192004 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:39:41.192150 select * from embedded_struct_test [] gorptest: 23:39:41.192263 drop table if exists "invoice_test"; [] gorptest: 23:39:41.196943 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.201109 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.204438 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.208594 drop table if exists "person_test"; [] gorptest: 23:39:41.212084 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.215726 drop table if exists "id_created_test"; [] gorptest: 23:39:41.222754 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.226605 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.230366 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.234804 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.238104 drop table if exists "time_test"; [] gorptest: 23:39:41.241650 drop table if exists "id_created_test"; [] 2025/01/17 23:39:41 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:41.242062 drop table if exists "invoice_test"; [] gorptest: 23:39:41.242412 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.242494 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.242539 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.242583 drop table if exists "person_test"; [] gorptest: 23:39:41.242626 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.242670 drop table if exists "id_created_test"; [] gorptest: 23:39:41.242714 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.242760 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.242802 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.242845 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.242888 drop table if exists "time_test"; [] gorptest: 23:39:41.242944 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.246819 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: 23:39:41.250596 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:41.254464 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.258294 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:41.264212 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.267808 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.271270 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:41.274691 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:41.278290 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:41.285617 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:41.288802 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:41.292137 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 23:39:41.295373 drop table if exists "invoice_test"; [] gorptest: 23:39:41.299518 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.303775 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.310330 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.315841 drop table if exists "person_test"; [] gorptest: 23:39:41.320797 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.324925 drop table if exists "id_created_test"; [] gorptest: 23:39:41.329477 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.334997 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.339969 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.344721 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.351331 drop table if exists "time_test"; [] gorptest: 23:39:41.356245 drop table if exists "id_created_test"; [] 2025/01/17 23:39:41 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:41.356654 drop table if exists "invoice_test"; [] gorptest: 23:39:41.356985 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.357030 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.357074 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.357122 drop table if exists "person_test"; [] gorptest: 23:39:41.357168 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.357217 drop table if exists "id_created_test"; [] gorptest: 23:39:41.357266 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.357313 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.357361 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.357410 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.357456 drop table if exists "time_test"; [] gorptest: 23:39:41.357511 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.362385 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: 23:39:41.369367 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:41.374767 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.378652 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:41.385120 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.391690 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.396885 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:41.401420 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:41.405188 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:41.409811 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:41.415487 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:41.418693 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 23:39:41.423478 drop table if exists "invoice_test"; [] gorptest: 23:39:41.426796 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.431544 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.434574 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.437643 drop table if exists "person_test"; [] gorptest: 23:39:41.444248 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.449556 drop table if exists "id_created_test"; [] gorptest: 23:39:41.453597 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.459921 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.465740 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.469826 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.477416 drop table if exists "time_test"; [] gorptest: 23:39:41.483760 drop table if exists "id_created_test"; [] gorptest: 23:39:41.484025 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:39:41.489359 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: 23:39:41.495954 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:39:41.496087 select count(*) from TableWithNull [] gorptest: 23:39:41.496135 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:39:41.496191 select Int64 from TableWithNull where Str='notfound' [] gorptest: 23:39:41.496246 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:39:41.496298 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:39:41.496361 select min(Float64) from TableWithNull [] gorptest: 23:39:41.496430 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:39:41.496478 select Float64 from TableWithNull where Str='notfound' [] gorptest: 23:39:41.496517 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:39:41.496559 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:39:41.496598 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:39:41.496636 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:39:41.496688 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:39:41.496811 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 23:39:41.496861 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:39:41.496908 drop table if exists "TableWithNull"; [] 2025/01/17 23:39:41 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:41.506101 drop table if exists "invoice_test"; [] gorptest: 23:39:41.506339 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.506370 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.506398 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.506424 drop table if exists "person_test"; [] gorptest: 23:39:41.506451 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.506477 drop table if exists "id_created_test"; [] gorptest: 23:39:41.506503 drop table if exists "type_conv_test"; [] gorptest: 23:39:41.506529 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:41.506555 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:41.506582 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:41.506608 drop table if exists "time_test"; [] gorptest: 23:39:41.506645 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.514016 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: 23:39:41.528701 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:41.538820 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:41.546264 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:41.554620 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.562493 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:41.572340 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:41.586041 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:41.606311 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:41.616454 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:41.647172 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:41.660263 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157181660237703 2:1737157181660237703 3:"Bob" 4:"Smith" 5:1] gorptest: 23:39:41.681220 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157181681200238 2:1737157181681200238 3:"Jane" 4:"Smith" 5:1] gorptest: 23:39:41.705531 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157181705452453 2:1737157181705452453 3:"Mike" 4:"Smith" 5:1] gorptest: 23:39:41.716299 drop table if exists "invoice_test"; [] gorptest: 23:39:41.735263 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:41.797646 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:41.849591 drop table if exists "invoice_override_test"; [] gorptest: 23:39:41.910377 drop table if exists "person_test"; [] gorptest: 23:39:41.971062 drop table if exists "ignored_column_test"; [] gorptest: 23:39:41.996412 drop table if exists "id_created_test"; [] gorptest: 23:39:42.008190 drop table if exists "type_conv_test"; [] gorptest: 23:39:42.037510 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:42.062033 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:42.084178 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:42.098148 drop table if exists "time_test"; [] gorptest: 23:39:42.106538 drop table if exists "id_created_test"; [] gorptest: 23:39:42.106855 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 23:39:42.116212 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 23:39:42.119294 drop table if exists "string_pk_test"; [] 2025/01/17 23:39:42 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:42.127858 drop table if exists "invoice_test"; [] gorptest: 23:39:42.128096 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:42.128124 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:42.128150 drop table if exists "invoice_override_test"; [] gorptest: 23:39:42.128174 drop table if exists "person_test"; [] gorptest: 23:39:42.128199 drop table if exists "ignored_column_test"; [] gorptest: 23:39:42.128223 drop table if exists "id_created_test"; [] gorptest: 23:39:42.128248 drop table if exists "type_conv_test"; [] gorptest: 23:39:42.128272 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:42.128297 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:42.128321 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:42.128345 drop table if exists "time_test"; [] gorptest: 23:39:42.128382 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.136778 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: 23:39:42.143524 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:42.152271 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.157011 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:42.161489 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.169738 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.181518 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:42.191271 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:42.197528 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:42.210356 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:42.223134 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:42.226350 insert into "time_test" ("Id","Time") values (null,?); [1:2025-01-17 23:08:42.226328902 +0000 UTC] gorptest: 23:39:42.243722 insert into "time_test" ("Id","Time") values (null,?); [1:2025-01-17 23:09:43.226328902 +0000 UTC] gorptest: 23:39:42.264309 SELECT id FROM time_test WHERE Time < ? [1:2025-01-17 23:09:42.226328902 +0000 UTC] gorptest: 23:39:42.264521 drop table if exists "invoice_test"; [] gorptest: 23:39:42.316380 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:42.342108 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:42.352265 drop table if exists "invoice_override_test"; [] gorptest: 23:39:42.359573 drop table if exists "person_test"; [] gorptest: 23:39:42.367630 drop table if exists "ignored_column_test"; [] gorptest: 23:39:42.374595 drop table if exists "id_created_test"; [] gorptest: 23:39:42.380462 drop table if exists "type_conv_test"; [] gorptest: 23:39:42.385671 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:42.390826 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:42.396550 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:42.405300 drop table if exists "time_test"; [] gorptest: 23:39:42.411138 drop table if exists "id_created_test"; [] 2025/01/17 23:39:42 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:42.411446 drop table if exists "invoice_test"; [] gorptest: 23:39:42.411656 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:42.411709 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:42.411752 drop table if exists "invoice_override_test"; [] gorptest: 23:39:42.411789 drop table if exists "person_test"; [] gorptest: 23:39:42.411816 drop table if exists "ignored_column_test"; [] gorptest: 23:39:42.411841 drop table if exists "id_created_test"; [] gorptest: 23:39:42.411880 drop table if exists "type_conv_test"; [] gorptest: 23:39:42.411925 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:42.411970 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:42.412013 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:42.412053 drop table if exists "time_test"; [] gorptest: 23:39:42.412129 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.417634 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: 23:39:42.422407 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:42.427420 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.432579 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:42.436986 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.450738 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.454147 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:42.457355 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:42.463729 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:42.467029 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:42.472841 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:42.477526 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157182477495008 2:1737157182477495008 3:"bob" 4:"smith" 5:1] gorptest: 23:39:42.484048 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 23:39:42.494846 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:39:42.495036 drop table if exists "invoice_test"; [] gorptest: 23:39:42.502980 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:42.508168 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:42.514925 drop table if exists "invoice_override_test"; [] gorptest: 23:39:42.519673 drop table if exists "person_test"; [] gorptest: 23:39:42.529735 drop table if exists "ignored_column_test"; [] gorptest: 23:39:42.536563 drop table if exists "id_created_test"; [] gorptest: 23:39:42.541913 drop table if exists "type_conv_test"; [] gorptest: 23:39:42.546051 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:42.551542 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:42.556364 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:42.562120 drop table if exists "time_test"; [] gorptest: 23:39:42.566018 drop table if exists "id_created_test"; [] 2025/01/17 23:39:42 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:42.566415 drop table if exists "invoice_test"; [] gorptest: 23:39:42.566636 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:42.566663 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:42.566688 drop table if exists "invoice_override_test"; [] gorptest: 23:39:42.566713 drop table if exists "person_test"; [] gorptest: 23:39:42.566737 drop table if exists "ignored_column_test"; [] gorptest: 23:39:42.566762 drop table if exists "id_created_test"; [] gorptest: 23:39:42.566786 drop table if exists "type_conv_test"; [] gorptest: 23:39:42.566810 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:42.566834 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:42.566858 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:42.566883 drop table if exists "time_test"; [] gorptest: 23:39:42.566915 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.573631 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: 23:39:42.581893 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:42.587001 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.594683 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:42.603264 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.610571 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.615931 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:42.622135 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:42.630862 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:42.648755 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:42.658236 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/01/17 23:39:42 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:42.848508 drop table if exists "invoice_test"; [] gorptest: 23:39:42.848767 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:42.848797 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:42.848823 drop table if exists "invoice_override_test"; [] gorptest: 23:39:42.848871 drop table if exists "person_test"; [] gorptest: 23:39:42.848987 drop table if exists "ignored_column_test"; [] gorptest: 23:39:42.849015 drop table if exists "id_created_test"; [] gorptest: 23:39:42.849042 drop table if exists "type_conv_test"; [] gorptest: 23:39:42.849067 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:42.849093 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:42.849118 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:42.849144 drop table if exists "time_test"; [] gorptest: 23:39:42.849178 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.852362 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: 23:39:42.858943 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:42.861858 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:42.864849 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:42.891979 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.897466 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:42.900647 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:42.903637 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:42.906860 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:42.910077 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:42.915262 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:42.923704 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157182923616843 2:1737157182923616843 3:"bob" 4:"smith" 5:1] gorptest: 23:39:43.061309 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157183061287856 2:1737157183061287856 3:"jane" 4:"doe" 5:1] gorptest: 23:39:43.077335 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:43.077514 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 23:39:43.077752 select * from person_test where Id=? [1:1] gorptest: 23:39:43.077833 select * from person_test order by fname asc [] gorptest: 23:39:43.077928 drop table if exists "invoice_test"; [] gorptest: 23:39:43.100810 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:43.112991 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:43.124632 drop table if exists "invoice_override_test"; [] gorptest: 23:39:43.136397 drop table if exists "person_test"; [] gorptest: 23:39:43.147206 drop table if exists "ignored_column_test"; [] gorptest: 23:39:43.155364 drop table if exists "id_created_test"; [] gorptest: 23:39:43.158362 drop table if exists "type_conv_test"; [] gorptest: 23:39:43.161321 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:43.175026 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:43.188876 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:43.201985 drop table if exists "time_test"; [] gorptest: 23:39:43.211651 drop table if exists "id_created_test"; [] 2025/01/17 23:39:43 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:43.212041 drop table if exists "invoice_test"; [] gorptest: 23:39:43.212283 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:43.212362 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:43.212392 drop table if exists "invoice_override_test"; [] gorptest: 23:39:43.212421 drop table if exists "person_test"; [] gorptest: 23:39:43.212446 drop table if exists "ignored_column_test"; [] gorptest: 23:39:43.212471 drop table if exists "id_created_test"; [] gorptest: 23:39:43.212499 drop table if exists "type_conv_test"; [] gorptest: 23:39:43.212523 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:43.212547 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:43.212571 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:43.212595 drop table if exists "time_test"; [] gorptest: 23:39:43.212649 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:43.219927 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: 23:39:43.229595 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:43.236842 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:43.242342 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:43.265145 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:43.289418 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:43.297164 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:43.301933 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:43.318644 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:43.343035 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:43.356864 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:43.376042 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157183376015747 2:1737157183376015747 3:"bob" 4:"smith" 5:1] gorptest: 23:39:43.382050 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:43.382231 select * from person_test where Id=? [1:1] gorptest: 23:39:43.382404 select FName from person_test where Id=? [1:1] gorptest: 23:39:43.382470 select * from person_test where Id=? [1:1] gorptest: 23:39:43.382555 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 23:39:43.382620 select * from person_test where Id=? [1:-2222] gorptest: 23:39:43.382683 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157183382672971 2:1737157183382672971 3:"bob" 4:"smith" 5:1] gorptest: 23:39:43.433540 select * from person_test where Fname='bob' [] gorptest: 23:39:43.434643 select * from person_test where Id=-123 [] gorptest: 23:39:43.434829 select * from person_test where Id=-123 [] gorptest: 23:39:43.434872 select * from person_test where Id=-123 [] gorptest: 23:39:43.434912 select * from person_test where Id=-123 [] gorptest: 23:39:43.434955 drop table if exists "invoice_test"; [] gorptest: 23:39:43.458635 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:43.511488 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:43.721185 drop table if exists "invoice_override_test"; [] gorptest: 23:39:43.791842 drop table if exists "person_test"; [] gorptest: 23:39:43.804593 drop table if exists "ignored_column_test"; [] gorptest: 23:39:43.820042 drop table if exists "id_created_test"; [] gorptest: 23:39:43.848499 drop table if exists "type_conv_test"; [] gorptest: 23:39:43.860236 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:44.006698 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:44.117519 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:44.182941 drop table if exists "time_test"; [] gorptest: 23:39:44.203490 drop table if exists "id_created_test"; [] 2025/01/17 23:39:44 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: 23:39:44.203857 drop table if exists "invoice_test"; [] gorptest: 23:39:44.204124 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:44.204261 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:44.204290 drop table if exists "invoice_override_test"; [] gorptest: 23:39:44.204316 drop table if exists "person_test"; [] gorptest: 23:39:44.204342 drop table if exists "ignored_column_test"; [] gorptest: 23:39:44.204368 drop table if exists "id_created_test"; [] gorptest: 23:39:44.204393 drop table if exists "type_conv_test"; [] gorptest: 23:39:44.204418 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:44.204443 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:44.204468 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:44.204493 drop table if exists "time_test"; [] gorptest: 23:39:44.204526 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:44.314245 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: 23:39:44.417831 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:44.478097 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:44.546509 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:44.569550 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:44.575799 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:44.578800 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:44.596072 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:44.608133 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:44.632113 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:44.635567 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:44.678296 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 23:39:44.696984 select * from id_created_test where Id=1 [] gorptest: 23:39:44.697312 SELECT *, 1 AS external FROM id_created_test [] gorptest: 23:39:44.697395 drop table if exists "invoice_test"; [] gorptest: 23:39:44.701141 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:44.715178 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:44.736178 drop table if exists "invoice_override_test"; [] gorptest: 23:39:44.749641 drop table if exists "person_test"; [] gorptest: 23:39:44.765589 drop table if exists "ignored_column_test"; [] gorptest: 23:39:44.773886 drop table if exists "id_created_test"; [] gorptest: 23:39:44.793320 drop table if exists "type_conv_test"; [] gorptest: 23:39:44.815054 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:44.842938 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:44.856241 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:44.879708 drop table if exists "time_test"; [] gorptest: 23:39:44.900579 drop table if exists "id_created_test"; [] 2025/01/17 23:39:44 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: 23:39:44.901282 drop table if exists "invoice_test"; [] gorptest: 23:39:44.901685 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:44.901762 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:44.901805 drop table if exists "invoice_override_test"; [] gorptest: 23:39:44.901847 drop table if exists "person_test"; [] gorptest: 23:39:44.901889 drop table if exists "ignored_column_test"; [] gorptest: 23:39:44.901929 drop table if exists "id_created_test"; [] gorptest: 23:39:44.901973 drop table if exists "type_conv_test"; [] gorptest: 23:39:44.902015 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:44.902058 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:44.902095 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:44.902131 drop table if exists "time_test"; [] gorptest: 23:39:44.902186 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:44.935177 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: 23:39:44.950611 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:44.960168 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:44.980138 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:44.983837 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:45.017119 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:45.021228 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:45.025098 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:45.028740 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:45.032428 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:45.036122 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:45.041537 drop table if exists "invoice_test"; [] gorptest: 23:39:45.045399 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:45.056217 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:45.065456 drop table if exists "invoice_override_test"; [] gorptest: 23:39:45.090624 drop table if exists "person_test"; [] gorptest: 23:39:45.113247 drop table if exists "ignored_column_test"; [] gorptest: 23:39:45.117289 drop table if exists "id_created_test"; [] gorptest: 23:39:45.125745 drop table if exists "type_conv_test"; [] gorptest: 23:39:45.133374 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:45.137149 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:45.179977 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:45.204287 drop table if exists "time_test"; [] gorptest: 23:39:45.215018 drop table if exists "id_created_test"; [] gorptest: 23:39:45.215130 drop table if exists "single_column_table"; [] gorptest: 23:39:45.215174 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: 23:39:45.223429 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: 23:39:45.233367 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:45.244407 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: 23:39:45.257763 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: 23:39:45.268805 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:45.276066 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:45.281044 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:45.287649 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:45.296622 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:45.304387 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: 23:39:45.311958 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:45.319888 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:39:45.320115 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 23:39:45.324363 delete from "invoice_test"; [] gorptest: 23:39:45.334246 delete from "invoice_tag_test"; [] gorptest: 23:39:45.340574 delete from "alias_trans_field_test"; [] gorptest: 23:39:45.347771 delete from "invoice_override_test"; [] gorptest: 23:39:45.351139 delete from "person_test"; [] gorptest: 23:39:45.354465 delete from "ignored_column_test"; [] gorptest: 23:39:45.358225 delete from "id_created_test"; [] gorptest: 23:39:45.362586 delete from "type_conv_test"; [] gorptest: 23:39:45.371585 delete from "embedded_struct_test"; [] gorptest: 23:39:45.375081 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:45.380171 delete from "embedded_autoincr_test"; [] gorptest: 23:39:45.384046 delete from "time_test"; [] gorptest: 23:39:45.387660 delete from "id_created_test"; [] gorptest: 23:39:45.390978 delete from "single_column_table"; [] gorptest: 23:39:45.397250 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 23:39:45.397394 drop table if exists "invoice_test"; [] gorptest: 23:39:45.400839 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:45.409086 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:45.413051 drop table if exists "invoice_override_test"; [] gorptest: 23:39:45.423392 drop table if exists "person_test"; [] gorptest: 23:39:45.429259 drop table if exists "ignored_column_test"; [] gorptest: 23:39:45.439574 drop table if exists "id_created_test"; [] gorptest: 23:39:45.446150 drop table if exists "type_conv_test"; [] gorptest: 23:39:45.452094 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:45.462472 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:45.465973 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:45.487997 drop table if exists "time_test"; [] gorptest: 23:39:45.495830 drop table if exists "id_created_test"; [] gorptest: 23:39:45.495934 drop table if exists "single_column_table"; [] 2025/01/17 23:39:45 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:45.509159 drop table if exists "invoice_test"; [] gorptest: 23:39:45.509419 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:45.509449 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:45.509479 drop table if exists "invoice_override_test"; [] gorptest: 23:39:45.509504 drop table if exists "person_test"; [] gorptest: 23:39:45.509529 drop table if exists "ignored_column_test"; [] gorptest: 23:39:45.509554 drop table if exists "id_created_test"; [] gorptest: 23:39:45.509579 drop table if exists "type_conv_test"; [] gorptest: 23:39:45.509604 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:45.509633 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:45.509659 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:45.509683 drop table if exists "time_test"; [] gorptest: 23:39:45.509716 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:45.525525 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: 23:39:45.551405 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:45.567975 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:45.651352 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:45.680823 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:45.691179 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:45.703849 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:45.714951 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:45.722105 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:45.728055 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:45.732462 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:45.744560 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 23:39:45.762791 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 23:39:45.775230 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 23:39:45.785331 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 23:39:45.785523 begin; [] gorptest: 23:39:45.785572 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 23:39:45.785718 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:39:45.786088 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:39:45.786205 commit; [] gorptest: 23:39:45.793444 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:39:45.793608 drop table if exists "invoice_test"; [] gorptest: 23:39:45.808572 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:45.826368 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:45.839960 drop table if exists "invoice_override_test"; [] gorptest: 23:39:45.863957 drop table if exists "person_test"; [] gorptest: 23:39:45.925062 drop table if exists "ignored_column_test"; [] gorptest: 23:39:45.948864 drop table if exists "id_created_test"; [] gorptest: 23:39:45.989562 drop table if exists "type_conv_test"; [] gorptest: 23:39:46.011789 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:46.025474 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:46.046116 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:46.060499 drop table if exists "time_test"; [] gorptest: 23:39:46.079491 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 6.896s gopkg.in/gorp.v1 2025/01/17 23:39:47 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:47.678829 drop table if exists "invoice_test"; [] gorptest: 23:39:47.679559 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:47.679655 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:47.679706 drop table if exists "invoice_override_test"; [] gorptest: 23:39:47.679759 drop table if exists "person_test"; [] gorptest: 23:39:47.679808 drop table if exists "ignored_column_test"; [] gorptest: 23:39:47.679853 drop table if exists "id_created_test"; [] gorptest: 23:39:47.679922 drop table if exists "type_conv_test"; [] gorptest: 23:39:47.679970 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:47.680014 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:47.680059 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:47.680104 drop table if exists "time_test"; [] gorptest: 23:39:47.680175 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:47.708067 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: 23:39:47.718617 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:47.741639 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:47.794170 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:47.831805 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:47.848238 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:47.864629 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:47.885366 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:47.896421 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:47.908577 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:47.915820 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:47.920034 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: 23:39:47.920233 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: 23:39:47.920297 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:47.920360 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: 23:39:47.920426 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: 23:39:47.920484 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:47.920540 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:47.920598 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:47.920656 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:47.920714 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:47.920774 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: 23:39:47.920829 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:47.920886 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:39:47.920942 drop table if exists "invoice_test"; [] gorptest: 23:39:47.931911 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:47.942741 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:47.980244 drop table if exists "invoice_override_test"; [] gorptest: 23:39:47.988428 drop table if exists "person_test"; [] gorptest: 23:39:48.031406 drop table if exists "ignored_column_test"; [] gorptest: 23:39:48.119222 drop table if exists "id_created_test"; [] gorptest: 23:39:48.185206 drop table if exists "type_conv_test"; [] gorptest: 23:39:48.235837 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:48.295944 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:48.325316 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:48.345580 drop table if exists "time_test"; [] gorptest: 23:39:48.364031 drop table if exists "id_created_test"; [] 2025/01/17 23:39:48 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:48.364542 drop table if exists "invoice_test"; [] gorptest: 23:39:48.365023 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:48.365093 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:48.365136 drop table if exists "invoice_override_test"; [] gorptest: 23:39:48.365177 drop table if exists "person_test"; [] gorptest: 23:39:48.365214 drop table if exists "ignored_column_test"; [] gorptest: 23:39:48.365251 drop table if exists "id_created_test"; [] gorptest: 23:39:48.365294 drop table if exists "type_conv_test"; [] gorptest: 23:39:48.365331 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:48.365368 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:48.365406 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:48.365443 drop table if exists "time_test"; [] gorptest: 23:39:48.365499 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:48.390883 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: 23:39:48.408481 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:48.432179 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:48.452316 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:48.459153 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:48.490621 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:48.508600 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:48.518408 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:48.534900 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:48.555969 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:48.575828 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:48.648887 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: 23:39:48.649031 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: 23:39:48.649214 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:48.649266 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: 23:39:48.649308 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: 23:39:48.649345 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:48.649379 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:48.649415 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:48.649452 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:48.649489 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:48.649527 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: 23:39:48.649562 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:48.649598 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:39:48.649727 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157188649635320 2:1737157188649635320 3:"Bob" 4:"Smith" 5:1] gorptest: 23:39:48.686767 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 23:39:48.706279 delete from "invoice_test"; [] gorptest: 23:39:48.717237 delete from "invoice_tag_test"; [] gorptest: 23:39:48.758647 delete from "alias_trans_field_test"; [] gorptest: 23:39:48.844765 delete from "invoice_override_test"; [] gorptest: 23:39:48.868456 delete from "person_test"; [] gorptest: 23:39:48.882938 delete from "ignored_column_test"; [] gorptest: 23:39:48.925409 delete from "id_created_test"; [] gorptest: 23:39:48.983462 delete from "type_conv_test"; [] gorptest: 23:39:48.992602 delete from "embedded_struct_test"; [] gorptest: 23:39:48.996736 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:49.008305 delete from "embedded_autoincr_test"; [] gorptest: 23:39:49.017564 delete from "time_test"; [] gorptest: 23:39:49.045036 delete from "id_created_test"; [] gorptest: 23:39:49.062381 SELECT * FROM person_test [] gorptest: 23:39:49.062659 SELECT * FROM invoice_test [] gorptest: 23:39:49.062730 drop table if exists "invoice_test"; [] gorptest: 23:39:49.100410 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:49.103977 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:49.111957 drop table if exists "invoice_override_test"; [] gorptest: 23:39:49.121133 drop table if exists "person_test"; [] gorptest: 23:39:49.127396 drop table if exists "ignored_column_test"; [] gorptest: 23:39:49.137267 drop table if exists "id_created_test"; [] gorptest: 23:39:49.143294 drop table if exists "type_conv_test"; [] gorptest: 23:39:49.154866 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:49.185612 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:49.197104 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:49.200669 drop table if exists "time_test"; [] gorptest: 23:39:49.211718 drop table if exists "id_created_test"; [] gorptest: 23:39:49.212089 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 23:39:49.227152 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-01-17 23:39:49 +0000 UTC] gorptest: 23:39:49.236794 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 23:39:49.237348 drop table if exists "WithCustomDate"; [] gorptest: 23:39:49.246849 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:39:49.260859 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:39:49.265504 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 23:39:49.272609 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 23:39:49.286026 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 23:39:49.313520 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 23:39:49.317578 drop table if exists "PersonUInt64"; [] gorptest: 23:39:49.346465 drop table if exists "PersonUInt32"; [] gorptest: 23:39:49.356101 drop table if exists "PersonUInt16"; [] gorptest: 23:39:49.383013 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 23:39:49.395625 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 23:39:49.403445 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 23:39:49.403583 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 23:39:49.403646 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 23:39:49.414937 drop table if exists "UniqueColumns"; [] gorptest: 23:39:49.425738 drop table if exists PersistentUser [] gorptest: 23:39:49.426083 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:39:49.430050 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:39:49.437078 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 23:39:49.437312 select * from PersistentUser [] gorptest: 23:39:49.437422 select * from PersistentUser [] gorptest: 23:39:49.437499 select * from PersistentUser [] gorptest: 23:39:49.437570 select Id from PersistentUser [] gorptest: 23:39:49.437627 select mykey from PersistentUser [] gorptest: 23:39:49.437684 select PassedTraining from PersistentUser [] gorptest: 23:39:49.437741 select Id from PersistentUser [] gorptest: 23:39:49.437800 drop table if exists "PersistentUser"; [] gorptest: 23:39:49.443939 drop table if exists PersistentUser [] gorptest: 23:39:49.444244 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:39:49.456749 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:39:49.471121 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:39:49.484000 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:39:49.484191 select * from PersistentUser where mykey = ? [1:43] gorptest: 23:39:49.484266 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:39:49.484346 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 23:39:49.484409 drop table if exists "PersistentUser"; [] gorptest: 23:39:49.490716 drop table if exists PersistentUser [] gorptest: 23:39:49.491058 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 23:39:49.500587 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 23:39:49.508866 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 23:39:49.512443 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 23:39:49.512761 drop table if exists "PersistentUser"; [] 2025/01/17 23:39:49 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:49.523440 drop table if exists "invoice_test"; [] gorptest: 23:39:49.523796 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:49.523830 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:49.523861 drop table if exists "invoice_override_test"; [] gorptest: 23:39:49.523891 drop table if exists "person_test"; [] gorptest: 23:39:49.523920 drop table if exists "ignored_column_test"; [] gorptest: 23:39:49.523949 drop table if exists "id_created_test"; [] gorptest: 23:39:49.523978 drop table if exists "type_conv_test"; [] gorptest: 23:39:49.524008 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:49.524037 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:49.524067 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:49.524095 drop table if exists "time_test"; [] gorptest: 23:39:49.524139 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:49.537628 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: 23:39:49.550039 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:49.559308 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:49.569997 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:49.581437 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:49.621658 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:49.637622 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:49.648622 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:49.654731 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:49.660809 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:49.671370 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:49.679949 select * from invoice_test where id=99999 [] gorptest: 23:39:49.680255 select * from invoice_test where id=99999 [] gorptest: 23:39:49.680353 drop table if exists "invoice_test"; [] gorptest: 23:39:49.684355 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:49.688237 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:49.692165 drop table if exists "invoice_override_test"; [] gorptest: 23:39:49.696210 drop table if exists "person_test"; [] gorptest: 23:39:49.714535 drop table if exists "ignored_column_test"; [] gorptest: 23:39:49.724108 drop table if exists "id_created_test"; [] gorptest: 23:39:49.732655 drop table if exists "type_conv_test"; [] gorptest: 23:39:49.744309 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:49.771537 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:49.890426 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:49.900811 drop table if exists "time_test"; [] gorptest: 23:39:49.920060 drop table if exists "id_created_test"; [] gorptest: 23:39:49.920504 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 23:39:49.936315 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: 23:39:49.936611 drop table if exists "InvoicePersonView"; [] 2025/01/17 23:39:49 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:49.955063 drop table if exists "invoice_test"; [] gorptest: 23:39:49.956232 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:49.956524 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:49.956810 drop table if exists "invoice_override_test"; [] gorptest: 23:39:49.957085 drop table if exists "person_test"; [] gorptest: 23:39:49.957364 drop table if exists "ignored_column_test"; [] gorptest: 23:39:49.957636 drop table if exists "id_created_test"; [] gorptest: 23:39:49.957914 drop table if exists "type_conv_test"; [] gorptest: 23:39:49.958198 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:49.958551 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:49.958824 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:49.959098 drop table if exists "time_test"; [] gorptest: 23:39:49.959380 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:49.976843 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: 23:39:49.989189 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:50.008228 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:50.025210 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:50.036561 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.052809 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.065206 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:50.074827 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:50.087664 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:50.104923 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:50.112476 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:50.138873 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157190138735162 2:1737157190138735162 3:"Bob" 4:"Smith" 5:1] gorptest: 23:39:50.144257 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:50.144510 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1737157190138735162 2:1737157190138735162 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 23:39:50.151789 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1737157190138735162 2:1737157190138735162 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 23:39:50.152002 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:50.152142 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 23:39:50.152221 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:50.152318 drop table if exists "invoice_test"; [] gorptest: 23:39:50.161544 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:50.178381 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:50.192913 drop table if exists "invoice_override_test"; [] gorptest: 23:39:50.206672 drop table if exists "person_test"; [] gorptest: 23:39:50.221884 drop table if exists "ignored_column_test"; [] gorptest: 23:39:50.232027 drop table if exists "id_created_test"; [] gorptest: 23:39:50.236541 drop table if exists "type_conv_test"; [] gorptest: 23:39:50.243704 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:50.248178 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:50.258036 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:50.262929 drop table if exists "time_test"; [] gorptest: 23:39:50.274582 drop table if exists "id_created_test"; [] gorptest: 23:39:50.274907 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:39:50.305965 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 23:39:50.347694 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:39:50.347939 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: 23:39:50.361414 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 23:39:50.361582 drop table if exists "TableWithNull"; [] gorptest: 23:39:50.373810 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 23:39:50.386464 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 23:39:50.393567 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 23:39:50.393746 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 23:39:50.393824 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 23:39:50.393877 drop table if exists "Invoice"; [] 2025/01/17 23:39:50 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:50.405742 drop table if exists "invoice_test"; [] gorptest: 23:39:50.406186 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:50.406220 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:50.406247 drop table if exists "invoice_override_test"; [] gorptest: 23:39:50.406273 drop table if exists "person_test"; [] gorptest: 23:39:50.406299 drop table if exists "ignored_column_test"; [] gorptest: 23:39:50.406325 drop table if exists "id_created_test"; [] gorptest: 23:39:50.406350 drop table if exists "type_conv_test"; [] gorptest: 23:39:50.406374 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:50.406400 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:50.406425 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:50.406451 drop table if exists "time_test"; [] gorptest: 23:39:50.406485 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:50.413028 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: 23:39:50.443365 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:50.452714 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:50.467426 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:50.479542 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.500640 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.525582 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:50.539654 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:50.550634 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:50.559298 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:50.567207 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:50.572305 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157190572270030 2:1737157190572270030 3:"bob" 4:"smith" 5:1] gorptest: 23:39:50.577206 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 23:39:50.586489 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:39:50.586665 drop table if exists "invoice_test"; [] gorptest: 23:39:50.593351 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:50.601653 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:50.608583 drop table if exists "invoice_override_test"; [] gorptest: 23:39:50.619487 drop table if exists "person_test"; [] gorptest: 23:39:50.631908 drop table if exists "ignored_column_test"; [] gorptest: 23:39:50.639099 drop table if exists "id_created_test"; [] gorptest: 23:39:50.648369 drop table if exists "type_conv_test"; [] gorptest: 23:39:50.656435 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:50.662569 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:50.668679 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:50.678002 drop table if exists "time_test"; [] gorptest: 23:39:50.686270 drop table if exists "id_created_test"; [] 2025/01/17 23:39:50 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:50.686577 drop table if exists "invoice_test"; [] gorptest: 23:39:50.686799 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:50.686826 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:50.686852 drop table if exists "invoice_override_test"; [] gorptest: 23:39:50.686877 drop table if exists "person_test"; [] gorptest: 23:39:50.686902 drop table if exists "ignored_column_test"; [] gorptest: 23:39:50.686926 drop table if exists "id_created_test"; [] gorptest: 23:39:50.686951 drop table if exists "type_conv_test"; [] gorptest: 23:39:50.686975 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:50.687000 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:50.687024 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:50.687048 drop table if exists "time_test"; [] gorptest: 23:39:50.687082 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:50.693104 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: 23:39:50.700466 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:50.710206 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:50.720561 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:50.732437 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.753473 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.762854 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:50.771526 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:50.779891 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:50.784578 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:50.793105 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:50.800498 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157190800476957 2:1737157190800476957 3:"bob" 4:"smith" 5:1] gorptest: 23:39:50.816109 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:50.816269 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1737157190800476957 2:1737157190800476957 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 23:39:50.822704 select * from person_test where id = ? [1:1] gorptest: 23:39:50.822825 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 23:39:50.830001 drop table if exists "invoice_test"; [] gorptest: 23:39:50.838195 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:50.844335 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:50.854308 drop table if exists "invoice_override_test"; [] gorptest: 23:39:50.862263 drop table if exists "person_test"; [] gorptest: 23:39:50.867690 drop table if exists "ignored_column_test"; [] gorptest: 23:39:50.876154 drop table if exists "id_created_test"; [] gorptest: 23:39:50.883124 drop table if exists "type_conv_test"; [] gorptest: 23:39:50.889029 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:50.896172 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:50.902652 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:50.907559 drop table if exists "time_test"; [] gorptest: 23:39:50.919835 drop table if exists "id_created_test"; [] 2025/01/17 23:39:50 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 23:39:50.920177 drop table if exists "invoice_test"; [] gorptest: 23:39:50.920407 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:50.920434 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:50.920459 drop table if exists "invoice_override_test"; [] gorptest: 23:39:50.920483 drop table if exists "person_test"; [] gorptest: 23:39:50.920507 drop table if exists "ignored_column_test"; [] gorptest: 23:39:50.920530 drop table if exists "id_created_test"; [] gorptest: 23:39:50.920555 drop table if exists "type_conv_test"; [] gorptest: 23:39:50.920578 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:50.920602 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:50.920625 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:50.920649 drop table if exists "time_test"; [] gorptest: 23:39:50.920682 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:50.933408 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: 23:39:50.941039 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:50.951468 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:50.960508 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:50.966394 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.974171 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:50.982110 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:50.990180 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:50.996900 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:51.006571 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:51.014451 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:51.024285 begin; [] gorptest: 23:39:51.024462 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 23:39:51.024630 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 23:39:51.024659 commit; [] gorptest: 23:39:51.029915 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:51.030023 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 23:39:51.030078 drop table if exists "invoice_test"; [] gorptest: 23:39:51.035055 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.039690 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.044225 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.050511 drop table if exists "person_test"; [] gorptest: 23:39:51.058213 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.064250 drop table if exists "id_created_test"; [] gorptest: 23:39:51.070336 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.077103 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.081898 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.088468 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.094367 drop table if exists "time_test"; [] gorptest: 23:39:51.100670 drop table if exists "id_created_test"; [] 2025/01/17 23:39:51 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: 23:39:51.100961 drop table if exists "invoice_test"; [] gorptest: 23:39:51.101176 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.101203 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.101228 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.101252 drop table if exists "person_test"; [] gorptest: 23:39:51.101276 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.101299 drop table if exists "id_created_test"; [] gorptest: 23:39:51.101322 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.101346 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.101369 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.101392 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.101415 drop table if exists "time_test"; [] gorptest: 23:39:51.101447 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.114099 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: 23:39:51.124595 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:51.132351 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.156585 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:51.163865 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.171677 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.178650 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:51.183952 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:51.188729 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:51.196033 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:51.203279 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:51.210197 begin; [] gorptest: 23:39:51.210348 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 23:39:51.210496 select memo from invoice_test [] gorptest: 23:39:51.210556 savepoint "foo" [1:] gorptest: 23:39:51.210568 select memo from invoice_test [] gorptest: 23:39:51.210606 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 23:39:51.210650 select memo from invoice_test [] gorptest: 23:39:51.210710 rollback to savepoint "foo" [1:] gorptest: 23:39:51.210727 select memo from invoice_test [] gorptest: 23:39:51.210746 rollback; [] gorptest: 23:39:51.210833 drop table if exists "invoice_test"; [] gorptest: 23:39:51.217619 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.224128 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.228649 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.235556 drop table if exists "person_test"; [] gorptest: 23:39:51.241699 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.246883 drop table if exists "id_created_test"; [] gorptest: 23:39:51.254149 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.259887 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.265376 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.270519 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.275954 drop table if exists "time_test"; [] gorptest: 23:39:51.280303 drop table if exists "id_created_test"; [] 2025/01/17 23:39:51 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: 23:39:51.280605 drop table if exists "invoice_test"; [] gorptest: 23:39:51.280829 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.280858 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.280883 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.280907 drop table if exists "person_test"; [] gorptest: 23:39:51.280932 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.280956 drop table if exists "id_created_test"; [] gorptest: 23:39:51.280983 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.281007 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.281031 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.281056 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.281080 drop table if exists "time_test"; [] gorptest: 23:39:51.281114 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.289326 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: 23:39:51.295798 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:51.302663 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.311125 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:51.318706 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.324652 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.330868 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:51.335327 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:51.338468 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:51.345446 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:51.351001 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:51.355569 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 23:39:51.358922 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 23:39:51.361981 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 23:39:51.365010 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 23:39:51.368594 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:51.371644 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 23:39:51.375245 drop table if exists "invoice_test"; [] gorptest: 23:39:51.378841 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.381674 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.384622 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.390321 drop table if exists "person_test"; [] gorptest: 23:39:51.394709 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.403201 drop table if exists "id_created_test"; [] gorptest: 23:39:51.416322 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.444778 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.465116 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.487909 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.505440 drop table if exists "time_test"; [] gorptest: 23:39:51.522724 drop table if exists "id_created_test"; [] 2025/01/17 23:39:51 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: 23:39:51.523224 drop table if exists "invoice_test"; [] gorptest: 23:39:51.523541 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.523580 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.523620 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.523685 drop table if exists "person_test"; [] gorptest: 23:39:51.523723 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.523758 drop table if exists "id_created_test"; [] gorptest: 23:39:51.523796 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.523830 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.523868 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.523902 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.523939 drop table if exists "time_test"; [] gorptest: 23:39:51.523988 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.530294 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: 23:39:51.541017 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:51.554480 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.564137 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:51.578887 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.592907 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.600996 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:51.609230 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:51.616102 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:51.623110 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:51.632987 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:51.641547 delete from invoice_test [] gorptest: 23:39:51.653514 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 23:39:51.667257 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:51.667518 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:9158219953971339960 2:1274827320557476417 3:"random 2050844218052043734" 4:0 5:true 6:1] gorptest: 23:39:51.705305 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:51.705659 select * from invoice_test [] gorptest: 23:39:51.705800 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:51.711428 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 23:39:51.711537 delete from invoice_tag_test [] gorptest: 23:39:51.719932 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: 23:39:51.729404 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:51.729584 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:1523289453533186679 2:5559987812362275606 3:"random 1118868574046079236" 4:33 5:false 6:1] gorptest: 23:39:51.735998 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:51.736297 select * from invoice_tag_test [] gorptest: 23:39:51.736440 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:51.742517 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 23:39:51.742643 delete from alias_trans_field_test [] gorptest: 23:39:51.748879 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 23:39:51.755484 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:51.755634 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 5829562038689735085" 2:1] gorptest: 23:39:51.762083 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:51.762337 select * from alias_trans_field_test [] gorptest: 23:39:51.762466 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:51.766462 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 23:39:51.766591 drop table if exists "invoice_test"; [] gorptest: 23:39:51.771072 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.774831 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.779673 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.783495 drop table if exists "person_test"; [] gorptest: 23:39:51.790894 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.797820 drop table if exists "id_created_test"; [] gorptest: 23:39:51.805953 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.814830 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.824242 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.832583 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.841110 drop table if exists "time_test"; [] gorptest: 23:39:51.848325 drop table if exists "id_created_test"; [] 2025/01/17 23:39:51 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: 23:39:51.848759 drop table if exists "invoice_test"; [] gorptest: 23:39:51.849134 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.849178 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.849217 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.849259 drop table if exists "person_test"; [] gorptest: 23:39:51.849298 drop table if exists "ignored_column_test"; [] gorptest: 23:39:51.849339 drop table if exists "id_created_test"; [] gorptest: 23:39:51.849377 drop table if exists "type_conv_test"; [] gorptest: 23:39:51.849419 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:51.849456 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:51.849497 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:51.849535 drop table if exists "time_test"; [] gorptest: 23:39:51.849590 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.858596 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: 23:39:51.867659 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:51.876978 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:51.885196 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:51.894135 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.902227 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:51.907423 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:51.912634 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:51.918412 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:51.927204 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:51.935199 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:51.943252 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 23:39:51.951243 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:39:51.951395 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:39:51.961561 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 23:39:51.961695 drop table if exists "invoice_test"; [] gorptest: 23:39:51.969752 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:51.977673 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:51.984440 drop table if exists "invoice_override_test"; [] gorptest: 23:39:51.989460 drop table if exists "person_test"; [] gorptest: 23:39:51.995741 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.001512 drop table if exists "id_created_test"; [] gorptest: 23:39:52.007958 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.014681 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.021375 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.028604 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.036555 drop table if exists "time_test"; [] gorptest: 23:39:52.043337 drop table if exists "id_created_test"; [] 2025/01/17 23:39:52 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: 23:39:52.043706 drop table if exists "invoice_test"; [] gorptest: 23:39:52.043984 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.044028 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.044059 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.044089 drop table if exists "person_test"; [] gorptest: 23:39:52.044118 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.044146 drop table if exists "id_created_test"; [] gorptest: 23:39:52.044174 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.044201 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.044229 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.044257 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.044284 drop table if exists "time_test"; [] gorptest: 23:39:52.044321 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.050664 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: 23:39:52.059372 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:52.067437 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.074171 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:52.079046 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.084847 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.091457 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:52.095003 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:52.099791 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:52.103368 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:52.106970 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:52.111158 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: 23:39:52.116609 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:39:52.116780 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: 23:39:52.121051 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:39:52.121340 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 23:39:52.127874 drop table if exists "invoice_test"; [] gorptest: 23:39:52.132995 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.142687 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.150668 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.158495 drop table if exists "person_test"; [] gorptest: 23:39:52.166419 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.172732 drop table if exists "id_created_test"; [] gorptest: 23:39:52.178848 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.184189 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.190005 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.194924 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.197939 drop table if exists "time_test"; [] gorptest: 23:39:52.202559 drop table if exists "id_created_test"; [] 2025/01/17 23:39:52 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: 23:39:52.202842 drop table if exists "invoice_test"; [] gorptest: 23:39:52.203127 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.203180 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.203311 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.203359 drop table if exists "person_test"; [] gorptest: 23:39:52.203389 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.203417 drop table if exists "id_created_test"; [] gorptest: 23:39:52.203446 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.203473 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.203501 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.203528 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.203555 drop table if exists "time_test"; [] gorptest: 23:39:52.203597 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.211535 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: 23:39:52.219211 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:52.223871 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.230167 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:52.235285 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.240841 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.246173 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:52.249761 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:52.255642 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:52.264057 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:52.270338 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:52.278458 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 23:39:52.284598 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:39:52.284747 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 23:39:52.289110 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 23:39:52.289206 select * from embedded_struct_test [] gorptest: 23:39:52.289282 drop table if exists "invoice_test"; [] gorptest: 23:39:52.294620 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.298710 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.302704 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.307767 drop table if exists "person_test"; [] gorptest: 23:39:52.313472 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.320065 drop table if exists "id_created_test"; [] gorptest: 23:39:52.325624 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.331965 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.338675 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.345258 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.352537 drop table if exists "time_test"; [] gorptest: 23:39:52.358744 drop table if exists "id_created_test"; [] 2025/01/17 23:39:52 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: 23:39:52.359194 drop table if exists "invoice_test"; [] gorptest: 23:39:52.359437 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.359465 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.359491 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.359517 drop table if exists "person_test"; [] gorptest: 23:39:52.359541 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.359566 drop table if exists "id_created_test"; [] gorptest: 23:39:52.359592 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.359616 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.359640 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.359664 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.359688 drop table if exists "time_test"; [] gorptest: 23:39:52.359722 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.364912 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: 23:39:52.369839 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:52.376515 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.383037 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:52.390858 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.396667 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.403972 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:52.411295 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:52.417674 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:52.423759 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:52.430299 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:52.438701 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 23:39:52.447899 drop table if exists "invoice_test"; [] gorptest: 23:39:52.454080 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.458018 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.465045 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.471357 drop table if exists "person_test"; [] gorptest: 23:39:52.476552 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.482416 drop table if exists "id_created_test"; [] gorptest: 23:39:52.489346 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.494705 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.497794 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.503531 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.509223 drop table if exists "time_test"; [] gorptest: 23:39:52.514581 drop table if exists "id_created_test"; [] 2025/01/17 23:39:52 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: 23:39:52.514912 drop table if exists "invoice_test"; [] gorptest: 23:39:52.515156 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.515185 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.515213 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.515242 drop table if exists "person_test"; [] gorptest: 23:39:52.515269 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.515296 drop table if exists "id_created_test"; [] gorptest: 23:39:52.515324 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.515351 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.515378 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.515405 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.515432 drop table if exists "time_test"; [] gorptest: 23:39:52.515468 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.521226 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: 23:39:52.527400 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:52.534311 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.540283 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:52.545722 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.554331 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.562156 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:52.570244 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:52.578532 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:52.591323 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:52.597854 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:52.605519 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 23:39:52.615730 drop table if exists "invoice_test"; [] gorptest: 23:39:52.623381 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.631407 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.636664 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.643887 drop table if exists "person_test"; [] gorptest: 23:39:52.651473 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.657275 drop table if exists "id_created_test"; [] gorptest: 23:39:52.663850 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.670423 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.676201 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.683736 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.689521 drop table if exists "time_test"; [] gorptest: 23:39:52.693614 drop table if exists "id_created_test"; [] gorptest: 23:39:52.694020 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 23:39:52.697436 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: 23:39:52.702737 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:39:52.702856 select count(*) from TableWithNull [] gorptest: 23:39:52.702904 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:39:52.702949 select Int64 from TableWithNull where Str='notfound' [] gorptest: 23:39:52.702988 select Int64 from TableWithNull where Str='abc' [] gorptest: 23:39:52.703026 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:39:52.703064 select min(Float64) from TableWithNull [] gorptest: 23:39:52.703118 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 23:39:52.703161 select Float64 from TableWithNull where Str='notfound' [] gorptest: 23:39:52.703195 select Float64 from TableWithNull where Str='abc' [] gorptest: 23:39:52.703233 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:39:52.703270 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:39:52.703304 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:39:52.703341 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 23:39:52.703391 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 23:39:52.703433 select Str from TableWithNull where Int64=? [1:78] gorptest: 23:39:52.703471 drop table if exists "TableWithNull"; [] 2025/01/17 23:39:52 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: 23:39:52.713855 drop table if exists "invoice_test"; [] gorptest: 23:39:52.714128 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.714160 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.714186 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.714211 drop table if exists "person_test"; [] gorptest: 23:39:52.714236 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.714261 drop table if exists "id_created_test"; [] gorptest: 23:39:52.714286 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.714310 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.714335 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.714359 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.714384 drop table if exists "time_test"; [] gorptest: 23:39:52.714416 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.724008 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: 23:39:52.731498 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:52.739281 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.747897 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:52.754970 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.768243 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:52.785046 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:52.798288 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:52.816628 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:52.824859 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:52.834634 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:52.841414 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157192841384564 2:1737157192841384564 3:"Bob" 4:"Smith" 5:1] gorptest: 23:39:52.847328 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157192847308313 2:1737157192847308313 3:"Jane" 4:"Smith" 5:1] gorptest: 23:39:52.851103 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157192851090452 2:1737157192851090452 3:"Mike" 4:"Smith" 5:1] gorptest: 23:39:52.860185 drop table if exists "invoice_test"; [] gorptest: 23:39:52.866918 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.874432 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.879919 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.884614 drop table if exists "person_test"; [] gorptest: 23:39:52.892984 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.900614 drop table if exists "id_created_test"; [] gorptest: 23:39:52.914761 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.920284 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.926168 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.934024 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.941097 drop table if exists "time_test"; [] gorptest: 23:39:52.946534 drop table if exists "id_created_test"; [] gorptest: 23:39:52.947098 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 23:39:52.956720 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 23:39:52.964032 drop table if exists "string_pk_test"; [] 2025/01/17 23:39:52 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: 23:39:52.970884 drop table if exists "invoice_test"; [] gorptest: 23:39:52.971283 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:52.971340 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:52.971394 drop table if exists "invoice_override_test"; [] gorptest: 23:39:52.971448 drop table if exists "person_test"; [] gorptest: 23:39:52.971503 drop table if exists "ignored_column_test"; [] gorptest: 23:39:52.971555 drop table if exists "id_created_test"; [] gorptest: 23:39:52.971604 drop table if exists "type_conv_test"; [] gorptest: 23:39:52.971657 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:52.971707 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:52.971762 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:52.971817 drop table if exists "time_test"; [] gorptest: 23:39:52.971886 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.978221 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: 23:39:52.983510 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:52.987749 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:52.992860 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:52.998276 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.003802 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.010733 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:53.018570 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:53.024076 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:53.030099 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:53.038647 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:53.045607 insert into "time_test" ("Id","Time") values (null,?); [1:2025-01-17 23:08:53.045432066 +0000 UTC] gorptest: 23:39:53.055235 insert into "time_test" ("Id","Time") values (null,?); [1:2025-01-17 23:09:54.045432066 +0000 UTC] gorptest: 23:39:53.062100 SELECT id FROM time_test WHERE Time < ? [1:2025-01-17 23:09:53.045432066 +0000 UTC] gorptest: 23:39:53.062402 drop table if exists "invoice_test"; [] gorptest: 23:39:53.069279 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:53.075831 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:53.080664 drop table if exists "invoice_override_test"; [] gorptest: 23:39:53.085228 drop table if exists "person_test"; [] gorptest: 23:39:53.092044 drop table if exists "ignored_column_test"; [] gorptest: 23:39:53.102256 drop table if exists "id_created_test"; [] gorptest: 23:39:53.109587 drop table if exists "type_conv_test"; [] gorptest: 23:39:53.114913 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:53.119988 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:53.125503 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:53.132294 drop table if exists "time_test"; [] gorptest: 23:39:53.137415 drop table if exists "id_created_test"; [] 2025/01/17 23:39:53 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: 23:39:53.137904 drop table if exists "invoice_test"; [] gorptest: 23:39:53.138258 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:53.138333 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:53.138383 drop table if exists "invoice_override_test"; [] gorptest: 23:39:53.138430 drop table if exists "person_test"; [] gorptest: 23:39:53.138475 drop table if exists "ignored_column_test"; [] gorptest: 23:39:53.138519 drop table if exists "id_created_test"; [] gorptest: 23:39:53.138563 drop table if exists "type_conv_test"; [] gorptest: 23:39:53.138614 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:53.138659 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:53.138707 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:53.138751 drop table if exists "time_test"; [] gorptest: 23:39:53.138811 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.144453 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: 23:39:53.149361 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:53.154987 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.160116 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:53.167603 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.175108 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.183890 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:53.193489 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:53.201207 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:53.209021 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:53.214767 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:53.223385 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157193223181853 2:1737157193223181853 3:"bob" 4:"smith" 5:1] gorptest: 23:39:53.235972 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 23:39:53.240092 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 23:39:53.240335 drop table if exists "invoice_test"; [] gorptest: 23:39:53.244643 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:53.248949 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:53.252765 drop table if exists "invoice_override_test"; [] gorptest: 23:39:53.258623 drop table if exists "person_test"; [] gorptest: 23:39:53.264612 drop table if exists "ignored_column_test"; [] gorptest: 23:39:53.273328 drop table if exists "id_created_test"; [] gorptest: 23:39:53.283627 drop table if exists "type_conv_test"; [] gorptest: 23:39:53.292167 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:53.300568 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:53.306864 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:53.314900 drop table if exists "time_test"; [] gorptest: 23:39:53.323969 drop table if exists "id_created_test"; [] 2025/01/17 23:39:53 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: 23:39:53.324477 drop table if exists "invoice_test"; [] gorptest: 23:39:53.324887 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:53.324941 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:53.324993 drop table if exists "invoice_override_test"; [] gorptest: 23:39:53.325046 drop table if exists "person_test"; [] gorptest: 23:39:53.325097 drop table if exists "ignored_column_test"; [] gorptest: 23:39:53.325150 drop table if exists "id_created_test"; [] gorptest: 23:39:53.325201 drop table if exists "type_conv_test"; [] gorptest: 23:39:53.325253 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:53.325303 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:53.325353 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:53.325403 drop table if exists "time_test"; [] gorptest: 23:39:53.325475 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.330695 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: 23:39:53.337089 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:53.346101 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.351877 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:53.363118 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.373303 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.380297 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:53.389666 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:53.402158 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:53.415402 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:53.427431 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/01/17 23:39:53 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: 23:39:53.611373 drop table if exists "invoice_test"; [] gorptest: 23:39:53.611737 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:53.611785 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:53.611827 drop table if exists "invoice_override_test"; [] gorptest: 23:39:53.611867 drop table if exists "person_test"; [] gorptest: 23:39:53.611908 drop table if exists "ignored_column_test"; [] gorptest: 23:39:53.611949 drop table if exists "id_created_test"; [] gorptest: 23:39:53.611989 drop table if exists "type_conv_test"; [] gorptest: 23:39:53.612028 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:53.612068 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:53.612110 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:53.612150 drop table if exists "time_test"; [] gorptest: 23:39:53.612205 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.636561 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: 23:39:53.718473 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:53.726573 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.734812 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:53.742624 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.748953 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.755938 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:53.762393 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:53.768328 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:53.774808 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:53.784384 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:53.794034 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157193794015020 2:1737157193794015020 3:"bob" 4:"smith" 5:1] gorptest: 23:39:53.801574 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157193801565045 2:1737157193801565045 3:"jane" 4:"doe" 5:1] gorptest: 23:39:53.808075 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:53.808183 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 23:39:53.808267 select * from person_test where Id=? [1:1] gorptest: 23:39:53.808354 select * from person_test order by fname asc [] gorptest: 23:39:53.808440 drop table if exists "invoice_test"; [] gorptest: 23:39:53.814637 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:53.821882 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:53.828237 drop table if exists "invoice_override_test"; [] gorptest: 23:39:53.834390 drop table if exists "person_test"; [] gorptest: 23:39:53.862315 drop table if exists "ignored_column_test"; [] gorptest: 23:39:53.872332 drop table if exists "id_created_test"; [] gorptest: 23:39:53.881763 drop table if exists "type_conv_test"; [] gorptest: 23:39:53.889906 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:53.900993 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:53.912974 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:53.921979 drop table if exists "time_test"; [] gorptest: 23:39:53.932499 drop table if exists "id_created_test"; [] 2025/01/17 23:39:53 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: 23:39:53.932728 drop table if exists "invoice_test"; [] gorptest: 23:39:53.932942 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:53.932969 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:53.932994 drop table if exists "invoice_override_test"; [] gorptest: 23:39:53.933018 drop table if exists "person_test"; [] gorptest: 23:39:53.933042 drop table if exists "ignored_column_test"; [] gorptest: 23:39:53.933066 drop table if exists "id_created_test"; [] gorptest: 23:39:53.933090 drop table if exists "type_conv_test"; [] gorptest: 23:39:53.933113 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:53.933137 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:53.933161 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:53.933187 drop table if exists "time_test"; [] gorptest: 23:39:53.933220 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.939922 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: 23:39:53.949665 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:53.957248 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:53.966987 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:53.971340 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.975703 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:53.982632 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:53.989504 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:53.995429 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:53.999553 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:54.005069 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:54.009974 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157194009854408 2:1737157194009854408 3:"bob" 4:"smith" 5:1] gorptest: 23:39:54.019116 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 23:39:54.019277 select * from person_test where Id=? [1:1] gorptest: 23:39:54.019372 select FName from person_test where Id=? [1:1] gorptest: 23:39:54.019417 select * from person_test where Id=? [1:1] gorptest: 23:39:54.019487 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 23:39:54.019551 select * from person_test where Id=? [1:-2222] gorptest: 23:39:54.019620 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1737157194019609099 2:1737157194019609099 3:"bob" 4:"smith" 5:1] gorptest: 23:39:54.024436 select * from person_test where Fname='bob' [] gorptest: 23:39:54.024631 select * from person_test where Id=-123 [] gorptest: 23:39:54.024676 select * from person_test where Id=-123 [] gorptest: 23:39:54.024714 select * from person_test where Id=-123 [] gorptest: 23:39:54.024750 select * from person_test where Id=-123 [] gorptest: 23:39:54.024788 drop table if exists "invoice_test"; [] gorptest: 23:39:54.031668 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:54.038152 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:54.047423 drop table if exists "invoice_override_test"; [] gorptest: 23:39:54.051840 drop table if exists "person_test"; [] gorptest: 23:39:54.060689 drop table if exists "ignored_column_test"; [] gorptest: 23:39:54.067093 drop table if exists "id_created_test"; [] gorptest: 23:39:54.074327 drop table if exists "type_conv_test"; [] gorptest: 23:39:54.082667 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:54.087297 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.091760 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:54.095224 drop table if exists "time_test"; [] gorptest: 23:39:54.098813 drop table if exists "id_created_test"; [] 2025/01/17 23:39:54 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: 23:39:54.099156 drop table if exists "invoice_test"; [] gorptest: 23:39:54.099376 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:54.099406 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:54.099432 drop table if exists "invoice_override_test"; [] gorptest: 23:39:54.099458 drop table if exists "person_test"; [] gorptest: 23:39:54.099492 drop table if exists "ignored_column_test"; [] gorptest: 23:39:54.099519 drop table if exists "id_created_test"; [] gorptest: 23:39:54.099649 drop table if exists "type_conv_test"; [] gorptest: 23:39:54.099677 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:54.099702 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.099727 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:54.099752 drop table if exists "time_test"; [] gorptest: 23:39:54.099790 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:54.106334 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: 23:39:54.110891 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:54.115255 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:54.120897 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:54.128220 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.132172 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.138719 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:54.144303 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:54.150341 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:54.154329 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:54.171786 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:54.177106 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 23:39:54.203392 select * from id_created_test where Id=1 [] gorptest: 23:39:54.203525 SELECT *, 1 AS external FROM id_created_test [] gorptest: 23:39:54.203774 drop table if exists "invoice_test"; [] gorptest: 23:39:54.211509 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:54.219020 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:54.226037 drop table if exists "invoice_override_test"; [] gorptest: 23:39:54.231234 drop table if exists "person_test"; [] gorptest: 23:39:54.235475 drop table if exists "ignored_column_test"; [] gorptest: 23:39:54.239666 drop table if exists "id_created_test"; [] gorptest: 23:39:54.247131 drop table if exists "type_conv_test"; [] gorptest: 23:39:54.252708 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:54.257565 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.261363 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:54.267839 drop table if exists "time_test"; [] gorptest: 23:39:54.273466 drop table if exists "id_created_test"; [] 2025/01/17 23:39:54 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: 23:39:54.273832 drop table if exists "invoice_test"; [] gorptest: 23:39:54.274053 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:54.274081 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:54.274107 drop table if exists "invoice_override_test"; [] gorptest: 23:39:54.274132 drop table if exists "person_test"; [] gorptest: 23:39:54.274157 drop table if exists "ignored_column_test"; [] gorptest: 23:39:54.274181 drop table if exists "id_created_test"; [] gorptest: 23:39:54.274206 drop table if exists "type_conv_test"; [] gorptest: 23:39:54.274232 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:54.274264 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.274292 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:54.274321 drop table if exists "time_test"; [] gorptest: 23:39:54.274357 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:54.286336 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: 23:39:54.293770 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:54.300777 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:54.331355 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:54.436920 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.442595 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.452602 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:54.464132 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:54.469682 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:54.472635 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:54.480082 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:54.484387 drop table if exists "invoice_test"; [] gorptest: 23:39:54.492914 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:54.501744 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:54.508320 drop table if exists "invoice_override_test"; [] gorptest: 23:39:54.512569 drop table if exists "person_test"; [] gorptest: 23:39:54.518068 drop table if exists "ignored_column_test"; [] gorptest: 23:39:54.521219 drop table if exists "id_created_test"; [] gorptest: 23:39:54.532555 drop table if exists "type_conv_test"; [] gorptest: 23:39:54.541201 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:54.548345 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.559020 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:54.565647 drop table if exists "time_test"; [] gorptest: 23:39:54.573898 drop table if exists "id_created_test"; [] gorptest: 23:39:54.573963 drop table if exists "single_column_table"; [] gorptest: 23:39:54.574009 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: 23:39:54.579448 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: 23:39:54.588562 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:54.597748 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: 23:39:54.604948 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: 23:39:54.612178 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.616984 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.625675 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:54.635126 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:54.641286 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:54.646826 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: 23:39:54.651046 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:54.657527 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 23:39:54.657605 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 23:39:54.664972 delete from "invoice_test"; [] gorptest: 23:39:54.671166 delete from "invoice_tag_test"; [] gorptest: 23:39:54.676445 delete from "alias_trans_field_test"; [] gorptest: 23:39:54.682931 delete from "invoice_override_test"; [] gorptest: 23:39:54.689834 delete from "person_test"; [] gorptest: 23:39:54.695681 delete from "ignored_column_test"; [] gorptest: 23:39:54.706223 delete from "id_created_test"; [] gorptest: 23:39:54.713816 delete from "type_conv_test"; [] gorptest: 23:39:54.719015 delete from "embedded_struct_test"; [] gorptest: 23:39:54.723941 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.730112 delete from "embedded_autoincr_test"; [] gorptest: 23:39:54.738046 delete from "time_test"; [] gorptest: 23:39:54.744420 delete from "id_created_test"; [] gorptest: 23:39:54.751649 delete from "single_column_table"; [] gorptest: 23:39:54.757483 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 23:39:54.757605 drop table if exists "invoice_test"; [] gorptest: 23:39:54.766719 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:54.774635 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:54.779646 drop table if exists "invoice_override_test"; [] gorptest: 23:39:54.786058 drop table if exists "person_test"; [] gorptest: 23:39:54.790716 drop table if exists "ignored_column_test"; [] gorptest: 23:39:54.800458 drop table if exists "id_created_test"; [] gorptest: 23:39:54.809360 drop table if exists "type_conv_test"; [] gorptest: 23:39:54.818067 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:54.827760 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.832618 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:54.839392 drop table if exists "time_test"; [] gorptest: 23:39:54.846481 drop table if exists "id_created_test"; [] gorptest: 23:39:54.846585 drop table if exists "single_column_table"; [] 2025/01/17 23:39:54 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: 23:39:54.858030 drop table if exists "invoice_test"; [] gorptest: 23:39:54.858315 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:54.858348 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:54.858380 drop table if exists "invoice_override_test"; [] gorptest: 23:39:54.858412 drop table if exists "person_test"; [] gorptest: 23:39:54.858441 drop table if exists "ignored_column_test"; [] gorptest: 23:39:54.858471 drop table if exists "id_created_test"; [] gorptest: 23:39:54.858503 drop table if exists "type_conv_test"; [] gorptest: 23:39:54.858534 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:54.858564 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:54.858593 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:54.858624 drop table if exists "time_test"; [] gorptest: 23:39:54.858665 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:54.866761 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: 23:39:54.874560 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 23:39:54.882596 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 23:39:54.891501 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 23:39:54.898628 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.909441 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 23:39:54.918682 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 23:39:54.927740 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 23:39:54.937664 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 23:39:54.945833 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 23:39:54.952969 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 23:39:54.961374 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 23:39:54.968139 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 23:39:54.976740 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 23:39:54.980237 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 23:39:54.980379 begin; [] gorptest: 23:39:54.980424 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 23:39:54.980590 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:39:54.980940 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:39:54.981040 commit; [] gorptest: 23:39:54.991836 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 23:39:54.991953 drop table if exists "invoice_test"; [] gorptest: 23:39:54.996403 drop table if exists "invoice_tag_test"; [] gorptest: 23:39:55.002349 drop table if exists "alias_trans_field_test"; [] gorptest: 23:39:55.033069 drop table if exists "invoice_override_test"; [] gorptest: 23:39:55.039064 drop table if exists "person_test"; [] gorptest: 23:39:55.081701 drop table if exists "ignored_column_test"; [] gorptest: 23:39:55.104920 drop table if exists "id_created_test"; [] gorptest: 23:39:55.141023 drop table if exists "type_conv_test"; [] gorptest: 23:39:55.144920 drop table if exists "embedded_struct_test"; [] gorptest: 23:39:55.155163 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 23:39:55.172725 drop table if exists "embedded_autoincr_test"; [] gorptest: 23:39:55.176730 drop table if exists "time_test"; [] gorptest: 23:39:55.205749 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 7.535s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-11.fc42.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.xjvvpd + 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.xeUIX3 + 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-11.fc42 golang-gopkg-gorp-1-devel = 1.7.2-11.fc42 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-11.fc42 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-11.fc42.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-11.fc42 golang(github.com/go-gorp/gorp/v1) = 1.7.2-11.fc42 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-11.fc42 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-11.fc42 Obsoletes: golang-github-gorp-1-devel < 1.7.2-11.fc42 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-11.fc42.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-11.fc42.noarch.rpm Child return code was: 0