Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1674120256.970073/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v_9flpk:/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.1v_9flpk:/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', 'b22b7cef8e224b71b4fd43b53ba6fc22', '-D', '/var/lib/mock/fedora-rawhide-i686-1674120256.970073/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v_9flpk:/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 i686 --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: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1674120256.970073/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v_9flpk:/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.1v_9flpk:/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', 'aeb0e425eef44f6ca9b4b3365fe6e65e', '-D', '/var/lib/mock/fedora-rawhide-i686-1674120256.970073/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v_9flpk:/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 i686 --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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.giUHKD + 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.koEZHZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386 ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386 + 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.i386 -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.i386/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386/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.166aeS + 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.i386 -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:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.213811 drop table if exists "invoice_test"; [] gorptest: 09:26:31.214147 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.214173 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.214194 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.214213 drop table if exists "person_test"; [] gorptest: 09:26:31.214234 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.214255 drop table if exists "id_created_test"; [] gorptest: 09:26:31.214276 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.214297 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.214317 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.214347 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.214368 drop table if exists "time_test"; [] gorptest: 09:26:31.214408 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:31.214707 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:31.214862 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.215002 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:31.215220 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:31.215545 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.215863 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.216159 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.216453 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.216798 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.217148 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.217481 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.217844 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:31.217906 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:31.217937 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.217983 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:31.218016 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:31.218059 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.218084 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.218128 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.218158 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.218205 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:31.218238 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:31.218282 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.218313 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:31.218337 drop table if exists "invoice_test"; [] gorptest: 09:26:31.218565 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.218756 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.218880 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.219084 drop table if exists "person_test"; [] gorptest: 09:26:31.219192 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.219308 drop table if exists "id_created_test"; [] gorptest: 09:26:31.219409 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.219509 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.219631 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.219754 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.219854 drop table if exists "time_test"; [] gorptest: 09:26:31.219951 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.220159 drop table if exists "invoice_test"; [] gorptest: 09:26:31.220320 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.220344 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.220389 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.220413 drop table if exists "person_test"; [] gorptest: 09:26:31.220436 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.220459 drop table if exists "id_created_test"; [] gorptest: 09:26:31.220482 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.220504 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.220527 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.220552 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.220575 drop table if exists "time_test"; [] gorptest: 09:26:31.220636 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:31.220819 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:31.220968 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.221110 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:31.221268 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:31.221400 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.221522 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.221667 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.221817 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.221946 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.222079 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.222214 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.222344 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:31.222381 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:31.222410 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.222438 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:31.222471 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:31.222498 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.222521 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.222551 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.222578 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.222631 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:31.222675 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:31.222704 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.222741 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:31.222787 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391222766497 2:1674120391222766497 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:31.222917 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:31.223012 delete from "invoice_test"; [] gorptest: 09:26:31.223081 delete from "invoice_tag_test"; [] gorptest: 09:26:31.223146 delete from "alias_trans_field_test"; [] gorptest: 09:26:31.223213 delete from "invoice_override_test"; [] gorptest: 09:26:31.223287 delete from "person_test"; [] gorptest: 09:26:31.223353 delete from "ignored_column_test"; [] gorptest: 09:26:31.223420 delete from "id_created_test"; [] gorptest: 09:26:31.223485 delete from "type_conv_test"; [] gorptest: 09:26:31.223548 delete from "embedded_struct_test"; [] gorptest: 09:26:31.223661 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.223733 delete from "embedded_autoincr_test"; [] gorptest: 09:26:31.223804 delete from "time_test"; [] gorptest: 09:26:31.223872 delete from "id_created_test"; [] gorptest: 09:26:31.223942 SELECT * FROM person_test [] gorptest: 09:26:31.224018 SELECT * FROM invoice_test [] gorptest: 09:26:31.224080 drop table if exists "invoice_test"; [] gorptest: 09:26:31.224206 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.224356 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.224476 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.224688 drop table if exists "person_test"; [] gorptest: 09:26:31.224808 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.224912 drop table if exists "id_created_test"; [] gorptest: 09:26:31.225012 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.225120 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.225219 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.225319 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.225424 drop table if exists "time_test"; [] gorptest: 09:26:31.225523 drop table if exists "id_created_test"; [] gorptest: 09:26:31.225720 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 09:26:31.226051 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 09:26:31 +0000 UTC] gorptest: 09:26:31.226187 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 09:26:31.226244 drop table if exists "WithCustomDate"; [] gorptest: 09:26:31.226457 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:31.226768 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:31.226907 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:31.227046 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 09:26:31.227145 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 09:26:31.227236 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 09:26:31.227328 drop table if exists "PersonUInt64"; [] gorptest: 09:26:31.227454 drop table if exists "PersonUInt32"; [] gorptest: 09:26:31.227570 drop table if exists "PersonUInt16"; [] gorptest: 09:26:31.227807 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:31.228170 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 09:26:31.228279 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 09:26:31.228337 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 09:26:31.228389 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 09:26:31.228482 drop table if exists "UniqueColumns"; [] gorptest: 09:26:31.228860 drop table if exists PersistentUser [] gorptest: 09:26:31.229086 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:31.229243 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:31.229330 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 09:26:31.229386 select * from PersistentUser [] gorptest: 09:26:31.229445 select * from PersistentUser [] gorptest: 09:26:31.229496 select * from PersistentUser [] gorptest: 09:26:31.229590 select Id from PersistentUser [] gorptest: 09:26:31.229644 select mykey from PersistentUser [] gorptest: 09:26:31.229683 select PassedTraining from PersistentUser [] gorptest: 09:26:31.229719 select Id from PersistentUser [] gorptest: 09:26:31.229752 drop table if exists "PersistentUser"; [] gorptest: 09:26:31.229931 drop table if exists PersistentUser [] gorptest: 09:26:31.230141 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:31.230292 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:31.230378 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:31.230484 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:31.230550 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:31.230670 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:31.230737 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 09:26:31.230792 drop table if exists "PersistentUser"; [] gorptest: 09:26:31.230979 drop table if exists PersistentUser [] gorptest: 09:26:31.231180 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:31.231328 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:31.231422 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:31.231515 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:31.231591 drop table if exists "PersistentUser"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.231876 drop table if exists "invoice_test"; [] gorptest: 09:26:31.232032 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.232057 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.232080 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.232102 drop table if exists "person_test"; [] gorptest: 09:26:31.232125 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.232147 drop table if exists "id_created_test"; [] gorptest: 09:26:31.232169 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.232199 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.232223 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.232247 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.232270 drop table if exists "time_test"; [] gorptest: 09:26:31.232301 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:31.232468 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:31.232653 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.232795 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:31.232954 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:31.233090 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.233210 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.233329 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.233460 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.233591 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.233750 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.233889 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.234027 select * from invoice_test where id=99999 [] gorptest: 09:26:31.234095 select * from invoice_test where id=99999 [] gorptest: 09:26:31.234157 drop table if exists "invoice_test"; [] gorptest: 09:26:31.234277 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.234388 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.234499 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.234696 drop table if exists "person_test"; [] gorptest: 09:26:31.234809 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.234914 drop table if exists "id_created_test"; [] gorptest: 09:26:31.235016 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.235119 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.235224 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.235330 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.235433 drop table if exists "time_test"; [] gorptest: 09:26:31.235532 drop table if exists "id_created_test"; [] gorptest: 09:26:31.235669 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:31.236017 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:31.236085 drop table if exists "InvoicePersonView"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.236381 drop table if exists "invoice_test"; [] gorptest: 09:26:31.236551 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.236573 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.236592 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.236645 drop table if exists "person_test"; [] gorptest: 09:26:31.236668 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.236688 drop table if exists "id_created_test"; [] gorptest: 09:26:31.236708 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.236728 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.236750 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.236776 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.236796 drop table if exists "time_test"; [] gorptest: 09:26:31.236839 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:31.236998 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:31.237143 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.237274 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:31.237432 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:31.237567 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.237720 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.237844 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.237974 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.238107 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.238235 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.238365 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.238505 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391238485518 2:1674120391238485518 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:31.238686 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:31.238783 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120391238485518 2:1674120391238485518 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 09:26:31.238902 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120391238485518 2:1674120391238485518 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 09:26:31.238953 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:31.239017 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 09:26:31.239059 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:31.239108 drop table if exists "invoice_test"; [] gorptest: 09:26:31.239230 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.239344 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.239452 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.239647 drop table if exists "person_test"; [] gorptest: 09:26:31.239805 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.239948 drop table if exists "id_created_test"; [] gorptest: 09:26:31.240103 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.240231 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.240377 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.240521 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.240703 drop table if exists "time_test"; [] gorptest: 09:26:31.240833 drop table if exists "id_created_test"; [] gorptest: 09:26:31.241058 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:31.241482 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 09:26:31.241620 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:31.241731 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:31.241876 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:31.241955 drop table if exists "TableWithNull"; [] gorptest: 09:26:31.242199 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 09:26:31.242667 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 09:26:31.242827 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 09:26:31.242914 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:31.242986 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 09:26:31.243046 drop table if exists "Invoice"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.243452 drop table if exists "invoice_test"; [] gorptest: 09:26:31.243678 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.243703 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.243725 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.243762 drop table if exists "person_test"; [] gorptest: 09:26:31.243785 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.243806 drop table if exists "id_created_test"; [] gorptest: 09:26:31.243850 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.243873 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.243894 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.243936 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.243957 drop table if exists "time_test"; [] gorptest: 09:26:31.244003 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:31.244196 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:31.244393 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.244583 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:31.244838 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:31.244991 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.245150 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.245306 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.245452 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.245590 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.245758 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.245890 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.246035 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391246016301 2:1674120391246016301 3:"bob" 4:"smith" 5:1] gorptest: 09:26:31.246147 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:31.246247 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:31.246347 drop table if exists "invoice_test"; [] gorptest: 09:26:31.246470 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.246573 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.246713 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.246863 drop table if exists "person_test"; [] gorptest: 09:26:31.246986 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.247098 drop table if exists "id_created_test"; [] gorptest: 09:26:31.247207 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.247316 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.247424 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.247531 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.247669 drop table if exists "time_test"; [] gorptest: 09:26:31.247780 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.247949 drop table if exists "invoice_test"; [] gorptest: 09:26:31.248122 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.248145 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.248167 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.248186 drop table if exists "person_test"; [] gorptest: 09:26:31.248205 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.248224 drop table if exists "id_created_test"; [] gorptest: 09:26:31.248247 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.248267 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.248286 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.248308 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.248329 drop table if exists "time_test"; [] gorptest: 09:26:31.248367 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:31.248524 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:31.248715 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.248852 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:31.249015 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:31.249168 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.249302 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.249437 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.249577 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.249757 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.249896 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.250030 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.250172 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391250154890 2:1674120391250154890 3:"bob" 4:"smith" 5:1] gorptest: 09:26:31.250297 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:31.250376 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120391250154890 2:1674120391250154890 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 09:26:31.250473 select * from person_test where id = ? [1:1] gorptest: 09:26:31.250567 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 09:26:31.250676 drop table if exists "invoice_test"; [] gorptest: 09:26:31.250787 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.250891 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.250989 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.251136 drop table if exists "person_test"; [] gorptest: 09:26:31.251243 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.251341 drop table if exists "id_created_test"; [] gorptest: 09:26:31.251438 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.251533 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.251663 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.251769 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.251865 drop table if exists "time_test"; [] gorptest: 09:26:31.251966 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.252134 drop table if exists "invoice_test"; [] gorptest: 09:26:31.252318 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.252341 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.252379 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.252403 drop table if exists "person_test"; [] gorptest: 09:26:31.252426 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.252448 drop table if exists "id_created_test"; [] gorptest: 09:26:31.252471 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.252493 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.252516 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.252539 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.252562 drop table if exists "time_test"; [] gorptest: 09:26:31.252616 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:31.252778 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:31.252913 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.253040 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:31.253202 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:31.253329 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.253447 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.253574 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.253797 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.253937 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.254076 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.254216 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.254349 begin; [] gorptest: 09:26:31.254410 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:31.254519 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:31.254547 commit; [] gorptest: 09:26:31.254640 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:31.254707 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:31.254759 drop table if exists "invoice_test"; [] gorptest: 09:26:31.254879 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.254987 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.255090 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.255242 drop table if exists "person_test"; [] gorptest: 09:26:31.255348 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.255472 drop table if exists "id_created_test"; [] gorptest: 09:26:31.255573 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.255714 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.255814 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.255915 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.256014 drop table if exists "time_test"; [] gorptest: 09:26:31.256122 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.256335 drop table if exists "invoice_test"; [] gorptest: 09:26:31.256500 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.256524 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.256547 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.256570 drop table if exists "person_test"; [] gorptest: 09:26:31.256593 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.256634 drop table if exists "id_created_test"; [] gorptest: 09:26:31.256654 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.256674 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.256694 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.256715 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.256736 drop table if exists "time_test"; [] gorptest: 09:26:31.256766 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:31.256922 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:31.257062 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.257186 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:31.257346 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:31.257473 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.257656 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.257795 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.257926 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.258065 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.258206 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.258343 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.258475 begin; [] gorptest: 09:26:31.258528 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:31.258641 select memo from invoice_test [] gorptest: 09:26:31.258687 savepoint "foo" [1:] gorptest: 09:26:31.258698 select memo from invoice_test [] gorptest: 09:26:31.258758 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:31.258809 select memo from invoice_test [] gorptest: 09:26:31.258852 rollback to savepoint "foo" [1:] gorptest: 09:26:31.258867 select memo from invoice_test [] gorptest: 09:26:31.258913 rollback; [] gorptest: 09:26:31.258974 drop table if exists "invoice_test"; [] gorptest: 09:26:31.259092 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.259205 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.259308 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.259458 drop table if exists "person_test"; [] gorptest: 09:26:31.259563 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.259698 drop table if exists "id_created_test"; [] gorptest: 09:26:31.259798 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.259894 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.259998 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.260104 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.260208 drop table if exists "time_test"; [] gorptest: 09:26:31.260303 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.260508 drop table if exists "invoice_test"; [] gorptest: 09:26:31.260680 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.260704 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.260727 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.260749 drop table if exists "person_test"; [] gorptest: 09:26:31.260771 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.260798 drop table if exists "id_created_test"; [] gorptest: 09:26:31.260821 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.260843 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.260866 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.260889 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.260917 drop table if exists "time_test"; [] gorptest: 09:26:31.260950 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:31.261129 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:31.261283 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.261427 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:31.261591 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:31.261749 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.261875 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.262008 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.262147 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.262283 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.262424 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.262563 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.262766 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:31.262869 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:31.262971 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:31.263070 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:31.263154 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:31.263228 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:31.263297 drop table if exists "invoice_test"; [] gorptest: 09:26:31.263409 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.263509 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.263632 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.263779 drop table if exists "person_test"; [] gorptest: 09:26:31.263882 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.263980 drop table if exists "id_created_test"; [] gorptest: 09:26:31.264081 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.264178 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.264275 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.264370 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.264465 drop table if exists "time_test"; [] gorptest: 09:26:31.264562 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.264776 drop table if exists "invoice_test"; [] gorptest: 09:26:31.264931 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.264953 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.264973 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.264994 drop table if exists "person_test"; [] gorptest: 09:26:31.265016 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.265036 drop table if exists "id_created_test"; [] gorptest: 09:26:31.265064 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.265084 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.265108 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.265130 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.265151 drop table if exists "time_test"; [] gorptest: 09:26:31.265186 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:31.265342 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:31.265509 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.265748 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:31.265918 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:31.266057 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.266191 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.266324 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.266460 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.266611 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.266752 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.266884 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.267007 delete from invoice_test [] gorptest: 09:26:31.267091 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:31.267196 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:31.267303 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:6537697254133529562 2:1793412488837563021 3:"random 985741009140594150" 4:0 5:true 6:1] gorptest: 09:26:31.267399 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:31.267454 select * from invoice_test [] gorptest: 09:26:31.267536 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:31.267649 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:31.267691 delete from invoice_tag_test [] gorptest: 09:26:31.267778 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:31.267885 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:31.267969 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:6646501522005889968 2:9130339204974276526 3:"random 4292030089021293366" 4:33 5:false 6:1] gorptest: 09:26:31.268068 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:31.268125 select * from invoice_tag_test [] gorptest: 09:26:31.268219 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:31.268310 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:31.268353 delete from alias_trans_field_test [] gorptest: 09:26:31.268431 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 09:26:31.268527 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:31.268583 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 8339744948198836218" 2:1] gorptest: 09:26:31.268693 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:31.268735 select * from alias_trans_field_test [] gorptest: 09:26:31.268786 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:31.268864 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:31.268899 drop table if exists "invoice_test"; [] gorptest: 09:26:31.269015 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.269135 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.269241 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.269391 drop table if exists "person_test"; [] gorptest: 09:26:31.269491 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.269591 drop table if exists "id_created_test"; [] gorptest: 09:26:31.269765 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.269866 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.269963 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.270071 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.270179 drop table if exists "time_test"; [] gorptest: 09:26:31.270285 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.270497 drop table if exists "invoice_test"; [] gorptest: 09:26:31.270676 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.270699 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.270719 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.270738 drop table if exists "person_test"; [] gorptest: 09:26:31.270758 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.270779 drop table if exists "id_created_test"; [] gorptest: 09:26:31.270800 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.270821 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.270841 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.270863 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.270885 drop table if exists "time_test"; [] gorptest: 09:26:31.270915 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:31.271073 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:31.271207 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.271338 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:31.271494 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:31.271666 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.271805 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.271931 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.272063 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.272191 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.272319 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.272447 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.272578 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 09:26:31.272689 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:31.272739 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:31.272814 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:31.272853 drop table if exists "invoice_test"; [] gorptest: 09:26:31.272966 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.273089 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.273200 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.273357 drop table if exists "person_test"; [] gorptest: 09:26:31.273469 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.273579 drop table if exists "id_created_test"; [] gorptest: 09:26:31.273705 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.273809 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.273916 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.274021 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.274123 drop table if exists "time_test"; [] gorptest: 09:26:31.274225 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.274419 drop table if exists "invoice_test"; [] gorptest: 09:26:31.274583 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.274671 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.274694 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.274714 drop table if exists "person_test"; [] gorptest: 09:26:31.274734 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.274754 drop table if exists "id_created_test"; [] gorptest: 09:26:31.274774 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.274793 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.274813 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.274835 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.274856 drop table if exists "time_test"; [] gorptest: 09:26:31.274885 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:31.275044 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:31.275177 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.275301 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:31.275456 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:31.275620 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.275743 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.275864 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.275987 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.276111 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.276236 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.276361 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.276572 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:31.276733 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:31.276826 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:31.276916 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:31.276976 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:31.277064 drop table if exists "invoice_test"; [] gorptest: 09:26:31.277174 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.277273 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.277385 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.277544 drop table if exists "person_test"; [] gorptest: 09:26:31.277678 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.277782 drop table if exists "id_created_test"; [] gorptest: 09:26:31.277882 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.277989 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.278090 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.278190 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.278297 drop table if exists "time_test"; [] gorptest: 09:26:31.278402 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.278575 drop table if exists "invoice_test"; [] gorptest: 09:26:31.278800 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.278823 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.278845 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.278865 drop table if exists "person_test"; [] gorptest: 09:26:31.278885 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.278906 drop table if exists "id_created_test"; [] gorptest: 09:26:31.278927 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.278954 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.278975 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.278997 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.279019 drop table if exists "time_test"; [] gorptest: 09:26:31.279054 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:31.279213 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:31.279352 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.279494 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:31.279678 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:31.279814 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.279942 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.280065 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.280200 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.280339 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.280477 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.280669 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.280821 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 09:26:31.280924 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:31.280988 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 09:26:31.281085 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:31.281132 select * from embedded_struct_test [] gorptest: 09:26:31.281203 drop table if exists "invoice_test"; [] gorptest: 09:26:31.281316 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.281433 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.281537 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.281715 drop table if exists "person_test"; [] gorptest: 09:26:31.281824 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.281939 drop table if exists "id_created_test"; [] gorptest: 09:26:31.282053 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.282160 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.282275 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.282385 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.282490 drop table if exists "time_test"; [] gorptest: 09:26:31.282648 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.282824 drop table if exists "invoice_test"; [] gorptest: 09:26:31.282995 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.283016 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.283037 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.283057 drop table if exists "person_test"; [] gorptest: 09:26:31.283078 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.283097 drop table if exists "id_created_test"; [] gorptest: 09:26:31.283119 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.283139 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.283161 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.283184 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.283205 drop table if exists "time_test"; [] gorptest: 09:26:31.283233 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:31.283386 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:31.283516 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.283665 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:31.283841 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:31.283985 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.284112 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.284240 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.284378 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.284513 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.284724 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.284857 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.284997 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 09:26:31.285097 drop table if exists "invoice_test"; [] gorptest: 09:26:31.285201 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.285304 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.285401 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.285543 drop table if exists "person_test"; [] gorptest: 09:26:31.285680 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.285840 drop table if exists "id_created_test"; [] gorptest: 09:26:31.285980 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.286119 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.286274 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.286432 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.286562 drop table if exists "time_test"; [] gorptest: 09:26:31.286744 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.286943 drop table if exists "invoice_test"; [] gorptest: 09:26:31.287153 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.287174 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.287209 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.287231 drop table if exists "person_test"; [] gorptest: 09:26:31.287252 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.287288 drop table if exists "id_created_test"; [] gorptest: 09:26:31.287311 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.287330 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.287368 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.287390 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.287416 drop table if exists "time_test"; [] gorptest: 09:26:31.287462 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:31.287695 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:31.287874 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.288062 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:31.288290 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:31.288470 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.288713 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.288909 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.289091 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.289263 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.289434 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.289620 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.289800 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 09:26:31.289896 drop table if exists "invoice_test"; [] gorptest: 09:26:31.290038 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.290173 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.290291 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.290447 drop table if exists "person_test"; [] gorptest: 09:26:31.290585 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.290738 drop table if exists "id_created_test"; [] gorptest: 09:26:31.290842 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.290944 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.291047 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.291149 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.291275 drop table if exists "time_test"; [] gorptest: 09:26:31.291377 drop table if exists "id_created_test"; [] gorptest: 09:26:31.291513 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:31.291845 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:31.291944 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:31.291990 select count(*) from TableWithNull [] gorptest: 09:26:31.292029 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:31.292071 select Int64 from TableWithNull where Str='notfound' [] gorptest: 09:26:31.292106 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:31.292142 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:31.292184 select min(Float64) from TableWithNull [] gorptest: 09:26:31.292226 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:31.292268 select Float64 from TableWithNull where Str='notfound' [] gorptest: 09:26:31.292302 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:31.292339 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:31.292377 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:31.292410 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:31.292447 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:31.292489 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 09:26:31.292530 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:31.292591 drop table if exists "TableWithNull"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.292873 drop table if exists "invoice_test"; [] gorptest: 09:26:31.293034 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.293064 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.293085 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.293104 drop table if exists "person_test"; [] gorptest: 09:26:31.293125 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.293146 drop table if exists "id_created_test"; [] gorptest: 09:26:31.293167 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.293187 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.293206 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.293228 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.293248 drop table if exists "time_test"; [] gorptest: 09:26:31.293278 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:31.293432 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:31.293565 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.293711 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:31.293871 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:31.294017 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.294148 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.294279 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.294417 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.294552 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.294758 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.294887 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.295026 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391295007384 2:1674120391295007384 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:31.295129 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391295117579 2:1674120391295117579 3:"Jane" 4:"Smith" 5:1] gorptest: 09:26:31.295251 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391295238743 2:1674120391295238743 3:"Mike" 4:"Smith" 5:1] gorptest: 09:26:31.295336 drop table if exists "invoice_test"; [] gorptest: 09:26:31.295443 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.295543 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.295698 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.295854 drop table if exists "person_test"; [] gorptest: 09:26:31.295975 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.296083 drop table if exists "id_created_test"; [] gorptest: 09:26:31.296191 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.296297 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.296406 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.296514 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.296681 drop table if exists "time_test"; [] gorptest: 09:26:31.296791 drop table if exists "id_created_test"; [] gorptest: 09:26:31.296885 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 09:26:31.297222 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 09:26:31.297305 drop table if exists "string_pk_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.297927 drop table if exists "invoice_test"; [] gorptest: 09:26:31.298111 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.298136 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.298160 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.298183 drop table if exists "person_test"; [] gorptest: 09:26:31.298211 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.298233 drop table if exists "id_created_test"; [] gorptest: 09:26:31.298252 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.298273 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.298295 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.298318 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.298340 drop table if exists "time_test"; [] gorptest: 09:26:31.298371 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:31.298544 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:31.298735 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.298878 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:31.299052 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:31.299188 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.299313 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.299445 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.299578 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.299740 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.299874 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.300009 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.300153 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:55:31.300137022 +0000 UTC] gorptest: 09:26:31.300250 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:56:32.300137022 +0000 UTC] gorptest: 09:26:31.300343 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 08:56:31.300137022 +0000 UTC] gorptest: 09:26:31.300417 drop table if exists "invoice_test"; [] gorptest: 09:26:31.300531 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.300671 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.300780 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.300929 drop table if exists "person_test"; [] gorptest: 09:26:31.301033 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.301146 drop table if exists "id_created_test"; [] gorptest: 09:26:31.301248 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.301345 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.301444 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.301538 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.301656 drop table if exists "time_test"; [] gorptest: 09:26:31.301761 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.301922 drop table if exists "invoice_test"; [] gorptest: 09:26:31.302093 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.302115 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.302136 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.302156 drop table if exists "person_test"; [] gorptest: 09:26:31.302179 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.302201 drop table if exists "id_created_test"; [] gorptest: 09:26:31.302222 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.302245 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.302268 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.302290 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.302312 drop table if exists "time_test"; [] gorptest: 09:26:31.302343 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:31.302510 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:31.302689 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.302826 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:31.302982 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:31.303111 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.303225 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.303350 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.303485 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.303712 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.303853 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.303981 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.304119 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391304100371 2:1674120391304100371 3:"bob" 4:"smith" 5:1] gorptest: 09:26:31.304228 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:31.304319 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:31.304399 drop table if exists "invoice_test"; [] gorptest: 09:26:31.304512 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.304642 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.304753 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.304910 drop table if exists "person_test"; [] gorptest: 09:26:31.305029 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.305147 drop table if exists "id_created_test"; [] gorptest: 09:26:31.305251 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.305355 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.305458 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.305562 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.305704 drop table if exists "time_test"; [] gorptest: 09:26:31.305800 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.305967 drop table if exists "invoice_test"; [] gorptest: 09:26:31.306138 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.306160 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.306181 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.306202 drop table if exists "person_test"; [] gorptest: 09:26:31.306222 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.306243 drop table if exists "id_created_test"; [] gorptest: 09:26:31.306264 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.306285 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.306305 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.306326 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.306347 drop table if exists "time_test"; [] gorptest: 09:26:31.306376 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:31.306531 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:31.306699 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.306836 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:31.307002 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:31.307145 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.307277 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.307417 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.307553 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.307714 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.307868 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.308008 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.309880 drop table if exists "invoice_test"; [] gorptest: 09:26:31.310050 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.310072 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.310093 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.310114 drop table if exists "person_test"; [] gorptest: 09:26:31.310136 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.310156 drop table if exists "id_created_test"; [] gorptest: 09:26:31.310176 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.310198 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.310218 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.310243 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.310264 drop table if exists "time_test"; [] gorptest: 09:26:31.310295 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:31.310486 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:31.310679 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.310815 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:31.310973 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:31.311101 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.311227 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.311347 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.311485 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.311640 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.311773 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.311902 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.312037 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391312019167 2:1674120391312019167 3:"bob" 4:"smith" 5:1] gorptest: 09:26:31.312156 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391312139017 2:1674120391312139017 3:"jane" 4:"doe" 5:1] gorptest: 09:26:31.312260 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:31.312325 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 09:26:31.312386 select * from person_test where Id=? [1:1] gorptest: 09:26:31.312453 select * from person_test order by fname asc [] gorptest: 09:26:31.312539 drop table if exists "invoice_test"; [] gorptest: 09:26:31.312713 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.312817 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.312920 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.313075 drop table if exists "person_test"; [] gorptest: 09:26:31.313188 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.313286 drop table if exists "id_created_test"; [] gorptest: 09:26:31.313382 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.313480 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.313576 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.313698 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.313806 drop table if exists "time_test"; [] gorptest: 09:26:31.313914 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.314117 drop table if exists "invoice_test"; [] gorptest: 09:26:31.314280 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.314305 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.314327 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.314351 drop table if exists "person_test"; [] gorptest: 09:26:31.314374 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.314397 drop table if exists "id_created_test"; [] gorptest: 09:26:31.314420 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.314441 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.314463 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.314486 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.314508 drop table if exists "time_test"; [] gorptest: 09:26:31.314545 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:31.314756 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:31.314888 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.315013 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:31.315163 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:31.315288 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.315406 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.315535 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.315682 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.315813 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.315954 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.316096 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.316247 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391316229165 2:1674120391316229165 3:"bob" 4:"smith" 5:1] gorptest: 09:26:31.316357 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:31.316434 select * from person_test where Id=? [1:1] gorptest: 09:26:31.316522 select FName from person_test where Id=? [1:1] gorptest: 09:26:31.316565 select * from person_test where Id=? [1:1] gorptest: 09:26:31.316709 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 09:26:31.316777 select * from person_test where Id=? [1:-2222] gorptest: 09:26:31.316845 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120391316833101 2:1674120391316833101 3:"bob" 4:"smith" 5:1] gorptest: 09:26:31.316950 select * from person_test where Fname='bob' [] gorptest: 09:26:31.317041 select * from person_test where Id=-123 [] gorptest: 09:26:31.317085 select * from person_test where Id=-123 [] gorptest: 09:26:31.317122 select * from person_test where Id=-123 [] gorptest: 09:26:31.317155 select * from person_test where Id=-123 [] gorptest: 09:26:31.317187 drop table if exists "invoice_test"; [] gorptest: 09:26:31.317303 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.317415 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.317519 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.317686 drop table if exists "person_test"; [] gorptest: 09:26:31.317802 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.317908 drop table if exists "id_created_test"; [] gorptest: 09:26:31.318009 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.318104 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.318210 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.318319 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.318425 drop table if exists "time_test"; [] gorptest: 09:26:31.318530 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.318757 drop table if exists "invoice_test"; [] gorptest: 09:26:31.318936 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.318958 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.318978 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.318999 drop table if exists "person_test"; [] gorptest: 09:26:31.319021 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.319041 drop table if exists "id_created_test"; [] gorptest: 09:26:31.319061 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.319082 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.319105 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.319125 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.319145 drop table if exists "time_test"; [] gorptest: 09:26:31.319174 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:31.319337 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:31.319485 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.319636 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:31.319799 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:31.319930 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.320052 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.320175 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.320299 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.320430 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.320592 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.320784 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.320911 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 09:26:31.320996 select * from id_created_test where Id=1 [] gorptest: 09:26:31.321067 SELECT *, 1 AS external FROM id_created_test [] gorptest: 09:26:31.321150 drop table if exists "invoice_test"; [] gorptest: 09:26:31.321513 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.321655 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.321763 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.321935 drop table if exists "person_test"; [] gorptest: 09:26:31.322038 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.322138 drop table if exists "id_created_test"; [] gorptest: 09:26:31.322242 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.322338 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.322435 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.322536 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.322700 drop table if exists "time_test"; [] gorptest: 09:26:31.322803 drop table if exists "id_created_test"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.323102 drop table if exists "invoice_test"; [] gorptest: 09:26:31.323266 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.323296 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.323316 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.323336 drop table if exists "person_test"; [] gorptest: 09:26:31.323357 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.323378 drop table if exists "id_created_test"; [] gorptest: 09:26:31.323398 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.323417 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.323437 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.323461 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.323483 drop table if exists "time_test"; [] gorptest: 09:26:31.323515 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:31.323692 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:31.323833 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.323966 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:31.324116 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:31.324237 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.324353 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.324484 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.324689 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.324830 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.324958 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.325093 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.325215 drop table if exists "invoice_test"; [] gorptest: 09:26:31.325355 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.325471 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.325578 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.325784 drop table if exists "person_test"; [] gorptest: 09:26:31.325892 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.325993 drop table if exists "id_created_test"; [] gorptest: 09:26:31.326092 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.326192 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.326299 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.326405 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.326510 drop table if exists "time_test"; [] gorptest: 09:26:31.326666 drop table if exists "id_created_test"; [] gorptest: 09:26:31.326694 drop table if exists "single_column_table"; [] gorptest: 09:26:31.326724 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:31.326875 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:31.327006 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.327135 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:31.327284 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:31.327421 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.327552 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.327708 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.327836 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.327966 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:31.328094 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:31.328221 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.328354 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:31.328386 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 09:26:31.328529 delete from "invoice_test"; [] gorptest: 09:26:31.328660 delete from "invoice_tag_test"; [] gorptest: 09:26:31.328731 delete from "alias_trans_field_test"; [] gorptest: 09:26:31.328796 delete from "invoice_override_test"; [] gorptest: 09:26:31.328866 delete from "person_test"; [] gorptest: 09:26:31.328930 delete from "ignored_column_test"; [] gorptest: 09:26:31.328993 delete from "id_created_test"; [] gorptest: 09:26:31.329063 delete from "type_conv_test"; [] gorptest: 09:26:31.329128 delete from "embedded_struct_test"; [] gorptest: 09:26:31.329190 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.329252 delete from "embedded_autoincr_test"; [] gorptest: 09:26:31.329317 delete from "time_test"; [] gorptest: 09:26:31.329383 delete from "id_created_test"; [] gorptest: 09:26:31.329451 delete from "single_column_table"; [] gorptest: 09:26:31.329536 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 09:26:31.329587 drop table if exists "invoice_test"; [] gorptest: 09:26:31.329719 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.329831 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.329932 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.330096 drop table if exists "person_test"; [] gorptest: 09:26:31.330201 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.330303 drop table if exists "id_created_test"; [] gorptest: 09:26:31.330405 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.330515 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.330735 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.330903 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.331046 drop table if exists "time_test"; [] gorptest: 09:26:31.331172 drop table if exists "id_created_test"; [] gorptest: 09:26:31.331220 drop table if exists "single_column_table"; [] 2023/01/19 09:26:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:31.331636 drop table if exists "invoice_test"; [] gorptest: 09:26:31.331858 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.331881 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.331908 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.331948 drop table if exists "person_test"; [] gorptest: 09:26:31.331973 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.332011 drop table if exists "id_created_test"; [] gorptest: 09:26:31.332035 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.332055 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.332090 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.332112 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.332131 drop table if exists "time_test"; [] gorptest: 09:26:31.332174 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:31.332371 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:31.332577 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:31.332826 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:31.333031 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:31.333245 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.333420 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:31.333618 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:31.333795 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:31.333968 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:31.334132 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:31.334299 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:31.334496 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:31.334667 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:31.334806 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 09:26:31.334936 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 09:26:31.335050 begin; [] gorptest: 09:26:31.335083 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 09:26:31.335175 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:31.335488 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:31.335617 commit; [] gorptest: 09:26:31.335702 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:31.335784 drop table if exists "invoice_test"; [] gorptest: 09:26:31.335954 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:31.336067 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:31.336164 drop table if exists "invoice_override_test"; [] gorptest: 09:26:31.336337 drop table if exists "person_test"; [] gorptest: 09:26:31.336461 drop table if exists "ignored_column_test"; [] gorptest: 09:26:31.336560 drop table if exists "id_created_test"; [] gorptest: 09:26:31.336702 drop table if exists "type_conv_test"; [] gorptest: 09:26:31.336800 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:31.336897 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:31.336994 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:31.337113 drop table if exists "time_test"; [] gorptest: 09:26:31.337219 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.128s gopkg.in/gorp.v1 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.086888 drop table if exists "invoice_test"; [] gorptest: 09:26:32.087486 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.087515 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.087535 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.087733 drop table if exists "person_test"; [] gorptest: 09:26:32.087760 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.088000 drop table if exists "id_created_test"; [] gorptest: 09:26:32.088028 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.088050 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.088070 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.088312 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.088335 drop table if exists "time_test"; [] gorptest: 09:26:32.088540 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:32.089058 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:32.089418 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.089577 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:32.089801 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:32.089960 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.090112 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.090261 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.090411 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.090556 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.090733 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.090896 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.091060 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:32.091105 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:32.091135 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.091167 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:32.091203 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:32.091231 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.091258 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.091287 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.091318 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.091351 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:32.091382 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:32.091410 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.091441 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:32.091467 drop table if exists "invoice_test"; [] gorptest: 09:26:32.091682 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.091811 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.091956 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.092139 drop table if exists "person_test"; [] gorptest: 09:26:32.092257 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.092366 drop table if exists "id_created_test"; [] gorptest: 09:26:32.092475 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.092583 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.092715 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.092825 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.092960 drop table if exists "time_test"; [] gorptest: 09:26:32.093081 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.093297 drop table if exists "invoice_test"; [] gorptest: 09:26:32.093470 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.093493 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.093514 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.093536 drop table if exists "person_test"; [] gorptest: 09:26:32.093558 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.093581 drop table if exists "id_created_test"; [] gorptest: 09:26:32.093640 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.093663 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.093685 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.093706 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.093728 drop table if exists "time_test"; [] gorptest: 09:26:32.093760 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:32.093944 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:32.094098 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.094265 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:32.094445 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:32.094582 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.094744 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.094877 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.095014 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.095151 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.095434 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.095758 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.096067 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:32.096236 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:32.096412 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.096567 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:32.096746 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:32.096896 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.097028 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.097199 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.097347 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.097485 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:32.097675 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:32.097813 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.097970 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:32.098150 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392098125733 2:1674120392098125733 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:32.098405 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:32.098743 delete from "invoice_test"; [] gorptest: 09:26:32.098959 delete from "invoice_tag_test"; [] gorptest: 09:26:32.099178 delete from "alias_trans_field_test"; [] gorptest: 09:26:32.099383 delete from "invoice_override_test"; [] gorptest: 09:26:32.099626 delete from "person_test"; [] gorptest: 09:26:32.099843 delete from "ignored_column_test"; [] gorptest: 09:26:32.100070 delete from "id_created_test"; [] gorptest: 09:26:32.100294 delete from "type_conv_test"; [] gorptest: 09:26:32.100517 delete from "embedded_struct_test"; [] gorptest: 09:26:32.100772 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.100994 delete from "embedded_autoincr_test"; [] gorptest: 09:26:32.101217 delete from "time_test"; [] gorptest: 09:26:32.101440 delete from "id_created_test"; [] gorptest: 09:26:32.101688 SELECT * FROM person_test [] gorptest: 09:26:32.101897 SELECT * FROM invoice_test [] gorptest: 09:26:32.102103 drop table if exists "invoice_test"; [] gorptest: 09:26:32.102383 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.102711 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.103004 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.103365 drop table if exists "person_test"; [] gorptest: 09:26:32.103680 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.103948 drop table if exists "id_created_test"; [] gorptest: 09:26:32.104208 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.104455 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.104743 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.105017 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.105295 drop table if exists "time_test"; [] gorptest: 09:26:32.105542 drop table if exists "id_created_test"; [] gorptest: 09:26:32.105851 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 09:26:32.106337 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 09:26:32 +0000 UTC] gorptest: 09:26:32.106671 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 09:26:32.106888 drop table if exists "WithCustomDate"; [] gorptest: 09:26:32.107282 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:32.107786 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:32.108129 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 09:26:32.108460 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 09:26:32.108770 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 09:26:32.109035 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 09:26:32.109316 drop table if exists "PersonUInt64"; [] gorptest: 09:26:32.109633 drop table if exists "PersonUInt32"; [] gorptest: 09:26:32.109916 drop table if exists "PersonUInt16"; [] gorptest: 09:26:32.110327 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:32.110960 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 09:26:32.111258 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 09:26:32.111467 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 09:26:32.111690 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 09:26:32.111947 drop table if exists "UniqueColumns"; [] gorptest: 09:26:32.112420 drop table if exists PersistentUser [] gorptest: 09:26:32.112846 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:32.113196 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:32.113299 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 09:26:32.113357 select * from PersistentUser [] gorptest: 09:26:32.113423 select * from PersistentUser [] gorptest: 09:26:32.113476 select * from PersistentUser [] gorptest: 09:26:32.113580 select Id from PersistentUser [] gorptest: 09:26:32.113646 select mykey from PersistentUser [] gorptest: 09:26:32.113682 select PassedTraining from PersistentUser [] gorptest: 09:26:32.113727 select Id from PersistentUser [] gorptest: 09:26:32.113772 drop table if exists "PersistentUser"; [] gorptest: 09:26:32.113965 drop table if exists PersistentUser [] gorptest: 09:26:32.114193 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:32.114385 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:32.114487 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:32.114620 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:32.114698 select * from PersistentUser where mykey = ? [1:43] gorptest: 09:26:32.114765 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:32.114833 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 09:26:32.114887 drop table if exists "PersistentUser"; [] gorptest: 09:26:32.115114 drop table if exists PersistentUser [] gorptest: 09:26:32.115344 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 09:26:32.115505 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 09:26:32.115624 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 09:26:32.115723 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 09:26:32.115810 drop table if exists "PersistentUser"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.116129 drop table if exists "invoice_test"; [] gorptest: 09:26:32.116312 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.116336 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.116357 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.116379 drop table if exists "person_test"; [] gorptest: 09:26:32.116401 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.116425 drop table if exists "id_created_test"; [] gorptest: 09:26:32.116448 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.116472 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.116495 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.116519 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.116543 drop table if exists "time_test"; [] gorptest: 09:26:32.116587 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:32.116830 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:32.117010 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.117178 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:32.117346 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:32.117494 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.117691 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.117842 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.117983 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.118128 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.118294 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.118438 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.118570 select * from invoice_test where id=99999 [] gorptest: 09:26:32.118659 select * from invoice_test where id=99999 [] gorptest: 09:26:32.118717 drop table if exists "invoice_test"; [] gorptest: 09:26:32.118865 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.118996 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.119136 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.119300 drop table if exists "person_test"; [] gorptest: 09:26:32.119410 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.119516 drop table if exists "id_created_test"; [] gorptest: 09:26:32.119706 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.119828 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.119950 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.120062 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.120172 drop table if exists "time_test"; [] gorptest: 09:26:32.120287 drop table if exists "id_created_test"; [] gorptest: 09:26:32.120422 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:32.120842 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:32.120922 drop table if exists "InvoicePersonView"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.121291 drop table if exists "invoice_test"; [] gorptest: 09:26:32.121471 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.121494 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.121514 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.121537 drop table if exists "person_test"; [] gorptest: 09:26:32.121559 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.121579 drop table if exists "id_created_test"; [] gorptest: 09:26:32.121649 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.121673 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.121693 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.121721 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.121743 drop table if exists "time_test"; [] gorptest: 09:26:32.121772 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:32.121944 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:32.122134 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.122301 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:32.122473 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:32.122634 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.122769 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.122898 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.123024 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.123157 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.123294 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.123429 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.123584 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392123565834 2:1674120392123565834 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:32.123727 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:32.123807 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120392123565834 2:1674120392123565834 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 09:26:32.123919 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120392123565834 2:1674120392123565834 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 09:26:32.123965 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:32.124043 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 09:26:32.124103 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:32.124160 drop table if exists "invoice_test"; [] gorptest: 09:26:32.124287 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.124401 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.124514 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.124712 drop table if exists "person_test"; [] gorptest: 09:26:32.124836 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.124966 drop table if exists "id_created_test"; [] gorptest: 09:26:32.125089 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.125200 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.125306 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.125413 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.125524 drop table if exists "time_test"; [] gorptest: 09:26:32.125657 drop table if exists "id_created_test"; [] gorptest: 09:26:32.125870 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:32.126206 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 09:26:32.126314 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:32.126418 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:32.126533 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 09:26:32.126663 drop table if exists "TableWithNull"; [] gorptest: 09:26:32.126892 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 09:26:32.127280 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 09:26:32.127401 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 09:26:32.127472 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:32.127538 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 09:26:32.127582 drop table if exists "Invoice"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.128105 drop table if exists "invoice_test"; [] gorptest: 09:26:32.128275 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.128306 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.128327 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.128348 drop table if exists "person_test"; [] gorptest: 09:26:32.128371 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.128399 drop table if exists "id_created_test"; [] gorptest: 09:26:32.128419 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.128441 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.128472 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.128495 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.128515 drop table if exists "time_test"; [] gorptest: 09:26:32.128552 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:32.128748 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:32.128914 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.129081 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:32.129268 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:32.129421 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.129564 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.129757 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.129891 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.130042 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.130188 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.130330 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.130481 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392130462237 2:1674120392130462237 3:"bob" 4:"smith" 5:1] gorptest: 09:26:32.130641 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:32.130741 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:32.130830 drop table if exists "invoice_test"; [] gorptest: 09:26:32.130984 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.131099 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.131206 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.131357 drop table if exists "person_test"; [] gorptest: 09:26:32.131477 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.131575 drop table if exists "id_created_test"; [] gorptest: 09:26:32.131704 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.131803 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.131911 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.132014 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.132114 drop table if exists "time_test"; [] gorptest: 09:26:32.132220 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.132421 drop table if exists "invoice_test"; [] gorptest: 09:26:32.132638 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.132664 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.132686 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.132706 drop table if exists "person_test"; [] gorptest: 09:26:32.132728 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.132766 drop table if exists "id_created_test"; [] gorptest: 09:26:32.132787 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.132807 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.132827 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.132847 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.132866 drop table if exists "time_test"; [] gorptest: 09:26:32.132896 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:32.133093 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:32.133260 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.133405 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:32.133591 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:32.133760 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.133909 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.134042 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.134168 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.134295 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.134438 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.134576 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.134809 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392134790876 2:1674120392134790876 3:"bob" 4:"smith" 5:1] gorptest: 09:26:32.134924 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:32.135014 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674120392134790876 2:1674120392134790876 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 09:26:32.135112 select * from person_test where id = ? [1:1] gorptest: 09:26:32.135215 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 09:26:32.135314 drop table if exists "invoice_test"; [] gorptest: 09:26:32.135443 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.135557 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.135756 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.135933 drop table if exists "person_test"; [] gorptest: 09:26:32.136063 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.136172 drop table if exists "id_created_test"; [] gorptest: 09:26:32.136293 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.136406 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.136519 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.136667 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.136791 drop table if exists "time_test"; [] gorptest: 09:26:32.136912 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.137140 drop table if exists "invoice_test"; [] gorptest: 09:26:32.137319 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.137345 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.137368 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.137391 drop table if exists "person_test"; [] gorptest: 09:26:32.137414 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.137437 drop table if exists "id_created_test"; [] gorptest: 09:26:32.137460 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.137483 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.137505 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.137528 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.137551 drop table if exists "time_test"; [] gorptest: 09:26:32.137583 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:32.137805 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:32.137951 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.138091 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:32.138256 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:32.138392 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.138537 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.138701 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.138863 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.139001 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.139156 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.139306 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.139436 begin; [] gorptest: 09:26:32.139502 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:32.139636 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:32.139665 commit; [] gorptest: 09:26:32.139753 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:32.139826 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:32.139877 drop table if exists "invoice_test"; [] gorptest: 09:26:32.140019 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.140157 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.140272 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.140430 drop table if exists "person_test"; [] gorptest: 09:26:32.140544 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.140728 drop table if exists "id_created_test"; [] gorptest: 09:26:32.140836 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.140946 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.141071 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.141180 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.141287 drop table if exists "time_test"; [] gorptest: 09:26:32.141399 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.141671 drop table if exists "invoice_test"; [] gorptest: 09:26:32.141851 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.141878 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.141902 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.141925 drop table if exists "person_test"; [] gorptest: 09:26:32.141948 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.141970 drop table if exists "id_created_test"; [] gorptest: 09:26:32.141993 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.142015 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.142050 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.142081 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.142106 drop table if exists "time_test"; [] gorptest: 09:26:32.142148 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:32.142330 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:32.142480 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.142649 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:32.142815 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:32.142965 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.143085 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.143214 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.143346 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.143487 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.143657 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.143812 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.143940 begin; [] gorptest: 09:26:32.143986 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:32.144081 select memo from invoice_test [] gorptest: 09:26:32.144129 savepoint "foo" [1:] gorptest: 09:26:32.144141 select memo from invoice_test [] gorptest: 09:26:32.144233 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:32.144285 select memo from invoice_test [] gorptest: 09:26:32.144323 rollback to savepoint "foo" [1:] gorptest: 09:26:32.144339 select memo from invoice_test [] gorptest: 09:26:32.144381 rollback; [] gorptest: 09:26:32.144449 drop table if exists "invoice_test"; [] gorptest: 09:26:32.144579 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.144745 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.144861 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.145014 drop table if exists "person_test"; [] gorptest: 09:26:32.145133 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.145238 drop table if exists "id_created_test"; [] gorptest: 09:26:32.145340 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.145443 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.145547 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.145668 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.145768 drop table if exists "time_test"; [] gorptest: 09:26:32.145873 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.146072 drop table if exists "invoice_test"; [] gorptest: 09:26:32.146239 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.146268 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.146289 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.146310 drop table if exists "person_test"; [] gorptest: 09:26:32.146330 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.146350 drop table if exists "id_created_test"; [] gorptest: 09:26:32.146370 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.146391 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.146420 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.146444 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.146464 drop table if exists "time_test"; [] gorptest: 09:26:32.146493 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:32.146680 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:32.146838 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.146986 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:32.147162 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:32.147307 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.147444 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.147643 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.147809 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.147952 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.148091 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.148248 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.148421 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:32.148548 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:32.148685 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:32.148792 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:32.148885 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:32.148964 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 09:26:32.149039 drop table if exists "invoice_test"; [] gorptest: 09:26:32.149185 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.149292 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.149396 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.149554 drop table if exists "person_test"; [] gorptest: 09:26:32.149752 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.149856 drop table if exists "id_created_test"; [] gorptest: 09:26:32.149969 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.150078 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.150188 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.150302 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.150424 drop table if exists "time_test"; [] gorptest: 09:26:32.150531 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.150775 drop table if exists "invoice_test"; [] gorptest: 09:26:32.150959 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.150986 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.151019 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.151040 drop table if exists "person_test"; [] gorptest: 09:26:32.151061 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.151089 drop table if exists "id_created_test"; [] gorptest: 09:26:32.151111 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.151139 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.151160 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.151181 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.151201 drop table if exists "time_test"; [] gorptest: 09:26:32.151230 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:32.151411 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:32.151579 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.151798 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:32.151962 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:32.152121 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.152256 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.152388 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.152523 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.152682 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.152837 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.152977 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.153117 delete from invoice_test [] gorptest: 09:26:32.153200 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:32.153317 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:32.153418 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:8028549721921280628 2:398543474751140771 3:"random 8973117369698908231" 4:0 5:true 6:1] gorptest: 09:26:32.153509 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:32.153571 select * from invoice_test [] gorptest: 09:26:32.153710 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:32.153820 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 09:26:32.153863 delete from invoice_tag_test [] gorptest: 09:26:32.153960 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:32.154085 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:32.154172 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:4873715948820324803 2:1425026400074770803 3:"random 9036106333028138563" 4:33 5:false 6:1] gorptest: 09:26:32.154269 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:32.154326 select * from invoice_tag_test [] gorptest: 09:26:32.154416 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:32.154520 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 09:26:32.154563 delete from alias_trans_field_test [] gorptest: 09:26:32.154660 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 09:26:32.154750 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:32.154816 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 2891813262173027395" 2:1] gorptest: 09:26:32.154899 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:32.154946 select * from alias_trans_field_test [] gorptest: 09:26:32.155005 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:32.155093 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 09:26:32.155128 drop table if exists "invoice_test"; [] gorptest: 09:26:32.155255 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.155374 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.155490 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.155714 drop table if exists "person_test"; [] gorptest: 09:26:32.155853 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.155966 drop table if exists "id_created_test"; [] gorptest: 09:26:32.156076 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.156202 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.156328 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.156440 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.156545 drop table if exists "time_test"; [] gorptest: 09:26:32.156665 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.156867 drop table if exists "invoice_test"; [] gorptest: 09:26:32.157039 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.157077 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.157099 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.157119 drop table if exists "person_test"; [] gorptest: 09:26:32.157141 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.157169 drop table if exists "id_created_test"; [] gorptest: 09:26:32.157189 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.157211 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.157239 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.157260 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.157281 drop table if exists "time_test"; [] gorptest: 09:26:32.157318 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:32.157499 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:32.157739 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.157887 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:32.158086 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:32.158243 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.158382 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.158534 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.158703 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.158868 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.159016 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.159162 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.159310 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 09:26:32.159412 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:32.159492 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:32.160216 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 09:26:32.160268 drop table if exists "invoice_test"; [] gorptest: 09:26:32.160395 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.160507 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.160653 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.160812 drop table if exists "person_test"; [] gorptest: 09:26:32.160924 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.161029 drop table if exists "id_created_test"; [] gorptest: 09:26:32.161144 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.161247 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.161346 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.161454 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.161574 drop table if exists "time_test"; [] gorptest: 09:26:32.161740 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.161956 drop table if exists "invoice_test"; [] gorptest: 09:26:32.162139 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.162166 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.162188 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.162212 drop table if exists "person_test"; [] gorptest: 09:26:32.162234 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.162256 drop table if exists "id_created_test"; [] gorptest: 09:26:32.162278 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.162301 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.162323 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.162346 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.162368 drop table if exists "time_test"; [] gorptest: 09:26:32.162400 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:32.162568 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:32.162745 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.162884 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:32.163047 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:32.163186 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.163313 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.163451 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.163587 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.163744 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.163888 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.164022 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.164260 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:32.164376 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:32.164487 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:32.164642 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:32.164716 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 09:26:32.164804 drop table if exists "invoice_test"; [] gorptest: 09:26:32.164939 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.165071 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.165192 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.165362 drop table if exists "person_test"; [] gorptest: 09:26:32.165477 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.165655 drop table if exists "id_created_test"; [] gorptest: 09:26:32.165791 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.165909 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.166042 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.166158 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.166283 drop table if exists "time_test"; [] gorptest: 09:26:32.166395 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.166661 drop table if exists "invoice_test"; [] gorptest: 09:26:32.166854 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.166876 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.166905 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.166927 drop table if exists "person_test"; [] gorptest: 09:26:32.166948 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.166979 drop table if exists "id_created_test"; [] gorptest: 09:26:32.167002 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.167033 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.167063 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.167096 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.167116 drop table if exists "time_test"; [] gorptest: 09:26:32.167145 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:32.167315 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:32.167462 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.167638 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:32.167835 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:32.167980 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.168119 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.168246 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.168380 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.168537 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.168729 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.168875 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.169031 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 09:26:32.169171 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:32.169241 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 09:26:32.169334 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 09:26:32.169382 select * from embedded_struct_test [] gorptest: 09:26:32.169445 drop table if exists "invoice_test"; [] gorptest: 09:26:32.169567 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.169706 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.169832 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.169980 drop table if exists "person_test"; [] gorptest: 09:26:32.170088 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.170197 drop table if exists "id_created_test"; [] gorptest: 09:26:32.170303 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.170401 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.170515 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.170676 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.170796 drop table if exists "time_test"; [] gorptest: 09:26:32.170907 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.171147 drop table if exists "invoice_test"; [] gorptest: 09:26:32.171320 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.171369 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.171398 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.171422 drop table if exists "person_test"; [] gorptest: 09:26:32.171445 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.171467 drop table if exists "id_created_test"; [] gorptest: 09:26:32.171490 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.171512 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.171535 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.171568 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.171591 drop table if exists "time_test"; [] gorptest: 09:26:32.171653 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:32.171827 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:32.171964 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.172097 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:32.172270 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:32.172408 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.172545 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.172696 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.172849 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.172995 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.173160 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.173311 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.173472 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 09:26:32.173573 drop table if exists "invoice_test"; [] gorptest: 09:26:32.173731 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.173865 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.173991 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.174152 drop table if exists "person_test"; [] gorptest: 09:26:32.174267 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.174378 drop table if exists "id_created_test"; [] gorptest: 09:26:32.174485 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.174592 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.174761 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.174895 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.175006 drop table if exists "time_test"; [] gorptest: 09:26:32.175120 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.175317 drop table if exists "invoice_test"; [] gorptest: 09:26:32.175476 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.175503 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.175526 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.175548 drop table if exists "person_test"; [] gorptest: 09:26:32.175571 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.175593 drop table if exists "id_created_test"; [] gorptest: 09:26:32.175638 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.175657 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.175677 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.175697 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.175718 drop table if exists "time_test"; [] gorptest: 09:26:32.175755 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:32.175936 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:32.176091 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.176219 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:32.176390 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:32.176551 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.176807 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.176967 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.177168 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.177328 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.177474 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.177627 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.177793 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 09:26:32.177899 drop table if exists "invoice_test"; [] gorptest: 09:26:32.178037 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.178151 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.178277 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.178434 drop table if exists "person_test"; [] gorptest: 09:26:32.178566 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.178710 drop table if exists "id_created_test"; [] gorptest: 09:26:32.178817 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.178912 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.179016 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.179121 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.179233 drop table if exists "time_test"; [] gorptest: 09:26:32.179331 drop table if exists "id_created_test"; [] gorptest: 09:26:32.179495 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 09:26:32.179874 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:32.179975 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:32.180020 select count(*) from TableWithNull [] gorptest: 09:26:32.180059 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:32.180110 select Int64 from TableWithNull where Str='notfound' [] gorptest: 09:26:32.180146 select Int64 from TableWithNull where Str='abc' [] gorptest: 09:26:32.180182 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:32.180238 select min(Float64) from TableWithNull [] gorptest: 09:26:32.180280 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 09:26:32.180323 select Float64 from TableWithNull where Str='notfound' [] gorptest: 09:26:32.180357 select Float64 from TableWithNull where Str='abc' [] gorptest: 09:26:32.180394 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:32.180432 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:32.180467 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:32.180505 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 09:26:32.180547 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 09:26:32.180592 select Str from TableWithNull where Int64=? [1:78] gorptest: 09:26:32.180704 drop table if exists "TableWithNull"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.180996 drop table if exists "invoice_test"; [] gorptest: 09:26:32.181161 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.181184 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.181205 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.181225 drop table if exists "person_test"; [] gorptest: 09:26:32.181248 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.181276 drop table if exists "id_created_test"; [] gorptest: 09:26:32.181296 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.181316 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.181336 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.181356 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.181377 drop table if exists "time_test"; [] gorptest: 09:26:32.181421 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:32.181586 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:32.181763 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.181920 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:32.182094 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:32.182237 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.182388 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.182538 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.182743 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.182886 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.183031 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.183174 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.183334 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392183312929 2:1674120392183312929 3:"Bob" 4:"Smith" 5:1] gorptest: 09:26:32.183456 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392183439017 2:1674120392183439017 3:"Jane" 4:"Smith" 5:1] gorptest: 09:26:32.183584 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392183571982 2:1674120392183571982 3:"Mike" 4:"Smith" 5:1] gorptest: 09:26:32.183707 drop table if exists "invoice_test"; [] gorptest: 09:26:32.183830 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.183958 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.184081 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.184253 drop table if exists "person_test"; [] gorptest: 09:26:32.184380 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.184489 drop table if exists "id_created_test"; [] gorptest: 09:26:32.184650 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.184753 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.184870 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.184979 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.185096 drop table if exists "time_test"; [] gorptest: 09:26:32.185210 drop table if exists "id_created_test"; [] gorptest: 09:26:32.185312 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 09:26:32.185720 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 09:26:32.185823 drop table if exists "string_pk_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.186490 drop table if exists "invoice_test"; [] gorptest: 09:26:32.186723 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.186746 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.186766 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.186786 drop table if exists "person_test"; [] gorptest: 09:26:32.186807 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.186836 drop table if exists "id_created_test"; [] gorptest: 09:26:32.186857 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.186875 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.186894 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.186914 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.186935 drop table if exists "time_test"; [] gorptest: 09:26:32.186969 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:32.187147 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:32.187285 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.187423 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:32.187582 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:32.187777 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.187911 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.188044 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.188195 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.188337 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.188496 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.188662 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.188811 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:55:32.188796175 +0000 UTC] gorptest: 09:26:32.188909 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 08:56:33.188796175 +0000 UTC] gorptest: 09:26:32.189007 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 08:56:32.188796175 +0000 UTC] gorptest: 09:26:32.189077 drop table if exists "invoice_test"; [] gorptest: 09:26:32.189209 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.189321 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.189429 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.189584 drop table if exists "person_test"; [] gorptest: 09:26:32.189745 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.189855 drop table if exists "id_created_test"; [] gorptest: 09:26:32.189964 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.190091 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.190203 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.190327 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.190437 drop table if exists "time_test"; [] gorptest: 09:26:32.190565 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.190777 drop table if exists "invoice_test"; [] gorptest: 09:26:32.190938 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.190964 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.190994 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.191014 drop table if exists "person_test"; [] gorptest: 09:26:32.191037 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.191065 drop table if exists "id_created_test"; [] gorptest: 09:26:32.191086 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.191107 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.191135 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.191157 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.191177 drop table if exists "time_test"; [] gorptest: 09:26:32.191214 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:32.191390 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:32.191536 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.191752 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:32.191942 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:32.192092 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.192220 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.192363 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.192497 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.192687 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.192834 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.192971 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.193157 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392193137827 2:1674120392193137827 3:"bob" 4:"smith" 5:1] gorptest: 09:26:32.193281 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:32.193378 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:32.193461 drop table if exists "invoice_test"; [] gorptest: 09:26:32.193585 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.193727 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.193834 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.193985 drop table if exists "person_test"; [] gorptest: 09:26:32.194101 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.194206 drop table if exists "id_created_test"; [] gorptest: 09:26:32.194309 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.194413 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.194516 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.194648 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.194757 drop table if exists "time_test"; [] gorptest: 09:26:32.194860 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.195060 drop table if exists "invoice_test"; [] gorptest: 09:26:32.195216 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.195241 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.195262 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.195285 drop table if exists "person_test"; [] gorptest: 09:26:32.195318 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.195338 drop table if exists "id_created_test"; [] gorptest: 09:26:32.195357 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.195381 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.195402 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.195431 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.195455 drop table if exists "time_test"; [] gorptest: 09:26:32.195494 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:32.195689 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:32.195844 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.195985 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:32.196155 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:32.196298 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.196443 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.196592 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.196773 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.196917 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.197080 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.197220 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.199295 drop table if exists "invoice_test"; [] gorptest: 09:26:32.199463 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.199486 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.199515 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.199548 drop table if exists "person_test"; [] gorptest: 09:26:32.199570 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.199590 drop table if exists "id_created_test"; [] gorptest: 09:26:32.199670 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.199692 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.199714 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.199736 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.199759 drop table if exists "time_test"; [] gorptest: 09:26:32.199794 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:32.199982 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:32.200128 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.200266 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:32.200447 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:32.200586 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.200756 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.200888 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.201012 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.201156 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.201292 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.201435 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.201589 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392201570178 2:1674120392201570178 3:"bob" 4:"smith" 5:1] gorptest: 09:26:32.201762 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392201742108 2:1674120392201742108 3:"jane" 4:"doe" 5:1] gorptest: 09:26:32.201868 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:32.201931 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 09:26:32.201997 select * from person_test where Id=? [1:1] gorptest: 09:26:32.202065 select * from person_test order by fname asc [] gorptest: 09:26:32.202170 drop table if exists "invoice_test"; [] gorptest: 09:26:32.202316 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.202430 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.202540 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.202734 drop table if exists "person_test"; [] gorptest: 09:26:32.202871 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.202991 drop table if exists "id_created_test"; [] gorptest: 09:26:32.203116 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.203228 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.203361 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.203472 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.203581 drop table if exists "time_test"; [] gorptest: 09:26:32.203752 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.203948 drop table if exists "invoice_test"; [] gorptest: 09:26:32.204108 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.204132 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.204155 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.204179 drop table if exists "person_test"; [] gorptest: 09:26:32.204204 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.204226 drop table if exists "id_created_test"; [] gorptest: 09:26:32.204248 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.204270 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.204292 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.204314 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.204335 drop table if exists "time_test"; [] gorptest: 09:26:32.204366 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:32.204524 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:32.204688 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.204839 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:32.205013 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:32.205168 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.205304 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.205441 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.205654 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.205801 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.205947 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.206101 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.206268 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392206243731 2:1674120392206243731 3:"bob" 4:"smith" 5:1] gorptest: 09:26:32.206390 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 09:26:32.206461 select * from person_test where Id=? [1:1] gorptest: 09:26:32.206552 select FName from person_test where Id=? [1:1] gorptest: 09:26:32.206643 select * from person_test where Id=? [1:1] gorptest: 09:26:32.206731 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 09:26:32.206820 select * from person_test where Id=? [1:-2222] gorptest: 09:26:32.206895 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674120392206882914 2:1674120392206882914 3:"bob" 4:"smith" 5:1] gorptest: 09:26:32.207006 select * from person_test where Fname='bob' [] gorptest: 09:26:32.207109 select * from person_test where Id=-123 [] gorptest: 09:26:32.207145 select * from person_test where Id=-123 [] gorptest: 09:26:32.207175 select * from person_test where Id=-123 [] gorptest: 09:26:32.207204 select * from person_test where Id=-123 [] gorptest: 09:26:32.207253 drop table if exists "invoice_test"; [] gorptest: 09:26:32.207373 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.207501 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.207683 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.207850 drop table if exists "person_test"; [] gorptest: 09:26:32.207969 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.208099 drop table if exists "id_created_test"; [] gorptest: 09:26:32.208209 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.208314 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.208418 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.208521 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.208653 drop table if exists "time_test"; [] gorptest: 09:26:32.208763 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.208932 drop table if exists "invoice_test"; [] gorptest: 09:26:32.209123 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.209146 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.209170 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.209199 drop table if exists "person_test"; [] gorptest: 09:26:32.209222 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.209242 drop table if exists "id_created_test"; [] gorptest: 09:26:32.209264 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.209285 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.209306 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.209326 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.209348 drop table if exists "time_test"; [] gorptest: 09:26:32.209394 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:32.209562 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:32.209757 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.209897 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:32.210061 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:32.210210 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.210341 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.210461 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.210631 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.210765 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.210918 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.211045 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.211189 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 09:26:32.211285 select * from id_created_test where Id=1 [] gorptest: 09:26:32.211348 SELECT *, 1 AS external FROM id_created_test [] gorptest: 09:26:32.211436 drop table if exists "invoice_test"; [] gorptest: 09:26:32.211852 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.211977 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.212106 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.212294 drop table if exists "person_test"; [] gorptest: 09:26:32.212408 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.212515 drop table if exists "id_created_test"; [] gorptest: 09:26:32.212676 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.212787 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.212903 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.213010 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.213126 drop table if exists "time_test"; [] gorptest: 09:26:32.213235 drop table if exists "id_created_test"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.213504 drop table if exists "invoice_test"; [] gorptest: 09:26:32.213715 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.213745 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.213767 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.213788 drop table if exists "person_test"; [] gorptest: 09:26:32.213817 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.213839 drop table if exists "id_created_test"; [] gorptest: 09:26:32.213859 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.213881 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.213910 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.213931 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.213952 drop table if exists "time_test"; [] gorptest: 09:26:32.213987 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:32.214175 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:32.214330 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.214480 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:32.214743 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:32.214904 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.215044 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.215186 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.215342 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.215490 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.215673 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.215810 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.215966 drop table if exists "invoice_test"; [] gorptest: 09:26:32.216134 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.216247 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.216375 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.216562 drop table if exists "person_test"; [] gorptest: 09:26:32.216734 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.216842 drop table if exists "id_created_test"; [] gorptest: 09:26:32.216945 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.217057 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.217162 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.217265 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.217370 drop table if exists "time_test"; [] gorptest: 09:26:32.217471 drop table if exists "id_created_test"; [] gorptest: 09:26:32.217498 drop table if exists "single_column_table"; [] gorptest: 09:26:32.217529 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:32.217705 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:32.217847 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.217982 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:32.218142 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:32.218279 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.218407 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.218550 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.218731 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.218866 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:32.219012 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:32.219162 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.219303 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 09:26:32.219349 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 09:26:32.219504 delete from "invoice_test"; [] gorptest: 09:26:32.219574 delete from "invoice_tag_test"; [] gorptest: 09:26:32.219684 delete from "alias_trans_field_test"; [] gorptest: 09:26:32.219754 delete from "invoice_override_test"; [] gorptest: 09:26:32.219830 delete from "person_test"; [] gorptest: 09:26:32.219900 delete from "ignored_column_test"; [] gorptest: 09:26:32.219968 delete from "id_created_test"; [] gorptest: 09:26:32.220037 delete from "type_conv_test"; [] gorptest: 09:26:32.220106 delete from "embedded_struct_test"; [] gorptest: 09:26:32.220192 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.220275 delete from "embedded_autoincr_test"; [] gorptest: 09:26:32.220348 delete from "time_test"; [] gorptest: 09:26:32.220420 delete from "id_created_test"; [] gorptest: 09:26:32.220492 delete from "single_column_table"; [] gorptest: 09:26:32.220579 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 09:26:32.220682 drop table if exists "invoice_test"; [] gorptest: 09:26:32.220800 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.220910 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.221015 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.221189 drop table if exists "person_test"; [] gorptest: 09:26:32.221299 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.221401 drop table if exists "id_created_test"; [] gorptest: 09:26:32.221499 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.221630 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.221749 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.221859 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.221973 drop table if exists "time_test"; [] gorptest: 09:26:32.222082 drop table if exists "id_created_test"; [] gorptest: 09:26:32.222108 drop table if exists "single_column_table"; [] 2023/01/19 09:26:32 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 09:26:32.222459 drop table if exists "invoice_test"; [] gorptest: 09:26:32.222710 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.222735 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.222756 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.222777 drop table if exists "person_test"; [] gorptest: 09:26:32.222816 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.222839 drop table if exists "id_created_test"; [] gorptest: 09:26:32.222860 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.222883 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.222911 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.222932 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.222954 drop table if exists "time_test"; [] gorptest: 09:26:32.222991 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:32.223176 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:32.223330 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 09:26:32.223481 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:32.223691 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:32.223850 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.223980 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 09:26:32.224129 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 09:26:32.224274 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 09:26:32.224434 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 09:26:32.224657 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 09:26:32.224832 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 09:26:32.225006 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:32.225131 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:32.225226 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 09:26:32.225315 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 09:26:32.225402 begin; [] gorptest: 09:26:32.225439 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 09:26:32.225520 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:32.225815 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:32.225914 commit; [] gorptest: 09:26:32.225999 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 09:26:32.226086 drop table if exists "invoice_test"; [] gorptest: 09:26:32.226262 drop table if exists "invoice_tag_test"; [] gorptest: 09:26:32.226378 drop table if exists "alias_trans_field_test"; [] gorptest: 09:26:32.226478 drop table if exists "invoice_override_test"; [] gorptest: 09:26:32.226709 drop table if exists "person_test"; [] gorptest: 09:26:32.226818 drop table if exists "ignored_column_test"; [] gorptest: 09:26:32.226938 drop table if exists "id_created_test"; [] gorptest: 09:26:32.227039 drop table if exists "type_conv_test"; [] gorptest: 09:26:32.227144 drop table if exists "embedded_struct_test"; [] gorptest: 09:26:32.227243 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 09:26:32.227360 drop table if exists "embedded_autoincr_test"; [] gorptest: 09:26:32.227466 drop table if exists "time_test"; [] gorptest: 09:26:32.227562 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.144s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-4.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AMohrh + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386/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.i386/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.w3RtyQ + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386/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.i386/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.i386/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.i386 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.LtVMyi + 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.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.IqS1mB + 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