Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674120235.273585/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v54jodtj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v54jodtj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '427e1ff6bc564559af5664379fa890ee', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674120235.273585/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v54jodtj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/golang-gopkg-gorp-1-1.7.2-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674120235.273585/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v54jodtj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v54jodtj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '7f4ff94fd1094829aa19364257804b8c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674120235.273585/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.v54jodtj:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.a0VP6b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/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/gorp-1.7.2/vendor + [[ ! -e /builddir/build/BUILD/gorp-1.7.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/gorp-1.7.2/_build/bin install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build' install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/bin' + export GOPATH=/builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 ]] ++ dirname /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + install -m 0755 -vd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/src' install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in' + ln -fs /builddir/build/BUILD/gorp-1.7.2 /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + cd /builddir/build/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.pGBmtt + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 + cd gorp-1.7.2 + cd /builddir/build/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/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/gorp-1.7.2/_build -o golang-gopkg-gorp-1-devel.file-list -O /builddir/build/BUILD/gorp-1.7.2 -V 1.7.2-4.fc38 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 -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/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/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 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.rA3qsz + umask 022 + cd /builddir/build/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 + 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,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/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/gorp-1.7.2/_build -V 1.7.2-4.fc38 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/gorp-1.7.2/_build/src PATH: /builddir/build/BUILD/gorp-1.7.2/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/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,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 2023/01/19 09:26:14 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: 09:26:14.142856 drop table if exists "invoice_test"; [] gorptest: 09:26:14.143383 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.143625 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.143882 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.144122 drop table if exists "person_test"; [] gorptest: 09:26:14.144348 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.144564 drop table if exists "id_created_test"; [] gorptest: 09:26:14.144798 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.145019 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.145258 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.145477 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.145688 drop table if exists "time_test"; [] gorptest: 09:26:14.145924 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.146360 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: 09:26:14.146682 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.147007 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.147366 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.147680 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.148005 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.148337 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.148646 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.148985 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.149317 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.149626 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.149967 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: 09:26:14.150159 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: 09:26:14.150363 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.150602 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: 09:26:14.150844 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: 09:26:14.151096 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.151356 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.151568 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.151850 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.152088 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.152332 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: 09:26:14.152563 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.152846 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:14.153081 drop table if exists "invoice_test"; [] gorptest: 09:26:14.153448 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.153780 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.154093 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.154477 drop table if exists "person_test"; [] gorptest: 09:26:14.154810 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.155133 drop table if exists "id_created_test"; [] gorptest: 09:26:14.155444 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.155770 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.156085 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.156405 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.156660 drop table if exists "time_test"; [] gorptest: 09:26:14.156927 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.157322 drop table if exists "invoice_test"; [] gorptest: 09:26:14.157585 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.157779 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.157902 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.158016 drop table if exists "person_test"; [] gorptest: 09:26:14.158140 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.158252 drop table if exists "id_created_test"; [] gorptest: 09:26:14.158362 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.158472 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.158583 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.158694 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.158832 drop table if exists "time_test"; [] gorptest: 09:26:14.158948 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.159177 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: 09:26:14.159444 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.159693 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.159982 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.160222 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.160467 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.160752 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.160994 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.161261 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.161502 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.161763 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.162008 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: 09:26:14.162178 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: 09:26:14.162302 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.162418 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: 09:26:14.162554 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: 09:26:14.162672 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.162811 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.162946 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.163065 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.163222 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.163348 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: 09:26:14.163472 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.163607 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:14.163767 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374163753020 2:1674120374163753020 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:14.163989 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 09:26:14.164246 delete from "invoice_test"; [] gorptest: 09:26:14.164440 delete from "invoice_tag_test"; [] gorptest: 09:26:14.164614 delete from "alias_trans_field_test"; [] gorptest: 09:26:14.164806 delete from "invoice_override_test"; [] gorptest: 09:26:14.164992 delete from "person_test"; [] gorptest: 09:26:14.165189 delete from "ignored_column_test"; [] gorptest: 09:26:14.165363 delete from "id_created_test"; [] gorptest: 09:26:14.165533 delete from "type_conv_test"; [] gorptest: 09:26:14.165699 delete from "embedded_struct_test"; [] gorptest: 09:26:14.165911 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.166089 delete from "embedded_autoincr_test"; [] gorptest: 09:26:14.166278 delete from "time_test"; [] gorptest: 09:26:14.166447 delete from "id_created_test"; [] gorptest: 09:26:14.166615 SELECT * FROM person_test [] gorptest: 09:26:14.166800 SELECT * FROM invoice_test [] gorptest: 09:26:14.166944 drop table if exists "invoice_test"; [] gorptest: 09:26:14.167158 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.167375 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.167616 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.167996 drop table if exists "person_test"; [] gorptest: 09:26:14.168243 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.168457 drop table if exists "id_created_test"; [] gorptest: 09:26:14.168752 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.168965 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.169208 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.169423 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.169645 drop table if exists "time_test"; [] gorptest: 09:26:14.169889 drop table if exists "id_created_test"; [] gorptest: 09:26:14.170103 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 09:26:14.170470 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 09:26:14 +0000 UTC] gorptest: 09:26:14.170676 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 09:26:14.170867 drop table if exists "WithCustomDate"; [] gorptest: 09:26:14.171166 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:14.171492 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:14.171744 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:14.171987 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 09:26:14.172222 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 09:26:14.172423 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 09:26:14.172628 drop table if exists "PersonUInt64"; [] gorptest: 09:26:14.172881 drop table if exists "PersonUInt32"; [] gorptest: 09:26:14.173125 drop table if exists "PersonUInt16"; [] gorptest: 09:26:14.173416 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 09:26:14.173822 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 09:26:14.174032 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 09:26:14.174225 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 09:26:14.174365 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 09:26:14.174569 drop table if exists "UniqueColumns"; [] gorptest: 09:26:14.174969 drop table if exists PersistentUser [] gorptest: 09:26:14.175207 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:14.175454 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:14.175647 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 09:26:14.175834 select * from PersistentUser [] gorptest: 09:26:14.176078 select * from PersistentUser [] gorptest: 09:26:14.176266 select * from PersistentUser [] gorptest: 09:26:14.176446 select Id from PersistentUser [] gorptest: 09:26:14.176583 select mykey from PersistentUser [] gorptest: 09:26:14.176736 select PassedTraining from PersistentUser [] gorptest: 09:26:14.176886 select Id from PersistentUser [] gorptest: 09:26:14.177014 drop table if exists "PersistentUser"; [] gorptest: 09:26:14.177291 drop table if exists PersistentUser [] gorptest: 09:26:14.177528 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:14.177813 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:14.178010 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:14.178244 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:14.178402 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:14.178549 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:14.178858 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 09:26:14.179096 drop table if exists "PersistentUser"; [] gorptest: 09:26:14.179390 drop table if exists PersistentUser [] gorptest: 09:26:14.179618 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:14.179951 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:14.180177 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:14.180382 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:14.180644 drop table if exists "PersistentUser"; [] 2023/01/19 09:26:14 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: 09:26:14.181146 drop table if exists "invoice_test"; [] gorptest: 09:26:14.181365 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.181491 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.181610 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.181750 drop table if exists "person_test"; [] gorptest: 09:26:14.181906 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.182028 drop table if exists "id_created_test"; [] gorptest: 09:26:14.182166 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.182281 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.182390 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.182538 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.182648 drop table if exists "time_test"; [] gorptest: 09:26:14.182831 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.183060 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: 09:26:14.183337 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.183567 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.183880 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.184136 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.184392 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.184627 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.184895 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.185157 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.185404 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.185666 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.185916 select * from invoice_test where id=99999 [] gorptest: 09:26:14.186079 select * from invoice_test where id=99999 [] gorptest: 09:26:14.186256 drop table if exists "invoice_test"; [] gorptest: 09:26:14.186457 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.186675 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.186923 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.187232 drop table if exists "person_test"; [] gorptest: 09:26:14.187474 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.187682 drop table if exists "id_created_test"; [] gorptest: 09:26:14.187918 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.188170 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.188380 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.188602 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.188848 drop table if exists "time_test"; [] gorptest: 09:26:14.189073 drop table if exists "id_created_test"; [] gorptest: 09:26:14.189300 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 09:26:14.189647 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: 09:26:14.189829 drop table if exists "InvoicePersonView"; [] 2023/01/19 09:26:14 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: 09:26:14.190307 drop table if exists "invoice_test"; [] gorptest: 09:26:14.190507 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.190633 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.190789 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.190910 drop table if exists "person_test"; [] gorptest: 09:26:14.191036 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.191176 drop table if exists "id_created_test"; [] gorptest: 09:26:14.191291 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.191396 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.191516 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.191633 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.191772 drop table if exists "time_test"; [] gorptest: 09:26:14.191893 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.192158 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: 09:26:14.192388 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.192611 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.192903 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.193166 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.193390 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.193608 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.193878 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.194140 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.194370 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.194611 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.194877 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374194864599 2:1674120374194864599 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:14.195090 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.195289 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120374194864599 2:1674120374194864599 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 09:26:14.195484 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120374194864599 2:1674120374194864599 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 09:26:14.195631 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.195801 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 09:26:14.195952 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.195989 drop table if exists "invoice_test"; [] gorptest: 09:26:14.196091 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.196200 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.196298 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.196444 drop table if exists "person_test"; [] gorptest: 09:26:14.196539 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.196626 drop table if exists "id_created_test"; [] gorptest: 09:26:14.196762 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.196874 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.196956 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.197037 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.197148 drop table if exists "time_test"; [] gorptest: 09:26:14.197250 drop table if exists "id_created_test"; [] gorptest: 09:26:14.197348 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:14.197550 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 09:26:14.197619 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:14.197683 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: 09:26:14.198410 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:14.198566 drop table if exists "TableWithNull"; [] gorptest: 09:26:14.198866 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 09:26:14.199255 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 09:26:14.199474 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 09:26:14.199643 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 09:26:14.199830 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 09:26:14.199983 drop table if exists "Invoice"; [] 2023/01/19 09:26:14 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: 09:26:14.200463 drop table if exists "invoice_test"; [] gorptest: 09:26:14.200662 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.200847 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.200965 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.201077 drop table if exists "person_test"; [] gorptest: 09:26:14.201198 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.201323 drop table if exists "id_created_test"; [] gorptest: 09:26:14.201436 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.201551 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.201675 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.201696 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.201864 drop table if exists "time_test"; [] gorptest: 09:26:14.201888 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.202006 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: 09:26:14.202106 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.202217 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.202347 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.202445 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.202537 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.202635 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.202777 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.202883 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.202978 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.203073 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.203189 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374203176820 2:1674120374203176820 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.203273 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 09:26:14.203363 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 09:26:14.203414 drop table if exists "invoice_test"; [] gorptest: 09:26:14.203506 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.203590 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.203673 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.204536 drop table if exists "person_test"; [] gorptest: 09:26:14.204774 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.204982 drop table if exists "id_created_test"; [] gorptest: 09:26:14.205211 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.205419 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.205620 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.205853 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.206060 drop table if exists "time_test"; [] gorptest: 09:26:14.206334 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.206756 drop table if exists "invoice_test"; [] gorptest: 09:26:14.206993 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.207136 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.207280 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.207396 drop table if exists "person_test"; [] gorptest: 09:26:14.207411 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.207428 drop table if exists "id_created_test"; [] gorptest: 09:26:14.207443 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.207455 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.207467 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.207479 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.207491 drop table if exists "time_test"; [] gorptest: 09:26:14.207537 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.207689 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: 09:26:14.208242 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.208350 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.208470 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.208603 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.208695 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.208852 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.208952 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.209046 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.209156 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.209274 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.209378 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374209369328 2:1674120374209369328 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.209459 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.209506 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120374209369328 2:1674120374209369328 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 09:26:14.209593 select * from person_test where id = ? [1:1] gorptest: 09:26:14.209648 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 09:26:14.210290 drop table if exists "invoice_test"; [] gorptest: 09:26:14.210524 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.210789 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.211014 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.211284 drop table if exists "person_test"; [] gorptest: 09:26:14.211498 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.211727 drop table if exists "id_created_test"; [] gorptest: 09:26:14.211934 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.212150 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.212371 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.212596 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.212842 drop table if exists "time_test"; [] gorptest: 09:26:14.213086 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.213320 drop table if exists "invoice_test"; [] gorptest: 09:26:14.213441 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.213456 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.213468 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.213480 drop table if exists "person_test"; [] gorptest: 09:26:14.213492 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.213504 drop table if exists "id_created_test"; [] gorptest: 09:26:14.213520 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.213532 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.213544 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.213557 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.213569 drop table if exists "time_test"; [] gorptest: 09:26:14.213585 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.213697 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: 09:26:14.213828 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.213926 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.214041 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.214150 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.214242 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.214336 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.214433 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.214545 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.214659 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.214786 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.214909 begin; [] gorptest: 09:26:14.214942 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 09:26:14.215003 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 09:26:14.215016 commit; [] gorptest: 09:26:14.215064 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.215131 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:14.215162 drop table if exists "invoice_test"; [] gorptest: 09:26:14.215255 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.215342 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.215428 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.215582 drop table if exists "person_test"; [] gorptest: 09:26:14.215670 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.216914 drop table if exists "id_created_test"; [] gorptest: 09:26:14.217137 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.217343 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.217549 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.217778 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.217992 drop table if exists "time_test"; [] gorptest: 09:26:14.218208 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.218558 drop table if exists "invoice_test"; [] gorptest: 09:26:14.218795 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.218924 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.219034 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.219049 drop table if exists "person_test"; [] gorptest: 09:26:14.219061 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.219074 drop table if exists "id_created_test"; [] gorptest: 09:26:14.219098 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.219110 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.219134 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.219146 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.219158 drop table if exists "time_test"; [] gorptest: 09:26:14.219178 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.219295 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: 09:26:14.219395 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.219506 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.219618 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.220301 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.220431 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.220526 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.220642 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.220998 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.221140 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.221244 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.221356 begin; [] gorptest: 09:26:14.221382 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 09:26:14.221438 select memo from invoice_test [] gorptest: 09:26:14.221493 savepoint "foo" [1:] gorptest: 09:26:14.221498 select memo from invoice_test [] gorptest: 09:26:14.221533 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 09:26:14.221561 select memo from invoice_test [] gorptest: 09:26:14.221587 rollback to savepoint "foo" [1:] gorptest: 09:26:14.221594 select memo from invoice_test [] gorptest: 09:26:14.221603 rollback; [] gorptest: 09:26:14.221636 drop table if exists "invoice_test"; [] gorptest: 09:26:14.221773 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.221862 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.221944 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.222074 drop table if exists "person_test"; [] gorptest: 09:26:14.222173 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.222256 drop table if exists "id_created_test"; [] gorptest: 09:26:14.222336 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.222417 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.222498 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.222579 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.222660 drop table if exists "time_test"; [] gorptest: 09:26:14.223524 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.223891 drop table if exists "invoice_test"; [] gorptest: 09:26:14.224084 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.224238 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.224253 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.224266 drop table if exists "person_test"; [] gorptest: 09:26:14.224285 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.224297 drop table if exists "id_created_test"; [] gorptest: 09:26:14.224310 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.224322 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.224334 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.224346 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.224358 drop table if exists "time_test"; [] gorptest: 09:26:14.224416 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.224558 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: 09:26:14.224691 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.225479 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.225602 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.225701 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.226018 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.226167 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.226269 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.226364 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.226498 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.226594 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.226701 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 09:26:14.227132 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 09:26:14.227218 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 09:26:14.227314 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 09:26:14.227386 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.227466 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:14.227528 drop table if exists "invoice_test"; [] gorptest: 09:26:14.227620 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.227743 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.227837 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.227979 drop table if exists "person_test"; [] gorptest: 09:26:14.228080 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.228181 drop table if exists "id_created_test"; [] gorptest: 09:26:14.228263 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.228343 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.228445 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.228528 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.228626 drop table if exists "time_test"; [] gorptest: 09:26:14.229335 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.229688 drop table if exists "invoice_test"; [] gorptest: 09:26:14.229936 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.230084 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.230099 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.230126 drop table if exists "person_test"; [] gorptest: 09:26:14.230139 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.230151 drop table if exists "id_created_test"; [] gorptest: 09:26:14.230163 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.230175 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.230188 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.230200 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.230212 drop table if exists "time_test"; [] gorptest: 09:26:14.230231 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.230362 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: 09:26:14.230465 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.230561 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.230673 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.231290 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.231391 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.231485 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.231586 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.231685 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.232073 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.232195 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.232294 delete from invoice_test [] gorptest: 09:26:14.232361 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 09:26:14.232442 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.232507 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:6359021514907134045 2:8312846362028298024 3:"random 5857523372074755670" 4:0 5:true 6:1] gorptest: 09:26:14.232579 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.232616 select * from invoice_test [] gorptest: 09:26:14.232695 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.233184 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.233219 delete from invoice_tag_test [] gorptest: 09:26:14.233291 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: 09:26:14.233372 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.233420 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:8006031946460046202 2:3265952937785990596 3:"random 8893145520366765674" 4:33 5:false 6:1] gorptest: 09:26:14.233505 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.233543 select * from invoice_tag_test [] gorptest: 09:26:14.233591 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.233674 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.233725 delete from alias_trans_field_test [] gorptest: 09:26:14.233790 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 09:26:14.233879 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.233914 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 4758677494038758293" 2:1] gorptest: 09:26:14.233981 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.234008 select * from alias_trans_field_test [] gorptest: 09:26:14.234044 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.234135 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.234161 drop table if exists "invoice_test"; [] gorptest: 09:26:14.234255 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.234366 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.234455 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.234570 drop table if exists "person_test"; [] gorptest: 09:26:14.234672 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.234781 drop table if exists "id_created_test"; [] gorptest: 09:26:14.234864 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.234945 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.235026 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.235107 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.235200 drop table if exists "time_test"; [] gorptest: 09:26:14.235279 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.235387 drop table if exists "invoice_test"; [] gorptest: 09:26:14.235488 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.235502 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.235517 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.235529 drop table if exists "person_test"; [] gorptest: 09:26:14.235541 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.235554 drop table if exists "id_created_test"; [] gorptest: 09:26:14.235565 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.235577 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.235590 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.235602 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.235614 drop table if exists "time_test"; [] gorptest: 09:26:14.235646 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.237141 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: 09:26:14.237396 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.237637 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.237918 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.238020 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.238126 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.238225 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.238329 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.238430 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.238527 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.238656 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.239232 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 09:26:14.239467 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:14.239505 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:14.239567 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:14.239590 drop table if exists "invoice_test"; [] gorptest: 09:26:14.239675 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.240012 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.240127 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.240253 drop table if exists "person_test"; [] gorptest: 09:26:14.240339 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.240430 drop table if exists "id_created_test"; [] gorptest: 09:26:14.240511 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.240592 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.240684 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.240793 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.240875 drop table if exists "time_test"; [] gorptest: 09:26:14.240954 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.241088 drop table if exists "invoice_test"; [] gorptest: 09:26:14.241220 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.241235 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.241276 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.241291 drop table if exists "person_test"; [] gorptest: 09:26:14.241303 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.241315 drop table if exists "id_created_test"; [] gorptest: 09:26:14.241327 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.241339 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.241352 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.241364 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.241376 drop table if exists "time_test"; [] gorptest: 09:26:14.241396 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.241526 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: 09:26:14.241654 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.242750 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.243008 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.243143 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.243245 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.243339 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.243434 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.243529 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.243629 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.244032 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.244322 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: 09:26:14.244536 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:14.244754 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: 09:26:14.244980 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:14.245026 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:14.245103 drop table if exists "invoice_test"; [] gorptest: 09:26:14.245211 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.245295 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.245377 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.245492 drop table if exists "person_test"; [] gorptest: 09:26:14.245579 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.245664 drop table if exists "id_created_test"; [] gorptest: 09:26:14.246136 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.246352 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.246618 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.246888 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.246985 drop table if exists "time_test"; [] gorptest: 09:26:14.247069 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.247220 drop table if exists "invoice_test"; [] gorptest: 09:26:14.247334 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.247349 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.247361 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.247373 drop table if exists "person_test"; [] gorptest: 09:26:14.247389 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.247401 drop table if exists "id_created_test"; [] gorptest: 09:26:14.247413 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.247425 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.247436 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.247449 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.247461 drop table if exists "time_test"; [] gorptest: 09:26:14.247488 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.247618 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: 09:26:14.248389 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.248509 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.248647 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.248962 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.249075 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.249203 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.249306 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.249424 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.249545 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.249645 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.250083 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 09:26:14.250311 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:14.250355 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 09:26:14.250444 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:14.250479 select * from embedded_struct_test [] gorptest: 09:26:14.250512 drop table if exists "invoice_test"; [] gorptest: 09:26:14.250616 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.250729 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.250818 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.250936 drop table if exists "person_test"; [] gorptest: 09:26:14.251026 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.251107 drop table if exists "id_created_test"; [] gorptest: 09:26:14.251202 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.251282 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.251368 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.251449 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.251529 drop table if exists "time_test"; [] gorptest: 09:26:14.251609 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.251739 drop table if exists "invoice_test"; [] gorptest: 09:26:14.251840 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.251854 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.251866 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.251878 drop table if exists "person_test"; [] gorptest: 09:26:14.251890 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.251902 drop table if exists "id_created_test"; [] gorptest: 09:26:14.251914 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.251927 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.251939 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.251951 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.251962 drop table if exists "time_test"; [] gorptest: 09:26:14.251978 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.252090 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: 09:26:14.252271 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.252386 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.252502 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.252599 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.252696 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.252831 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.252929 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.253024 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.253135 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.253233 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.253354 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 09:26:14.253447 drop table if exists "invoice_test"; [] gorptest: 09:26:14.253533 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.253616 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.253697 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.253865 drop table if exists "person_test"; [] gorptest: 09:26:14.253951 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.254045 drop table if exists "id_created_test"; [] gorptest: 09:26:14.254150 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.254235 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.254318 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.254406 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.254487 drop table if exists "time_test"; [] gorptest: 09:26:14.254567 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.254665 drop table if exists "invoice_test"; [] gorptest: 09:26:14.254814 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.254828 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.254840 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.254852 drop table if exists "person_test"; [] gorptest: 09:26:14.254865 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.254896 drop table if exists "id_created_test"; [] gorptest: 09:26:14.254908 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.254922 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.254934 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.254946 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.254958 drop table if exists "time_test"; [] gorptest: 09:26:14.254977 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.255087 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: 09:26:14.255212 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.255328 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.255443 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.255538 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.255649 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.255777 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.255899 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.255996 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.256092 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.256217 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.256330 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 09:26:14.256407 drop table if exists "invoice_test"; [] gorptest: 09:26:14.256514 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.256612 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.256698 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.256886 drop table if exists "person_test"; [] gorptest: 09:26:14.256975 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.257071 drop table if exists "id_created_test"; [] gorptest: 09:26:14.257169 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.257264 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.257346 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.257441 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.257535 drop table if exists "time_test"; [] gorptest: 09:26:14.257629 drop table if exists "id_created_test"; [] gorptest: 09:26:14.257751 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:14.257968 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: 09:26:14.258062 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.258091 select count(*) from TableWithNull [] gorptest: 09:26:14.258123 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:14.258146 select Int64 from TableWithNull where Str='notfound' [] gorptest: 09:26:14.258163 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.258181 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.258198 select min(Float64) from TableWithNull [] gorptest: 09:26:14.258223 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:14.258248 select Float64 from TableWithNull where Str='notfound' [] gorptest: 09:26:14.258264 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.258283 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:14.258318 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:14.258337 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:14.258355 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:14.258378 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 09:26:14.258399 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:14.258418 drop table if exists "TableWithNull"; [] 2023/01/19 09:26:14 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: 09:26:14.258582 drop table if exists "invoice_test"; [] gorptest: 09:26:14.258677 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.258691 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.258747 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.258768 drop table if exists "person_test"; [] gorptest: 09:26:14.258781 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.258793 drop table if exists "id_created_test"; [] gorptest: 09:26:14.258806 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.258833 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.258846 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.258858 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.258870 drop table if exists "time_test"; [] gorptest: 09:26:14.258887 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.259007 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: 09:26:14.259129 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.259230 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.259356 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.259459 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.259550 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.259659 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.259793 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.259898 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.260001 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.260096 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.260207 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374260198061 2:1674120374260198061 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:14.260303 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374260296947 2:1674120374260296947 3:"Jane" 4:"Smith" 5:1] gorptest: 09:26:14.260390 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374260376967 2:1674120374260376967 3:"Mike" 4:"Smith" 5:1] gorptest: 09:26:14.260463 drop table if exists "invoice_test"; [] gorptest: 09:26:14.260547 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.260629 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.260755 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.260879 drop table if exists "person_test"; [] gorptest: 09:26:14.260970 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.261053 drop table if exists "id_created_test"; [] gorptest: 09:26:14.261144 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.261226 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.261306 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.261386 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.261485 drop table if exists "time_test"; [] gorptest: 09:26:14.261570 drop table if exists "id_created_test"; [] gorptest: 09:26:14.261646 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 09:26:14.261878 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 09:26:14.261961 drop table if exists "string_pk_test"; [] 2023/01/19 09:26:14 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: 09:26:14.262358 drop table if exists "invoice_test"; [] gorptest: 09:26:14.262457 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.262470 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.262497 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.262509 drop table if exists "person_test"; [] gorptest: 09:26:14.262524 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.262537 drop table if exists "id_created_test"; [] gorptest: 09:26:14.262549 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.262561 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.262572 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.262585 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.262598 drop table if exists "time_test"; [] gorptest: 09:26:14.262614 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.262767 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: 09:26:14.262873 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.262968 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.263086 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.263215 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.263306 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.263416 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.263511 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.263623 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.263751 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.263855 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.263975 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:55:14.263965411 +0000 UTC] gorptest: 09:26:14.264055 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:56:15.263965411 +0000 UTC] gorptest: 09:26:14.264140 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 08:56:14.263965411 +0000 UTC] gorptest: 09:26:14.264194 drop table if exists "invoice_test"; [] gorptest: 09:26:14.264282 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.264371 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.264452 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.264567 drop table if exists "person_test"; [] gorptest: 09:26:14.264675 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.264809 drop table if exists "id_created_test"; [] gorptest: 09:26:14.264907 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.264993 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.265072 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.265165 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.265250 drop table if exists "time_test"; [] gorptest: 09:26:14.265337 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.265421 drop table if exists "invoice_test"; [] gorptest: 09:26:14.265514 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.265527 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.265540 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.265552 drop table if exists "person_test"; [] gorptest: 09:26:14.265564 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.265576 drop table if exists "id_created_test"; [] gorptest: 09:26:14.265588 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.265603 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.265615 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.265627 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.265639 drop table if exists "time_test"; [] gorptest: 09:26:14.265655 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.265795 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: 09:26:14.265896 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.265991 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.266102 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.266209 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.266321 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.266419 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.266514 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.266626 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.266773 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.266894 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.266999 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374266987551 2:1674120374266987551 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.267103 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 09:26:14.267187 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 09:26:14.267237 drop table if exists "invoice_test"; [] gorptest: 09:26:14.267332 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.267414 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.267494 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.267609 drop table if exists "person_test"; [] gorptest: 09:26:14.267698 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.267816 drop table if exists "id_created_test"; [] gorptest: 09:26:14.267900 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.267983 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.268067 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.268177 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.268265 drop table if exists "time_test"; [] gorptest: 09:26:14.268344 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.268433 drop table if exists "invoice_test"; [] gorptest: 09:26:14.268526 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.268539 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.268551 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.268563 drop table if exists "person_test"; [] gorptest: 09:26:14.268591 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.268604 drop table if exists "id_created_test"; [] gorptest: 09:26:14.268616 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.268629 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.268641 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.268653 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.268673 drop table if exists "time_test"; [] gorptest: 09:26:14.268693 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.268849 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: 09:26:14.268947 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.269044 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.269176 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.269274 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.269368 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.269460 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.269560 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.269657 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.269876 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.269978 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 09:26:14 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: 09:26:14.271565 drop table if exists "invoice_test"; [] gorptest: 09:26:14.271680 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.271694 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.271733 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.271747 drop table if exists "person_test"; [] gorptest: 09:26:14.271760 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.271779 drop table if exists "id_created_test"; [] gorptest: 09:26:14.271791 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.271803 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.271815 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.271830 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.271844 drop table if exists "time_test"; [] gorptest: 09:26:14.271860 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.271971 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: 09:26:14.272068 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.272174 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.272286 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.272400 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.272508 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.272666 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.272819 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.272918 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.273014 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.273138 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.273255 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374273245230 2:1674120374273245230 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.273340 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374273334378 2:1674120374273334378 3:"jane" 4:"doe" 5:1] gorptest: 09:26:14.273420 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.273460 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 09:26:14.273489 select * from person_test where Id=? [1:1] gorptest: 09:26:14.273528 select * from person_test order by fname asc [] gorptest: 09:26:14.273570 drop table if exists "invoice_test"; [] gorptest: 09:26:14.273659 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.273775 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.273862 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.273977 drop table if exists "person_test"; [] gorptest: 09:26:14.274069 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.274183 drop table if exists "id_created_test"; [] gorptest: 09:26:14.274265 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.274367 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.274448 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.274529 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.274627 drop table if exists "time_test"; [] gorptest: 09:26:14.274752 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.274866 drop table if exists "invoice_test"; [] gorptest: 09:26:14.274963 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.274977 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.274989 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.275001 drop table if exists "person_test"; [] gorptest: 09:26:14.275013 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.275024 drop table if exists "id_created_test"; [] gorptest: 09:26:14.275036 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.275049 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.275061 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.275098 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.275122 drop table if exists "time_test"; [] gorptest: 09:26:14.275144 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.275257 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: 09:26:14.275355 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.275473 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.275607 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.275755 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.275872 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.276020 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.276182 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.276281 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.276382 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.276479 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.276579 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374276570801 2:1674120374276570801 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.276658 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.276696 select * from person_test where Id=? [1:1] gorptest: 09:26:14.276789 select FName from person_test where Id=? [1:1] gorptest: 09:26:14.276813 select * from person_test where Id=? [1:1] gorptest: 09:26:14.276850 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 09:26:14.276883 select * from person_test where Id=? [1:-2222] gorptest: 09:26:14.276917 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374276911401 2:1674120374276911401 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.276993 select * from person_test where Fname='bob' [] gorptest: 09:26:14.277066 select * from person_test where Id=-123 [] gorptest: 09:26:14.277097 select * from person_test where Id=-123 [] gorptest: 09:26:14.277135 select * from person_test where Id=-123 [] gorptest: 09:26:14.277153 select * from person_test where Id=-123 [] gorptest: 09:26:14.277170 drop table if exists "invoice_test"; [] gorptest: 09:26:14.277271 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.277353 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.277451 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.277582 drop table if exists "person_test"; [] gorptest: 09:26:14.277675 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.277789 drop table if exists "id_created_test"; [] gorptest: 09:26:14.277890 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.277978 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.278096 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.278207 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.278289 drop table if exists "time_test"; [] gorptest: 09:26:14.278369 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.278550 drop table if exists "invoice_test"; [] gorptest: 09:26:14.278831 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.278846 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.278858 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.278871 drop table if exists "person_test"; [] gorptest: 09:26:14.278883 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.278895 drop table if exists "id_created_test"; [] gorptest: 09:26:14.278907 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.278920 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.278932 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.278946 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.278958 drop table if exists "time_test"; [] gorptest: 09:26:14.278983 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.279148 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: 09:26:14.279256 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.279361 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.279478 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.279583 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.279675 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.279820 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.279921 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.280024 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.280136 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.280235 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.280349 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 09:26:14.280429 select * from id_created_test where Id=1 [] gorptest: 09:26:14.280474 SELECT *, 1 AS external FROM id_created_test [] gorptest: 09:26:14.280514 drop table if exists "invoice_test"; [] gorptest: 09:26:14.280851 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.280945 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.281029 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.281505 drop table if exists "person_test"; [] gorptest: 09:26:14.281597 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.281682 drop table if exists "id_created_test"; [] gorptest: 09:26:14.282889 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.283027 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.283201 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.283315 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.283439 drop table if exists "time_test"; [] gorptest: 09:26:14.283547 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.283701 drop table if exists "invoice_test"; [] gorptest: 09:26:14.283860 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.283875 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.283887 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.283899 drop table if exists "person_test"; [] gorptest: 09:26:14.283911 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.283923 drop table if exists "id_created_test"; [] gorptest: 09:26:14.283935 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.283947 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.283976 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.283989 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.284002 drop table if exists "time_test"; [] gorptest: 09:26:14.284023 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.284196 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: 09:26:14.284308 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.284408 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.284717 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.284845 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.284946 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.285040 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.285183 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.285286 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.285419 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.285521 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.285618 drop table if exists "invoice_test"; [] gorptest: 09:26:14.285731 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.285821 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.285907 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.286066 drop table if exists "person_test"; [] gorptest: 09:26:14.286178 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.286262 drop table if exists "id_created_test"; [] gorptest: 09:26:14.286358 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.286446 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.286530 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.286630 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.286756 drop table if exists "time_test"; [] gorptest: 09:26:14.286842 drop table if exists "id_created_test"; [] gorptest: 09:26:14.286858 drop table if exists "single_column_table"; [] gorptest: 09:26:14.286876 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: 09:26:14.286978 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: 09:26:14.287080 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.287205 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: 09:26:14.287320 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: 09:26:14.287422 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.287516 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.287609 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.287734 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.287838 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.287936 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: 09:26:14.288031 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.288148 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:14.288185 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 09:26:14.288308 delete from "invoice_test"; [] gorptest: 09:26:14.288366 delete from "invoice_tag_test"; [] gorptest: 09:26:14.288419 delete from "alias_trans_field_test"; [] gorptest: 09:26:14.288471 delete from "invoice_override_test"; [] gorptest: 09:26:14.288529 delete from "person_test"; [] gorptest: 09:26:14.288581 delete from "ignored_column_test"; [] gorptest: 09:26:14.288633 delete from "id_created_test"; [] gorptest: 09:26:14.288685 delete from "type_conv_test"; [] gorptest: 09:26:14.288757 delete from "embedded_struct_test"; [] gorptest: 09:26:14.288812 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.288865 delete from "embedded_autoincr_test"; [] gorptest: 09:26:14.288918 delete from "time_test"; [] gorptest: 09:26:14.288970 delete from "id_created_test"; [] gorptest: 09:26:14.289025 delete from "single_column_table"; [] gorptest: 09:26:14.289106 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 09:26:14.289151 drop table if exists "invoice_test"; [] gorptest: 09:26:14.289237 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.289340 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.289428 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.289578 drop table if exists "person_test"; [] gorptest: 09:26:14.289667 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.289775 drop table if exists "id_created_test"; [] gorptest: 09:26:14.289860 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.289941 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.290025 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.290148 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.290237 drop table if exists "time_test"; [] gorptest: 09:26:14.290332 drop table if exists "id_created_test"; [] gorptest: 09:26:14.290355 drop table if exists "single_column_table"; [] 2023/01/19 09:26:14 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: 09:26:14.290589 drop table if exists "invoice_test"; [] gorptest: 09:26:14.290770 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.290789 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.290802 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.290814 drop table if exists "person_test"; [] gorptest: 09:26:14.290826 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.290838 drop table if exists "id_created_test"; [] gorptest: 09:26:14.290851 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.290863 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.290875 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.290887 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.290902 drop table if exists "time_test"; [] gorptest: 09:26:14.290919 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.291031 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: 09:26:14.291157 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.291260 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.291377 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.291474 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.291567 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.291677 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.291847 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.291963 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.292085 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.292207 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.292330 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 09:26:14.292416 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 09:26:14.292503 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 09:26:14.292591 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 09:26:14.292654 begin; [] gorptest: 09:26:14.292674 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 09:26:14.292753 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:14.292932 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:14.292983 commit; [] gorptest: 09:26:14.293044 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:14.293102 drop table if exists "invoice_test"; [] gorptest: 09:26:14.293256 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.293341 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.293425 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.293571 drop table if exists "person_test"; [] gorptest: 09:26:14.293657 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.293771 drop table if exists "id_created_test"; [] gorptest: 09:26:14.293855 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.293937 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.294023 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.294134 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.294222 drop table if exists "time_test"; [] gorptest: 09:26:14.294303 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.156s gopkg.in/gorp.v1 2023/01/19 09:26:14 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: 09:26:14.844420 drop table if exists "invoice_test"; [] gorptest: 09:26:14.844890 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.845093 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.845292 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.845467 drop table if exists "person_test"; [] gorptest: 09:26:14.845636 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.845826 drop table if exists "id_created_test"; [] gorptest: 09:26:14.846025 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.846217 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.846393 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.846590 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.846780 drop table if exists "time_test"; [] gorptest: 09:26:14.846964 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.847399 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: 09:26:14.847793 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.848139 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.848541 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.848922 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.849262 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.849582 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.849939 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.850302 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.850657 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.851031 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.851376 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: 09:26:14.851652 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: 09:26:14.851938 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.852187 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: 09:26:14.852454 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: 09:26:14.852733 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.853021 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.853270 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.853504 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.853791 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.854071 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: 09:26:14.854333 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.854544 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:14.854804 drop table if exists "invoice_test"; [] gorptest: 09:26:14.855137 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.855407 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.855719 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.856048 drop table if exists "person_test"; [] gorptest: 09:26:14.856337 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.856603 drop table if exists "id_created_test"; [] gorptest: 09:26:14.856885 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.857159 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.857427 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.857720 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.857988 drop table if exists "time_test"; [] gorptest: 09:26:14.858256 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.858816 drop table if exists "invoice_test"; [] gorptest: 09:26:14.859089 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.859282 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.859453 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.859625 drop table if exists "person_test"; [] gorptest: 09:26:14.859820 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.859845 drop table if exists "id_created_test"; [] gorptest: 09:26:14.859986 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.860011 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.860062 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.860077 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.860132 drop table if exists "time_test"; [] gorptest: 09:26:14.860159 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.860429 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: 09:26:14.860721 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.860950 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.861187 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.861415 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.861635 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.861926 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.862170 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.862399 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.862633 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.862870 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.863044 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: 09:26:14.863197 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: 09:26:14.863317 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.863383 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: 09:26:14.863406 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: 09:26:14.863455 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.863506 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.863528 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.863544 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.863596 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.863619 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: 09:26:14.863642 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.863659 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:14.863758 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374863678194 2:1674120374863678194 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:14.863901 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 09:26:14.864016 delete from "invoice_test"; [] gorptest: 09:26:14.864136 delete from "invoice_tag_test"; [] gorptest: 09:26:14.864301 delete from "alias_trans_field_test"; [] gorptest: 09:26:14.864406 delete from "invoice_override_test"; [] gorptest: 09:26:14.864516 delete from "person_test"; [] gorptest: 09:26:14.864626 delete from "ignored_column_test"; [] gorptest: 09:26:14.864808 delete from "id_created_test"; [] gorptest: 09:26:14.864977 delete from "type_conv_test"; [] gorptest: 09:26:14.865083 delete from "embedded_struct_test"; [] gorptest: 09:26:14.865204 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.865369 delete from "embedded_autoincr_test"; [] gorptest: 09:26:14.865474 delete from "time_test"; [] gorptest: 09:26:14.865578 delete from "id_created_test"; [] gorptest: 09:26:14.865691 SELECT * FROM person_test [] gorptest: 09:26:14.865864 SELECT * FROM invoice_test [] gorptest: 09:26:14.865943 drop table if exists "invoice_test"; [] gorptest: 09:26:14.866095 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.866310 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.866510 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.866917 drop table if exists "person_test"; [] gorptest: 09:26:14.867205 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.867840 drop table if exists "id_created_test"; [] gorptest: 09:26:14.868042 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.868679 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.868866 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.869013 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.869224 drop table if exists "time_test"; [] gorptest: 09:26:14.869430 drop table if exists "id_created_test"; [] gorptest: 09:26:14.869675 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 09:26:14.870069 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 09:26:14 +0000 UTC] gorptest: 09:26:14.870289 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 09:26:14.870439 drop table if exists "WithCustomDate"; [] gorptest: 09:26:14.870653 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:14.871021 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:14.871322 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:14.871484 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 09:26:14.871742 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 09:26:14.871887 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 09:26:14.872134 drop table if exists "PersonUInt64"; [] gorptest: 09:26:14.872356 drop table if exists "PersonUInt32"; [] gorptest: 09:26:14.872512 drop table if exists "PersonUInt16"; [] gorptest: 09:26:14.872857 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 09:26:14.873267 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 09:26:14.873415 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 09:26:14.873504 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 09:26:14.873578 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 09:26:14.873697 drop table if exists "UniqueColumns"; [] gorptest: 09:26:14.874298 drop table if exists PersistentUser [] gorptest: 09:26:14.874546 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:14.874754 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:14.874885 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 09:26:14.875105 select * from PersistentUser [] gorptest: 09:26:14.875241 select * from PersistentUser [] gorptest: 09:26:14.875320 select * from PersistentUser [] gorptest: 09:26:14.875393 select Id from PersistentUser [] gorptest: 09:26:14.875459 select mykey from PersistentUser [] gorptest: 09:26:14.875483 select PassedTraining from PersistentUser [] gorptest: 09:26:14.875538 select Id from PersistentUser [] gorptest: 09:26:14.875560 drop table if exists "PersistentUser"; [] gorptest: 09:26:14.875760 drop table if exists PersistentUser [] gorptest: 09:26:14.876381 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:14.876554 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:14.876677 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:14.876853 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:14.877061 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:14.877153 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:14.877239 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 09:26:14.877277 drop table if exists "PersistentUser"; [] gorptest: 09:26:14.877459 drop table if exists PersistentUser [] gorptest: 09:26:14.877630 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:14.878306 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:14.878438 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:14.878570 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:14.878666 drop table if exists "PersistentUser"; [] 2023/01/19 09:26:14 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: 09:26:14.878983 drop table if exists "invoice_test"; [] gorptest: 09:26:14.879516 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.879539 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.879554 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.879622 drop table if exists "person_test"; [] gorptest: 09:26:14.879639 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.879651 drop table if exists "id_created_test"; [] gorptest: 09:26:14.879664 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.879676 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.879738 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.879759 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.879772 drop table if exists "time_test"; [] gorptest: 09:26:14.879793 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.879956 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: 09:26:14.880072 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.880774 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.880966 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.881334 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.881491 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.881811 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.882158 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.882328 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.882483 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.882858 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.883030 select * from invoice_test where id=99999 [] gorptest: 09:26:14.883127 select * from invoice_test where id=99999 [] gorptest: 09:26:14.883162 drop table if exists "invoice_test"; [] gorptest: 09:26:14.883479 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.883628 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.883889 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.884161 drop table if exists "person_test"; [] gorptest: 09:26:14.884322 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.884464 drop table if exists "id_created_test"; [] gorptest: 09:26:14.884771 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.884989 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.885162 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.885422 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.885633 drop table if exists "time_test"; [] gorptest: 09:26:14.885868 drop table if exists "id_created_test"; [] gorptest: 09:26:14.885987 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 09:26:14.886423 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: 09:26:14.886522 drop table if exists "InvoicePersonView"; [] 2023/01/19 09:26:14 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: 09:26:14.887004 drop table if exists "invoice_test"; [] gorptest: 09:26:14.887156 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.887176 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.887227 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.887242 drop table if exists "person_test"; [] gorptest: 09:26:14.887285 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.887302 drop table if exists "id_created_test"; [] gorptest: 09:26:14.887315 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.887327 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.887339 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.887352 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.887364 drop table if exists "time_test"; [] gorptest: 09:26:14.887381 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.887536 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: 09:26:14.887638 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.887815 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.888561 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.888821 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.889101 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.889341 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.889678 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.889987 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.890164 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.890392 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.890689 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374890676361 2:1674120374890676361 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:14.890860 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.890958 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120374890676361 2:1674120374890676361 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 09:26:14.891090 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120374890676361 2:1674120374890676361 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 09:26:14.891184 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.891256 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 09:26:14.891321 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.891406 drop table if exists "invoice_test"; [] gorptest: 09:26:14.891672 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.891903 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.892173 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.892641 drop table if exists "person_test"; [] gorptest: 09:26:14.892890 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.893107 drop table if exists "id_created_test"; [] gorptest: 09:26:14.893271 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.893541 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.893688 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.893977 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.894137 drop table if exists "time_test"; [] gorptest: 09:26:14.894388 drop table if exists "id_created_test"; [] gorptest: 09:26:14.894615 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:14.895011 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 09:26:14.895149 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:14.895263 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: 09:26:14.895583 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:14.895684 drop table if exists "TableWithNull"; [] gorptest: 09:26:14.896026 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 09:26:14.896402 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 09:26:14.896555 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 09:26:14.896639 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 09:26:14.896741 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 09:26:14.896809 drop table if exists "Invoice"; [] 2023/01/19 09:26:14 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: 09:26:14.897476 drop table if exists "invoice_test"; [] gorptest: 09:26:14.897618 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.897639 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.897688 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.897716 drop table if exists "person_test"; [] gorptest: 09:26:14.897731 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.897781 drop table if exists "id_created_test"; [] gorptest: 09:26:14.897796 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.897811 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.897824 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.897836 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.897848 drop table if exists "time_test"; [] gorptest: 09:26:14.897865 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.898022 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: 09:26:14.898179 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.898330 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.899199 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.899422 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.899639 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.899933 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.900235 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.900403 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.900626 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.900880 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.901205 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374901192505 2:1674120374901192505 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.901355 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 09:26:14.901479 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 09:26:14.901577 drop table if exists "invoice_test"; [] gorptest: 09:26:14.901874 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.902180 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.902329 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.902646 drop table if exists "person_test"; [] gorptest: 09:26:14.902916 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.903064 drop table if exists "id_created_test"; [] gorptest: 09:26:14.903326 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.903470 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.903742 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.903889 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.904167 drop table if exists "time_test"; [] gorptest: 09:26:14.904316 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.904668 drop table if exists "invoice_test"; [] gorptest: 09:26:14.904948 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.905017 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.905034 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.905047 drop table if exists "person_test"; [] gorptest: 09:26:14.905093 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.905108 drop table if exists "id_created_test"; [] gorptest: 09:26:14.905135 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.905147 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.905160 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.905173 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.905230 drop table if exists "time_test"; [] gorptest: 09:26:14.905247 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.905366 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: 09:26:14.905523 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.906094 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.906465 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.906754 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.906990 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.907162 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.907501 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.907810 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.907985 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.908312 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.908564 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374908478016 2:1674120374908478016 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.908741 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:14.908842 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120374908478016 2:1674120374908478016 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 09:26:14.908967 select * from person_test where id = ? [1:1] gorptest: 09:26:14.909197 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 09:26:14.909319 drop table if exists "invoice_test"; [] gorptest: 09:26:14.909463 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.909868 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.910092 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.910373 drop table if exists "person_test"; [] gorptest: 09:26:14.910596 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.910839 drop table if exists "id_created_test"; [] gorptest: 09:26:14.911055 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.911279 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.911501 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.911652 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.911880 drop table if exists "time_test"; [] gorptest: 09:26:14.912138 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.912356 drop table if exists "invoice_test"; [] gorptest: 09:26:14.912576 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.912776 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.912796 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.912808 drop table if exists "person_test"; [] gorptest: 09:26:14.912861 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.912876 drop table if exists "id_created_test"; [] gorptest: 09:26:14.912889 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.912901 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.912916 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.912929 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.912979 drop table if exists "time_test"; [] gorptest: 09:26:14.912998 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.913167 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: 09:26:14.913323 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.914012 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.914294 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.914577 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.914877 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.915169 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.915333 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.915560 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.915875 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.916050 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.916218 begin; [] gorptest: 09:26:14.916292 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 09:26:14.916567 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 09:26:14.916593 commit; [] gorptest: 09:26:14.916744 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.916829 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:14.916898 drop table if exists "invoice_test"; [] gorptest: 09:26:14.917280 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.917581 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.917826 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.918108 drop table if exists "person_test"; [] gorptest: 09:26:14.918338 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.918555 drop table if exists "id_created_test"; [] gorptest: 09:26:14.918793 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.919005 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.919246 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.919400 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.919676 drop table if exists "time_test"; [] gorptest: 09:26:14.919840 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.920121 drop table if exists "invoice_test"; [] gorptest: 09:26:14.920311 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.920332 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.920345 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.920357 drop table if exists "person_test"; [] gorptest: 09:26:14.920370 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.920382 drop table if exists "id_created_test"; [] gorptest: 09:26:14.920394 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.920552 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.920579 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.920592 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.920604 drop table if exists "time_test"; [] gorptest: 09:26:14.920620 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.920815 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: 09:26:14.920925 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.921293 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.921907 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.922167 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.922322 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.922604 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.922963 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.923157 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.923464 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.923634 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.923929 begin; [] gorptest: 09:26:14.924025 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 09:26:14.924144 select memo from invoice_test [] gorptest: 09:26:14.924239 savepoint "foo" [1:] gorptest: 09:26:14.924252 select memo from invoice_test [] gorptest: 09:26:14.924332 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 09:26:14.924393 select memo from invoice_test [] gorptest: 09:26:14.924421 rollback to savepoint "foo" [1:] gorptest: 09:26:14.924458 select memo from invoice_test [] gorptest: 09:26:14.924520 rollback; [] gorptest: 09:26:14.924605 drop table if exists "invoice_test"; [] gorptest: 09:26:14.925006 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.925128 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.925318 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.925672 drop table if exists "person_test"; [] gorptest: 09:26:14.925930 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.926148 drop table if exists "id_created_test"; [] gorptest: 09:26:14.926296 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.926507 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.926730 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.926943 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.927154 drop table if exists "time_test"; [] gorptest: 09:26:14.927350 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.927563 drop table if exists "invoice_test"; [] gorptest: 09:26:14.927813 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.927833 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.927846 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.927863 drop table if exists "person_test"; [] gorptest: 09:26:14.927876 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.927986 drop table if exists "id_created_test"; [] gorptest: 09:26:14.928008 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.928021 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.928033 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.928045 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.928057 drop table if exists "time_test"; [] gorptest: 09:26:14.928074 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.928244 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: 09:26:14.928346 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.928665 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.928923 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.929198 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.929410 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.929520 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.929742 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.929960 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.930191 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.930407 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.930636 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 09:26:14.930913 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 09:26:14.931119 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 09:26:14.931307 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 09:26:14.931487 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.931576 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:14.931750 drop table if exists "invoice_test"; [] gorptest: 09:26:14.931965 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.932175 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.932377 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.932615 drop table if exists "person_test"; [] gorptest: 09:26:14.932841 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.933050 drop table if exists "id_created_test"; [] gorptest: 09:26:14.933258 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.933456 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.933652 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.933876 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.934084 drop table if exists "time_test"; [] gorptest: 09:26:14.934299 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.934678 drop table if exists "invoice_test"; [] gorptest: 09:26:14.934932 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.934954 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.934974 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.935083 drop table if exists "person_test"; [] gorptest: 09:26:14.935108 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.935139 drop table if exists "id_created_test"; [] gorptest: 09:26:14.935157 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.935169 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.935230 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.935246 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.935265 drop table if exists "time_test"; [] gorptest: 09:26:14.935282 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.935451 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: 09:26:14.935605 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.935846 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.936085 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.936318 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.936579 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.936694 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.936942 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.937171 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.937392 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.937612 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.937845 delete from invoice_test [] gorptest: 09:26:14.938036 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 09:26:14.938137 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.938296 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:6739202758938807427 2:8490369957756493912 3:"random 201873161456721977" 4:0 5:true 6:1] gorptest: 09:26:14.938476 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.938556 select * from invoice_test [] gorptest: 09:26:14.938608 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.938797 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:14.938837 delete from invoice_tag_test [] gorptest: 09:26:14.938913 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: 09:26:14.939134 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.939192 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:3148905220020144627 2:7795945361160225926 3:"random 3206028602488737701" 4:33 5:false 6:1] gorptest: 09:26:14.939373 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.939418 select * from invoice_tag_test [] gorptest: 09:26:14.939572 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.939653 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:14.939798 delete from alias_trans_field_test [] gorptest: 09:26:14.939906 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 09:26:14.940087 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.940159 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 1666701231517745389" 2:1] gorptest: 09:26:14.940336 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.940410 select * from alias_trans_field_test [] gorptest: 09:26:14.940480 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.940590 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:14.940624 drop table if exists "invoice_test"; [] gorptest: 09:26:14.940861 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.940967 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.941209 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.941438 drop table if exists "person_test"; [] gorptest: 09:26:14.941638 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.941761 drop table if exists "id_created_test"; [] gorptest: 09:26:14.941935 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.942148 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.942417 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.942658 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.942886 drop table if exists "time_test"; [] gorptest: 09:26:14.943085 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.943306 drop table if exists "invoice_test"; [] gorptest: 09:26:14.943521 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.943542 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.943555 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.943567 drop table if exists "person_test"; [] gorptest: 09:26:14.943668 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.943687 drop table if exists "id_created_test"; [] gorptest: 09:26:14.943700 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.943773 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.943789 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.943801 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.943814 drop table if exists "time_test"; [] gorptest: 09:26:14.943830 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.943994 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: 09:26:14.944170 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.944531 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.944827 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.945168 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.945291 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.945595 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.945917 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.946151 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.946370 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.946588 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.946834 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 09:26:14.946935 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:14.947068 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:14.947188 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:14.947221 drop table if exists "invoice_test"; [] gorptest: 09:26:14.947412 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.947511 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.947700 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.947890 drop table if exists "person_test"; [] gorptest: 09:26:14.948090 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.948298 drop table if exists "id_created_test"; [] gorptest: 09:26:14.948546 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.948757 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.948959 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.949173 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.949376 drop table if exists "time_test"; [] gorptest: 09:26:14.949572 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.949891 drop table if exists "invoice_test"; [] gorptest: 09:26:14.950133 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.950160 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.950260 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.950282 drop table if exists "person_test"; [] gorptest: 09:26:14.950331 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.950345 drop table if exists "id_created_test"; [] gorptest: 09:26:14.950391 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.950405 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.950417 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.950430 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.950442 drop table if exists "time_test"; [] gorptest: 09:26:14.950503 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.950623 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: 09:26:14.950792 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.951122 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.951363 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.951638 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.951923 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.952155 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.952372 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.952673 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.952957 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.953239 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.953492 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: 09:26:14.953694 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:14.953814 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: 09:26:14.953994 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:14.954155 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:14.954269 drop table if exists "invoice_test"; [] gorptest: 09:26:14.954372 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.954573 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.954799 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.955047 drop table if exists "person_test"; [] gorptest: 09:26:14.955155 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.955386 drop table if exists "id_created_test"; [] gorptest: 09:26:14.955579 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.955796 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.956001 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.956105 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.956338 drop table if exists "time_test"; [] gorptest: 09:26:14.956529 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.956768 drop table if exists "invoice_test"; [] gorptest: 09:26:14.956918 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.956940 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.957056 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.957074 drop table if exists "person_test"; [] gorptest: 09:26:14.957131 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.957144 drop table if exists "id_created_test"; [] gorptest: 09:26:14.957156 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.957169 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.957216 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.957232 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.957244 drop table if exists "time_test"; [] gorptest: 09:26:14.957261 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.957426 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: 09:26:14.957578 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.957988 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.958221 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.958537 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.958747 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.958958 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.959275 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.959492 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.959733 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.959960 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.960250 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 09:26:14.960347 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:14.960476 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 09:26:14.960601 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:14.960641 select * from embedded_struct_test [] gorptest: 09:26:14.960674 drop table if exists "invoice_test"; [] gorptest: 09:26:14.960891 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.961021 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.961231 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.961462 drop table if exists "person_test"; [] gorptest: 09:26:14.961652 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.961881 drop table if exists "id_created_test"; [] gorptest: 09:26:14.962081 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.962286 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.962483 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.962588 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.962838 drop table if exists "time_test"; [] gorptest: 09:26:14.962933 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.963250 drop table if exists "invoice_test"; [] gorptest: 09:26:14.963469 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.963489 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.963502 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.963602 drop table if exists "person_test"; [] gorptest: 09:26:14.963624 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.963637 drop table if exists "id_created_test"; [] gorptest: 09:26:14.963649 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.963665 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.963737 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.963753 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.963765 drop table if exists "time_test"; [] gorptest: 09:26:14.963784 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.963945 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: 09:26:14.964123 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.964576 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.964868 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.965098 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.965372 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.965581 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.965886 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.966106 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.966393 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.966671 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.966911 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 09:26:14.967095 drop table if exists "invoice_test"; [] gorptest: 09:26:14.967249 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.967446 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.967701 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.967964 drop table if exists "person_test"; [] gorptest: 09:26:14.968168 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.968363 drop table if exists "id_created_test"; [] gorptest: 09:26:14.968556 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.968775 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.968974 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.969189 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.969384 drop table if exists "time_test"; [] gorptest: 09:26:14.969582 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.969851 drop table if exists "invoice_test"; [] gorptest: 09:26:14.970088 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.970109 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.970129 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.970268 drop table if exists "person_test"; [] gorptest: 09:26:14.970287 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.970300 drop table if exists "id_created_test"; [] gorptest: 09:26:14.970352 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.970368 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.970380 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.970428 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.970447 drop table if exists "time_test"; [] gorptest: 09:26:14.970465 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.970624 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: 09:26:14.970859 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.971144 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.971371 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.971597 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.971832 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.972049 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.972324 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.972589 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.972823 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.973048 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.973291 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 09:26:14.973382 drop table if exists "invoice_test"; [] gorptest: 09:26:14.973573 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.973825 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.974028 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.974273 drop table if exists "person_test"; [] gorptest: 09:26:14.974375 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.974591 drop table if exists "id_created_test"; [] gorptest: 09:26:14.974802 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.975000 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.975213 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.975401 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.975605 drop table if exists "time_test"; [] gorptest: 09:26:14.975817 drop table if exists "id_created_test"; [] gorptest: 09:26:14.976001 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:14.976378 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: 09:26:14.976460 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.976611 select count(*) from TableWithNull [] gorptest: 09:26:14.976641 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:14.976665 select Int64 from TableWithNull where Str='notfound' [] gorptest: 09:26:14.976683 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.976719 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.976741 select min(Float64) from TableWithNull [] gorptest: 09:26:14.976814 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:14.976840 select Float64 from TableWithNull where Str='notfound' [] gorptest: 09:26:14.976858 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:14.976876 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:14.976895 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:14.976916 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:14.976936 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:14.977002 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 09:26:14.977029 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:14.977048 drop table if exists "TableWithNull"; [] 2023/01/19 09:26:14 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: 09:26:14.977289 drop table if exists "invoice_test"; [] gorptest: 09:26:14.977448 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.977565 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.977589 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.977602 drop table if exists "person_test"; [] gorptest: 09:26:14.977726 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.977746 drop table if exists "id_created_test"; [] gorptest: 09:26:14.977763 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.977775 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.977825 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.977841 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.977853 drop table if exists "time_test"; [] gorptest: 09:26:14.977870 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.978027 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: 09:26:14.978191 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.978784 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.979067 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.979295 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.979498 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.979739 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.979961 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.980269 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.980540 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.980776 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.980984 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374980886524 2:1674120374980886524 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:14.981089 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374981079027 2:1674120374981079027 3:"Jane" 4:"Smith" 5:1] gorptest: 09:26:14.981298 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374981290554 2:1674120374981290554 3:"Mike" 4:"Smith" 5:1] gorptest: 09:26:14.981478 drop table if exists "invoice_test"; [] gorptest: 09:26:14.981675 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.981908 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.982108 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.982347 drop table if exists "person_test"; [] gorptest: 09:26:14.982547 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.982759 drop table if exists "id_created_test"; [] gorptest: 09:26:14.982959 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.983168 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.983365 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.983563 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.983787 drop table if exists "time_test"; [] gorptest: 09:26:14.983981 drop table if exists "id_created_test"; [] gorptest: 09:26:14.984162 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 09:26:14.984490 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 09:26:14.984661 drop table if exists "string_pk_test"; [] 2023/01/19 09:26:14 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: 09:26:14.985434 drop table if exists "invoice_test"; [] gorptest: 09:26:14.985657 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.985686 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.985839 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.985861 drop table if exists "person_test"; [] gorptest: 09:26:14.985908 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.985952 drop table if exists "id_created_test"; [] gorptest: 09:26:14.985970 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.985983 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.985995 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.986007 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.986055 drop table if exists "time_test"; [] gorptest: 09:26:14.986074 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.986243 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: 09:26:14.986396 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.986614 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.986879 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.987097 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.987317 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.987517 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.987750 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.988024 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.988271 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.988480 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.988700 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:55:14.988692264 +0000 UTC] gorptest: 09:26:14.988849 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:56:15.988692264 +0000 UTC] gorptest: 09:26:14.989037 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 08:56:14.988692264 +0000 UTC] gorptest: 09:26:14.989086 drop table if exists "invoice_test"; [] gorptest: 09:26:14.989308 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.989512 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.989734 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.989985 drop table if exists "person_test"; [] gorptest: 09:26:14.990193 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.990388 drop table if exists "id_created_test"; [] gorptest: 09:26:14.990582 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.990804 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.991004 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.991206 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.991408 drop table if exists "time_test"; [] gorptest: 09:26:14.991603 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.991841 drop table if exists "invoice_test"; [] gorptest: 09:26:14.992089 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.992129 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.992142 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.992155 drop table if exists "person_test"; [] gorptest: 09:26:14.992167 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.992183 drop table if exists "id_created_test"; [] gorptest: 09:26:14.992285 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.992298 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.992310 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.992323 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.992335 drop table if exists "time_test"; [] gorptest: 09:26:14.992352 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.992513 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: 09:26:14.992615 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.992820 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.993052 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.993353 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.993563 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.993795 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:14.994011 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:14.994238 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:14.994355 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:14.994594 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:14.994834 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120374994821573 2:1674120374994821573 3:"bob" 4:"smith" 5:1] gorptest: 09:26:14.995038 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 09:26:14.995237 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 09:26:14.995303 drop table if exists "invoice_test"; [] gorptest: 09:26:14.995509 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.995728 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.995929 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.996174 drop table if exists "person_test"; [] gorptest: 09:26:14.996394 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.996604 drop table if exists "id_created_test"; [] gorptest: 09:26:14.996724 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.996921 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.997129 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.997227 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.997417 drop table if exists "time_test"; [] gorptest: 09:26:14.997603 drop table if exists "id_created_test"; [] 2023/01/19 09:26:14 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: 09:26:14.997801 drop table if exists "invoice_test"; [] gorptest: 09:26:14.998020 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:14.998041 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:14.998054 drop table if exists "invoice_override_test"; [] gorptest: 09:26:14.998066 drop table if exists "person_test"; [] gorptest: 09:26:14.998178 drop table if exists "ignored_column_test"; [] gorptest: 09:26:14.998199 drop table if exists "id_created_test"; [] gorptest: 09:26:14.998211 drop table if exists "type_conv_test"; [] gorptest: 09:26:14.998223 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:14.998235 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:14.998247 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:14.998260 drop table if exists "time_test"; [] gorptest: 09:26:14.998312 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.998437 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: 09:26:14.998587 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:14.998878 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:14.999439 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:14.999571 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.999666 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:14.999900 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:15.000251 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:15.000532 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:15.000828 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:15.001043 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 09:26:15 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: 09:26:15.002746 drop table if exists "invoice_test"; [] gorptest: 09:26:15.002930 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.002950 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.002963 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.002982 drop table if exists "person_test"; [] gorptest: 09:26:15.002995 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.003007 drop table if exists "id_created_test"; [] gorptest: 09:26:15.003019 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.003031 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.003168 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.003187 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.003200 drop table if exists "time_test"; [] gorptest: 09:26:15.003216 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.003331 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: 09:26:15.003489 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:15.003633 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.004218 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:15.004579 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.004815 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.005030 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:15.005269 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:15.005487 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:15.005700 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:15.006009 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:15.006165 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120375006152277 2:1674120375006152277 3:"bob" 4:"smith" 5:1] gorptest: 09:26:15.006386 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120375006379545 2:1674120375006379545 3:"jane" 4:"doe" 5:1] gorptest: 09:26:15.006582 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:15.006637 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 09:26:15.006832 select * from person_test where Id=? [1:1] gorptest: 09:26:15.006883 select * from person_test order by fname asc [] gorptest: 09:26:15.007022 drop table if exists "invoice_test"; [] gorptest: 09:26:15.007148 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.007340 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.007528 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.007780 drop table if exists "person_test"; [] gorptest: 09:26:15.007992 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.008205 drop table if exists "id_created_test"; [] gorptest: 09:26:15.008403 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.008647 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.008870 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.009071 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.009296 drop table if exists "time_test"; [] gorptest: 09:26:15.009500 drop table if exists "id_created_test"; [] 2023/01/19 09:26:15 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: 09:26:15.009788 drop table if exists "invoice_test"; [] gorptest: 09:26:15.009982 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.010002 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.010015 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.010027 drop table if exists "person_test"; [] gorptest: 09:26:15.010040 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.010052 drop table if exists "id_created_test"; [] gorptest: 09:26:15.010067 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.010084 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.010218 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.010233 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.010250 drop table if exists "time_test"; [] gorptest: 09:26:15.010267 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.010423 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: 09:26:15.010580 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:15.010910 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.011164 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:15.011438 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.011643 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.011873 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:15.012098 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:15.012325 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:15.012547 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:15.012787 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:15.013017 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120375013007951 2:1674120375013007951 3:"bob" 4:"smith" 5:1] gorptest: 09:26:15.013221 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:15.013272 select * from person_test where Id=? [1:1] gorptest: 09:26:15.013417 select FName from person_test where Id=? [1:1] gorptest: 09:26:15.013451 select * from person_test where Id=? [1:1] gorptest: 09:26:15.013489 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 09:26:15.013529 select * from person_test where Id=? [1:-2222] gorptest: 09:26:15.013653 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120375013647112 2:1674120375013647112 3:"bob" 4:"smith" 5:1] gorptest: 09:26:15.013828 select * from person_test where Fname='bob' [] gorptest: 09:26:15.013894 select * from person_test where Id=-123 [] gorptest: 09:26:15.013915 select * from person_test where Id=-123 [] gorptest: 09:26:15.013933 select * from person_test where Id=-123 [] gorptest: 09:26:15.014063 select * from person_test where Id=-123 [] gorptest: 09:26:15.014102 drop table if exists "invoice_test"; [] gorptest: 09:26:15.014252 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.014448 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.014640 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.014911 drop table if exists "person_test"; [] gorptest: 09:26:15.015140 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.015334 drop table if exists "id_created_test"; [] gorptest: 09:26:15.015538 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.015755 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.015960 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.016191 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.016389 drop table if exists "time_test"; [] gorptest: 09:26:15.016583 drop table if exists "id_created_test"; [] 2023/01/19 09:26:15 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: 09:26:15.016827 drop table if exists "invoice_test"; [] gorptest: 09:26:15.017047 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.017067 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.017081 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.017093 drop table if exists "person_test"; [] gorptest: 09:26:15.017204 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.017223 drop table if exists "id_created_test"; [] gorptest: 09:26:15.017236 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.017282 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.017301 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.017317 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.017330 drop table if exists "time_test"; [] gorptest: 09:26:15.017346 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.017505 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: 09:26:15.017607 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:15.017814 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.018056 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:15.018329 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.018602 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.018841 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:15.019058 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:15.019279 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:15.019481 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:15.019694 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:15.019869 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 09:26:15.020054 select * from id_created_test where Id=1 [] gorptest: 09:26:15.020225 SELECT *, 1 AS external FROM id_created_test [] gorptest: 09:26:15.020317 drop table if exists "invoice_test"; [] gorptest: 09:26:15.020683 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.020970 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.021184 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.021441 drop table if exists "person_test"; [] gorptest: 09:26:15.021548 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.021850 drop table if exists "id_created_test"; [] gorptest: 09:26:15.022052 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.022254 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.022452 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.022648 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.022876 drop table if exists "time_test"; [] gorptest: 09:26:15.023072 drop table if exists "id_created_test"; [] 2023/01/19 09:26:15 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: 09:26:15.023325 drop table if exists "invoice_test"; [] gorptest: 09:26:15.023547 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.023568 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.023581 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.023594 drop table if exists "person_test"; [] gorptest: 09:26:15.023718 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.023738 drop table if exists "id_created_test"; [] gorptest: 09:26:15.023750 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.023762 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.023775 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.023787 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.023799 drop table if exists "time_test"; [] gorptest: 09:26:15.023856 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.023979 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: 09:26:15.024139 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:15.024423 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.024657 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:15.024896 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.025123 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.025339 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:15.025553 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:15.025790 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:15.026012 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:15.026236 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:15.026445 drop table if exists "invoice_test"; [] gorptest: 09:26:15.026669 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.026887 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.027086 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.027341 drop table if exists "person_test"; [] gorptest: 09:26:15.027542 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.027760 drop table if exists "id_created_test"; [] gorptest: 09:26:15.027947 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.028166 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.028372 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.028568 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.028791 drop table if exists "time_test"; [] gorptest: 09:26:15.028996 drop table if exists "id_created_test"; [] gorptest: 09:26:15.029022 drop table if exists "single_column_table"; [] gorptest: 09:26:15.029177 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: 09:26:15.029394 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: 09:26:15.029506 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:15.029728 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: 09:26:15.029961 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: 09:26:15.030187 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.030395 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.030609 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:15.030855 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:15.031061 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:15.031292 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: 09:26:15.031504 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:15.031724 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:15.031757 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 09:26:15.031974 delete from "invoice_test"; [] gorptest: 09:26:15.032136 delete from "invoice_tag_test"; [] gorptest: 09:26:15.032225 delete from "alias_trans_field_test"; [] gorptest: 09:26:15.032408 delete from "invoice_override_test"; [] gorptest: 09:26:15.032559 delete from "person_test"; [] gorptest: 09:26:15.032744 delete from "ignored_column_test"; [] gorptest: 09:26:15.032914 delete from "id_created_test"; [] gorptest: 09:26:15.033067 delete from "type_conv_test"; [] gorptest: 09:26:15.033236 delete from "embedded_struct_test"; [] gorptest: 09:26:15.033394 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.033563 delete from "embedded_autoincr_test"; [] gorptest: 09:26:15.033745 delete from "time_test"; [] gorptest: 09:26:15.033915 delete from "id_created_test"; [] gorptest: 09:26:15.034080 delete from "single_column_table"; [] gorptest: 09:26:15.034263 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 09:26:15.034392 drop table if exists "invoice_test"; [] gorptest: 09:26:15.034579 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.034680 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.034837 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.035074 drop table if exists "person_test"; [] gorptest: 09:26:15.035282 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.035474 drop table if exists "id_created_test"; [] gorptest: 09:26:15.035669 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.035887 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.036087 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.036296 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.036491 drop table if exists "time_test"; [] gorptest: 09:26:15.036689 drop table if exists "id_created_test"; [] gorptest: 09:26:15.036848 drop table if exists "single_column_table"; [] 2023/01/19 09:26:15 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: 09:26:15.037198 drop table if exists "invoice_test"; [] gorptest: 09:26:15.037410 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.037433 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.037454 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.037550 drop table if exists "person_test"; [] gorptest: 09:26:15.037602 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.037622 drop table if exists "id_created_test"; [] gorptest: 09:26:15.037636 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.037650 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.037663 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.037743 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.037759 drop table if exists "time_test"; [] gorptest: 09:26:15.037776 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.037938 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: 09:26:15.038086 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:15.038210 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 09:26:15.038417 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 09:26:15.038673 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.038909 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:15.039104 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:15.039344 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:15.039552 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:15.039781 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:15.040000 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:15.040222 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 09:26:15.040405 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 09:26:15.040505 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 09:26:15.040721 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 09:26:15.040822 begin; [] gorptest: 09:26:15.040849 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 09:26:15.041002 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:15.041306 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:15.041360 commit; [] gorptest: 09:26:15.041540 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:15.041604 drop table if exists "invoice_test"; [] gorptest: 09:26:15.041886 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:15.042087 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:15.042293 drop table if exists "invoice_override_test"; [] gorptest: 09:26:15.042550 drop table if exists "person_test"; [] gorptest: 09:26:15.042759 drop table if exists "ignored_column_test"; [] gorptest: 09:26:15.042959 drop table if exists "id_created_test"; [] gorptest: 09:26:15.043180 drop table if exists "type_conv_test"; [] gorptest: 09:26:15.043379 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:15.043572 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:15.043790 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:15.043986 drop table if exists "time_test"; [] gorptest: 09:26:15.044206 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.204s + RPM_EC=0 ++ jobs -p Processing files: golang-gopkg-gorp-1-devel-1.7.2-4.fc38.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8VfzQY + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1RFqm1 + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64/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-4.fc38 golang-gopkg-gorp-1-devel = 1.7.2-4.fc38 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-4.fc38 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-4.fc38.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-4.fc38 golang(github.com/go-gorp/gorp/v1) = 1.7.2-4.fc38 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-4.fc38 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-4.fc38 Obsoletes: golang-github-gorp-1-devel < 1.7.2-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 Wrote: /builddir/build/RPMS/compat-golang-github-gorp-1-devel-1.7.2-4.fc38.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-4.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.q3JLhY + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.dlA4qj + umask 022 + cd /builddir/build/BUILD + rm -rf gorp-1.7.2 gorp-1.7.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0