Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1674123814.813796/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.8dq8si7a:/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.8dq8si7a:/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', 'e5e4f605903f47278a3792ac1712ca1c', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1674123814.813796/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8dq8si7a:/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 ppc64le --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=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 ppc64le --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1674123814.813796/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.8dq8si7a:/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.8dq8si7a:/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', '86d0983d776241eca4593ca60f0d995a', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1674123814.813796/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8dq8si7a:/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 ppc64le --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kdbRRj + 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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gorp-1-fix-format-string.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9hIa0T + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le + 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.ppc64le -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 realpath: CONTRIBUTING.md: No such file or directory +++ sort -u ++ 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.ppc64le/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le/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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lBZnRo + /usr/lib/rpm/redhat/brp-python-hardlink + 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.ppc64le -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 10:30:06 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: 10:30:06.629558 drop table if exists "invoice_test"; [] gorptest: 10:30:06.629927 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.629956 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.629981 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.630006 drop table if exists "person_test"; [] gorptest: 10:30:06.630031 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.630055 drop table if exists "id_created_test"; [] gorptest: 10:30:06.630080 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.630105 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.630130 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.630154 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.630179 drop table if exists "time_test"; [] gorptest: 10:30:06.630211 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.630483 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: 10:30:06.630626 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.630767 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.630940 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.631078 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.631207 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.631341 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.631475 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.631611 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.631748 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.631885 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.632027 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: 10:30:06.632065 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: 10:30:06.632097 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.632131 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: 10:30:06.632165 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: 10:30:06.632198 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.632228 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.632260 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.632292 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.632324 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.632359 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: 10:30:06.632390 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.632421 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:30:06.632450 drop table if exists "invoice_test"; [] gorptest: 10:30:06.632597 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.632716 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.632832 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.632977 drop table if exists "person_test"; [] gorptest: 10:30:06.633098 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.633211 drop table if exists "id_created_test"; [] gorptest: 10:30:06.633325 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.633439 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.633553 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.633670 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.633783 drop table if exists "time_test"; [] gorptest: 10:30:06.633906 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.634049 drop table if exists "invoice_test"; [] gorptest: 10:30:06.634199 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.634225 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.634251 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.634276 drop table if exists "person_test"; [] gorptest: 10:30:06.634301 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.634326 drop table if exists "id_created_test"; [] gorptest: 10:30:06.634351 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.634375 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.634400 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.634426 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.634451 drop table if exists "time_test"; [] gorptest: 10:30:06.634480 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.634633 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: 10:30:06.634778 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.634916 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.635084 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.635227 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.635362 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.635498 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.635750 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.635890 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.636032 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.636173 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.636317 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: 10:30:06.636356 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: 10:30:06.636389 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.636423 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: 10:30:06.636457 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: 10:30:06.636489 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.636519 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.636550 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.636582 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.636614 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.636685 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: 10:30:06.636720 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.636751 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:30:06.636811 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206636792529 2:1674124206636792529 3:"Bob" 4:"Smith" 5:1] gorptest: 10:30:06.636931 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 10:30:06.637030 delete from "invoice_test"; [] gorptest: 10:30:06.637109 delete from "invoice_tag_test"; [] gorptest: 10:30:06.637188 delete from "alias_trans_field_test"; [] gorptest: 10:30:06.637266 delete from "invoice_override_test"; [] gorptest: 10:30:06.637349 delete from "person_test"; [] gorptest: 10:30:06.637427 delete from "ignored_column_test"; [] gorptest: 10:30:06.637505 delete from "id_created_test"; [] gorptest: 10:30:06.637583 delete from "type_conv_test"; [] gorptest: 10:30:06.637660 delete from "embedded_struct_test"; [] gorptest: 10:30:06.637738 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.637816 delete from "embedded_autoincr_test"; [] gorptest: 10:30:06.637894 delete from "time_test"; [] gorptest: 10:30:06.637972 delete from "id_created_test"; [] gorptest: 10:30:06.638052 SELECT * FROM person_test [] gorptest: 10:30:06.638116 SELECT * FROM invoice_test [] gorptest: 10:30:06.638169 drop table if exists "invoice_test"; [] gorptest: 10:30:06.638291 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.638409 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.638524 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.638669 drop table if exists "person_test"; [] gorptest: 10:30:06.638792 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.638906 drop table if exists "id_created_test"; [] gorptest: 10:30:06.639021 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.639134 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.639248 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.639361 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.639474 drop table if exists "time_test"; [] gorptest: 10:30:06.639587 drop table if exists "id_created_test"; [] gorptest: 10:30:06.639675 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 10:30:06.639959 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 10:30:06 +0000 UTC] gorptest: 10:30:06.640060 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 10:30:06.640113 drop table if exists "WithCustomDate"; [] gorptest: 10:30:06.640294 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:30:06.640559 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:30:06.640696 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:30:06.640833 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 10:30:06.640932 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 10:30:06.641030 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 10:30:06.641122 drop table if exists "PersonUInt64"; [] gorptest: 10:30:06.641245 drop table if exists "PersonUInt32"; [] gorptest: 10:30:06.641364 drop table if exists "PersonUInt16"; [] gorptest: 10:30:06.641572 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 10:30:06.641899 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 10:30:06.642009 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 10:30:06.642065 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 10:30:06.642115 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 10:30:06.642214 drop table if exists "UniqueColumns"; [] gorptest: 10:30:06.642454 drop table if exists PersistentUser [] gorptest: 10:30:06.642615 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:30:06.642764 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:30:06.642877 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 10:30:06.642927 select * from PersistentUser [] gorptest: 10:30:06.642991 select * from PersistentUser [] gorptest: 10:30:06.643042 select * from PersistentUser [] gorptest: 10:30:06.643091 select Id from PersistentUser [] gorptest: 10:30:06.643129 select mykey from PersistentUser [] gorptest: 10:30:06.643165 select PassedTraining from PersistentUser [] gorptest: 10:30:06.643201 select Id from PersistentUser [] gorptest: 10:30:06.643237 drop table if exists "PersistentUser"; [] gorptest: 10:30:06.643399 drop table if exists PersistentUser [] gorptest: 10:30:06.643555 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:30:06.643703 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:30:06.643795 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:30:06.643893 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:30:06.643950 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:30:06.644008 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:30:06.644075 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 10:30:06.644127 drop table if exists "PersistentUser"; [] gorptest: 10:30:06.644290 drop table if exists PersistentUser [] gorptest: 10:30:06.644447 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:30:06.644596 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:30:06.644688 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:30:06.644785 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:30:06.644844 drop table if exists "PersistentUser"; [] 2023/01/19 10:30:06 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: 10:30:06.645050 drop table if exists "invoice_test"; [] gorptest: 10:30:06.645194 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.645220 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.645245 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.645279 drop table if exists "person_test"; [] gorptest: 10:30:06.645306 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.645330 drop table if exists "id_created_test"; [] gorptest: 10:30:06.645355 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.645379 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.645404 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.645429 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.645453 drop table if exists "time_test"; [] gorptest: 10:30:06.645485 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.645651 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: 10:30:06.645795 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.645933 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.646100 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.646244 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.646379 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.646514 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.647344 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.647509 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.647655 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.647797 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.647936 select * from invoice_test where id=99999 [] gorptest: 10:30:06.647994 select * from invoice_test where id=99999 [] gorptest: 10:30:06.648045 drop table if exists "invoice_test"; [] gorptest: 10:30:06.648163 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.648281 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.648396 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.648551 drop table if exists "person_test"; [] gorptest: 10:30:06.648667 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.648780 drop table if exists "id_created_test"; [] gorptest: 10:30:06.648909 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.649022 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.649135 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.649248 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.649361 drop table if exists "time_test"; [] gorptest: 10:30:06.649472 drop table if exists "id_created_test"; [] gorptest: 10:30:06.649589 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 10:30:06.649919 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: 10:30:06.649976 drop table if exists "InvoicePersonView"; [] 2023/01/19 10:30:06 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: 10:30:06.650206 drop table if exists "invoice_test"; [] gorptest: 10:30:06.650352 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.650378 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.650403 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.650428 drop table if exists "person_test"; [] gorptest: 10:30:06.650453 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.650477 drop table if exists "id_created_test"; [] gorptest: 10:30:06.650502 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.650527 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.650552 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.650577 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.650601 drop table if exists "time_test"; [] gorptest: 10:30:06.650631 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.650782 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: 10:30:06.650926 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.651066 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.651235 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.651378 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.651511 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.651647 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.651787 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.651927 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.652067 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.652209 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.652355 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206652342028 2:1674124206652342028 3:"Bob" 4:"Smith" 5:1] gorptest: 10:30:06.652462 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:06.652531 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674124206652342028 2:1674124206652342028 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 10:30:06.652634 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674124206652342028 2:1674124206652342028 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 10:30:06.652681 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:06.652739 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 10:30:06.652779 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:06.652829 drop table if exists "invoice_test"; [] gorptest: 10:30:06.652944 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.653062 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.653176 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.653317 drop table if exists "person_test"; [] gorptest: 10:30:06.653437 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.653557 drop table if exists "id_created_test"; [] gorptest: 10:30:06.653670 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.653783 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.653895 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.654009 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.654122 drop table if exists "time_test"; [] gorptest: 10:30:06.654235 drop table if exists "id_created_test"; [] gorptest: 10:30:06.654362 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:30:06.654637 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 10:30:06.654729 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:30:06.654806 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: 10:30:06.654904 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:30:06.654962 drop table if exists "TableWithNull"; [] gorptest: 10:30:06.655135 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 10:30:06.655444 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 10:30:06.655565 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 10:30:06.655622 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 10:30:06.655675 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 10:30:06.655719 drop table if exists "Invoice"; [] 2023/01/19 10:30:06 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: 10:30:06.655963 drop table if exists "invoice_test"; [] gorptest: 10:30:06.656109 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.656135 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.656161 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.656186 drop table if exists "person_test"; [] gorptest: 10:30:06.656211 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.656236 drop table if exists "id_created_test"; [] gorptest: 10:30:06.656261 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.656285 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.656310 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.656336 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.656360 drop table if exists "time_test"; [] gorptest: 10:30:06.656391 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.656542 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: 10:30:06.656757 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.656898 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.657066 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.657209 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.657344 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.657481 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.657621 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.657761 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.657902 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.658043 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.658189 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206658176871 2:1674124206658176871 3:"bob" 4:"smith" 5:1] gorptest: 10:30:06.658299 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 10:30:06.658395 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:30:06.658464 drop table if exists "invoice_test"; [] gorptest: 10:30:06.658585 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.658703 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.658818 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.658959 drop table if exists "person_test"; [] gorptest: 10:30:06.659079 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.659193 drop table if exists "id_created_test"; [] gorptest: 10:30:06.659306 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.659419 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.659532 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.659645 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.659758 drop table if exists "time_test"; [] gorptest: 10:30:06.659869 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.659997 drop table if exists "invoice_test"; [] gorptest: 10:30:06.660145 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.660171 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.660196 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.660221 drop table if exists "person_test"; [] gorptest: 10:30:06.660246 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.660270 drop table if exists "id_created_test"; [] gorptest: 10:30:06.660296 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.660320 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.660345 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.660370 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.660394 drop table if exists "time_test"; [] gorptest: 10:30:06.660424 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.660576 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: 10:30:06.660722 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.660860 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.661030 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.661173 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.661309 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.661445 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.661584 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.661725 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.661866 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.662006 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.662154 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206662139693 2:1674124206662139693 3:"bob" 4:"smith" 5:1] gorptest: 10:30:06.662259 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:06.662326 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674124206662139693 2:1674124206662139693 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 10:30:06.662422 select * from person_test where id = ? [1:1] gorptest: 10:30:06.662497 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 10:30:06.662585 drop table if exists "invoice_test"; [] gorptest: 10:30:06.662701 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.662818 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.662932 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.663076 drop table if exists "person_test"; [] gorptest: 10:30:06.663196 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.663309 drop table if exists "id_created_test"; [] gorptest: 10:30:06.663422 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.663535 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.663647 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.663760 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.663872 drop table if exists "time_test"; [] gorptest: 10:30:06.663984 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.664101 drop table if exists "invoice_test"; [] gorptest: 10:30:06.664246 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.664272 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.664297 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.664322 drop table if exists "person_test"; [] gorptest: 10:30:06.664356 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.664381 drop table if exists "id_created_test"; [] gorptest: 10:30:06.664405 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.664430 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.664456 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.664481 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.664506 drop table if exists "time_test"; [] gorptest: 10:30:06.664535 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.664686 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: 10:30:06.664831 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.664969 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.665137 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.665280 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.665414 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.665557 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.665697 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.665837 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.665979 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.666120 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.666254 begin; [] gorptest: 10:30:06.666281 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 10:30:06.666357 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 10:30:06.666380 commit; [] gorptest: 10:30:06.666429 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:06.666486 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 10:30:06.666538 drop table if exists "invoice_test"; [] gorptest: 10:30:06.685611 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.685766 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.685884 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.686044 drop table if exists "person_test"; [] gorptest: 10:30:06.686160 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.686274 drop table if exists "id_created_test"; [] gorptest: 10:30:06.686387 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.686499 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.686612 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.686934 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.687150 drop table if exists "time_test"; [] gorptest: 10:30:06.687355 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.687639 drop table if exists "invoice_test"; [] gorptest: 10:30:06.687935 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.687982 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.688029 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.688076 drop table if exists "person_test"; [] gorptest: 10:30:06.688123 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.688169 drop table if exists "id_created_test"; [] gorptest: 10:30:06.688215 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.688261 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.688310 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.688357 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.688403 drop table if exists "time_test"; [] gorptest: 10:30:06.688464 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.688744 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: 10:30:06.689008 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.689258 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.689581 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.689875 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.690128 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.690377 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.690632 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.690885 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.691153 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.691412 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.691657 begin; [] gorptest: 10:30:06.691711 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 10:30:06.691837 select memo from invoice_test [] gorptest: 10:30:06.691887 savepoint "foo" [1:] gorptest: 10:30:06.691906 select memo from invoice_test [] gorptest: 10:30:06.691970 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 10:30:06.692021 select memo from invoice_test [] gorptest: 10:30:06.692059 rollback to savepoint "foo" [1:] gorptest: 10:30:06.692083 select memo from invoice_test [] gorptest: 10:30:06.692119 rollback; [] gorptest: 10:30:06.692195 drop table if exists "invoice_test"; [] gorptest: 10:30:06.692400 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.692611 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.692817 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.693071 drop table if exists "person_test"; [] gorptest: 10:30:06.693279 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.693525 drop table if exists "id_created_test"; [] gorptest: 10:30:06.693771 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.693981 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.694188 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.694396 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.694675 drop table if exists "time_test"; [] gorptest: 10:30:06.694879 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.695111 drop table if exists "invoice_test"; [] gorptest: 10:30:06.695376 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.695423 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.695470 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.695520 drop table if exists "person_test"; [] gorptest: 10:30:06.727066 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.727112 drop table if exists "id_created_test"; [] gorptest: 10:30:06.727152 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.727194 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.727241 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.727297 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.727377 drop table if exists "time_test"; [] gorptest: 10:30:06.727439 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.727780 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: 10:30:06.728043 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.728196 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.728369 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.728512 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.728646 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.728782 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.728922 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.729062 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.729204 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.729345 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.729501 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 10:30:06.729610 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 10:30:06.729722 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 10:30:06.729819 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 10:30:06.729916 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:06.730002 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 10:30:06.730085 drop table if exists "invoice_test"; [] gorptest: 10:30:06.730208 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.730325 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.730439 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.730567 drop table if exists "person_test"; [] gorptest: 10:30:06.730681 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.730795 drop table if exists "id_created_test"; [] gorptest: 10:30:06.730908 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.731020 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.731134 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.731249 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.731361 drop table if exists "time_test"; [] gorptest: 10:30:06.731473 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.731629 drop table if exists "invoice_test"; [] gorptest: 10:30:06.731788 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.731814 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.731839 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.731863 drop table if exists "person_test"; [] gorptest: 10:30:06.731888 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.731912 drop table if exists "id_created_test"; [] gorptest: 10:30:06.731936 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.731961 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.731985 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.732010 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.732055 drop table if exists "time_test"; [] gorptest: 10:30:06.732085 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.732241 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: 10:30:06.732386 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.732524 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.732693 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.732836 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.732970 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.733105 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.733247 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.733388 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.733531 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.733673 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.733809 delete from invoice_test [] gorptest: 10:30:06.733899 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 10:30:06.734006 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:06.734102 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:9085827120243104821 2:1853861552511796407 3:"random 6105747702798250280" 4:0 5:true 6:1] gorptest: 10:30:06.734196 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:06.734258 select * from invoice_test [] gorptest: 10:30:06.734331 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:06.734418 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:06.734458 delete from invoice_tag_test [] gorptest: 10:30:06.734547 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: 10:30:06.734650 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:06.734716 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:9019779369877686803 2:4331898978417630514 3:"random 1935558554267377662" 4:33 5:false 6:1] gorptest: 10:30:06.734809 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:06.734863 select * from invoice_tag_test [] gorptest: 10:30:06.734936 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:06.735022 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:06.735063 delete from alias_trans_field_test [] gorptest: 10:30:06.735145 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 10:30:06.735241 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:06.735290 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 4234022715566790306" 2:1] gorptest: 10:30:06.735377 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:06.735420 select * from alias_trans_field_test [] gorptest: 10:30:06.735469 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:06.735563 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:06.735599 drop table if exists "invoice_test"; [] gorptest: 10:30:06.735721 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.735844 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.735964 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.736092 drop table if exists "person_test"; [] gorptest: 10:30:06.736207 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.736321 drop table if exists "id_created_test"; [] gorptest: 10:30:06.736436 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.736549 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.736690 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.736833 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.736947 drop table if exists "time_test"; [] gorptest: 10:30:06.737059 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.737178 drop table if exists "invoice_test"; [] gorptest: 10:30:06.737338 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.737364 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.737388 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.737413 drop table if exists "person_test"; [] gorptest: 10:30:06.737438 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.737463 drop table if exists "id_created_test"; [] gorptest: 10:30:06.737487 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.737511 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.737536 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.737561 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.737585 drop table if exists "time_test"; [] gorptest: 10:30:06.737615 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.737767 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: 10:30:06.737911 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.738049 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.738215 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.738357 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.738491 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.738635 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.738778 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.738917 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.739059 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.739200 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.739339 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 10:30:06.739443 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:30:06.739490 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:30:06.739574 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:30:06.739610 drop table if exists "invoice_test"; [] gorptest: 10:30:06.739724 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.739842 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.739958 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.740085 drop table if exists "person_test"; [] gorptest: 10:30:06.740199 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.740319 drop table if exists "id_created_test"; [] gorptest: 10:30:06.740431 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.740545 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.740658 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.740772 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.740884 drop table if exists "time_test"; [] gorptest: 10:30:06.740995 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.741133 drop table if exists "invoice_test"; [] gorptest: 10:30:06.741279 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.741305 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.741330 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.741354 drop table if exists "person_test"; [] gorptest: 10:30:06.741379 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.741403 drop table if exists "id_created_test"; [] gorptest: 10:30:06.741427 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.741452 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.741476 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.741501 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.741525 drop table if exists "time_test"; [] gorptest: 10:30:06.741556 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.741709 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: 10:30:06.741853 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.741992 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.742163 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.742306 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.742440 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.742576 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.742715 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.742863 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.743008 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.743149 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.743328 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: 10:30:06.743429 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:30:06.743501 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: 10:30:06.743592 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:30:06.743647 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:30:06.743730 drop table if exists "invoice_test"; [] gorptest: 10:30:06.743848 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.743967 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.744082 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.744209 drop table if exists "person_test"; [] gorptest: 10:30:06.744324 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.744437 drop table if exists "id_created_test"; [] gorptest: 10:30:06.744550 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.744669 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.744783 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.744899 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.745012 drop table if exists "time_test"; [] gorptest: 10:30:06.745124 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.745249 drop table if exists "invoice_test"; [] gorptest: 10:30:06.745398 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.745424 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.745449 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.745474 drop table if exists "person_test"; [] gorptest: 10:30:06.745500 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.745539 drop table if exists "id_created_test"; [] gorptest: 10:30:06.745564 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.745590 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.745615 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.745641 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.745665 drop table if exists "time_test"; [] gorptest: 10:30:06.745695 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.745848 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: 10:30:06.745993 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.746134 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.746302 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.746445 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.746579 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.747044 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.747305 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.747561 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.747826 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.748086 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.748416 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 10:30:06.748606 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:30:06.748714 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 10:30:06.748892 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:30:06.748969 select * from embedded_struct_test [] gorptest: 10:30:06.749063 drop table if exists "invoice_test"; [] gorptest: 10:30:06.749306 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.749528 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.749730 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.749960 drop table if exists "person_test"; [] gorptest: 10:30:06.750169 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.750374 drop table if exists "id_created_test"; [] gorptest: 10:30:06.750571 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.750783 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.750986 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.751197 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.751394 drop table if exists "time_test"; [] gorptest: 10:30:06.751599 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.751854 drop table if exists "invoice_test"; [] gorptest: 10:30:06.752120 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.752170 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.752218 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.752265 drop table if exists "person_test"; [] gorptest: 10:30:06.752311 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.752357 drop table if exists "id_created_test"; [] gorptest: 10:30:06.752402 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.752443 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.752484 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.752526 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.752573 drop table if exists "time_test"; [] gorptest: 10:30:06.752633 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.752914 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: 10:30:06.753180 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.753426 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.753734 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.753999 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.754247 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.754494 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.754749 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.755010 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.755272 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.755536 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.755808 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 10:30:06.756102 drop table if exists "invoice_test"; [] gorptest: 10:30:06.756318 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.756531 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.756778 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.757018 drop table if exists "person_test"; [] gorptest: 10:30:06.757234 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.757465 drop table if exists "id_created_test"; [] gorptest: 10:30:06.757678 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.757885 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.758082 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.758306 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.758517 drop table if exists "time_test"; [] gorptest: 10:30:06.758710 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.758947 drop table if exists "invoice_test"; [] gorptest: 10:30:06.759282 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.759329 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.759377 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.759426 drop table if exists "person_test"; [] gorptest: 10:30:06.759473 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.759518 drop table if exists "id_created_test"; [] gorptest: 10:30:06.759560 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.759603 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.759645 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.759688 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.759734 drop table if exists "time_test"; [] gorptest: 10:30:06.759794 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.760078 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: 10:30:06.760345 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.760600 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.760915 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.761182 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.761429 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.761680 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.761941 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.762199 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.762462 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.762718 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.763021 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 10:30:06.763197 drop table if exists "invoice_test"; [] gorptest: 10:30:06.763401 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.763618 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.763810 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.764048 drop table if exists "person_test"; [] gorptest: 10:30:06.764250 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.764465 drop table if exists "id_created_test"; [] gorptest: 10:30:06.764664 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.764867 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.765078 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.765268 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.765492 drop table if exists "time_test"; [] gorptest: 10:30:06.767032 drop table if exists "id_created_test"; [] gorptest: 10:30:06.767207 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:30:06.767728 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: 10:30:06.767885 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:30:06.767947 select count(*) from TableWithNull [] gorptest: 10:30:06.768006 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:30:06.768073 select Int64 from TableWithNull where Str='notfound' [] gorptest: 10:30:06.768135 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:30:06.768198 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:30:06.768258 select min(Float64) from TableWithNull [] gorptest: 10:30:06.768320 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:30:06.768382 select Float64 from TableWithNull where Str='notfound' [] gorptest: 10:30:06.768440 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:30:06.768508 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:30:06.768572 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:30:06.768633 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:30:06.768697 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:30:06.768771 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 10:30:06.768833 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:30:06.768890 drop table if exists "TableWithNull"; [] 2023/01/19 10:30:06 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: 10:30:06.769231 drop table if exists "invoice_test"; [] gorptest: 10:30:06.769480 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.769526 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.769571 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.769617 drop table if exists "person_test"; [] gorptest: 10:30:06.769661 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.769707 drop table if exists "id_created_test"; [] gorptest: 10:30:06.769750 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.769795 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.769839 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.769884 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.769929 drop table if exists "time_test"; [] gorptest: 10:30:06.769988 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.770288 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: 10:30:06.770574 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.770823 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.771117 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.771367 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.771598 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.771834 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.772081 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.772343 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.772593 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.772839 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.773118 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206773075088 2:1674124206773075088 3:"Bob" 4:"Smith" 5:1] gorptest: 10:30:06.773306 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206773289978 2:1674124206773289978 3:"Jane" 4:"Smith" 5:1] gorptest: 10:30:06.773495 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206773474882 2:1674124206773474882 3:"Mike" 4:"Smith" 5:1] gorptest: 10:30:06.773662 drop table if exists "invoice_test"; [] gorptest: 10:30:06.773857 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.774058 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.774292 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.774526 drop table if exists "person_test"; [] gorptest: 10:30:06.774738 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.774935 drop table if exists "id_created_test"; [] gorptest: 10:30:06.775137 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.775317 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.775519 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.776528 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.776773 drop table if exists "time_test"; [] gorptest: 10:30:06.777094 drop table if exists "id_created_test"; [] gorptest: 10:30:06.777263 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 10:30:06.777726 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 10:30:06.777866 drop table if exists "string_pk_test"; [] 2023/01/19 10:30:06 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: 10:30:06.778698 drop table if exists "invoice_test"; [] gorptest: 10:30:06.778944 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.778990 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.779034 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.779080 drop table if exists "person_test"; [] gorptest: 10:30:06.779124 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.779168 drop table if exists "id_created_test"; [] gorptest: 10:30:06.779213 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.779257 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.779304 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.779348 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.779393 drop table if exists "time_test"; [] gorptest: 10:30:06.779448 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.779712 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: 10:30:06.779958 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.780196 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.780487 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.780735 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.780963 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.781196 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.781436 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.781675 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.781919 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.782209 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.782464 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 09:59:06.782439123 +0000 UTC] gorptest: 10:30:06.782635 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 10:00:07.782439123 +0000 UTC] gorptest: 10:30:06.782804 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 10:00:06.782439123 +0000 UTC] gorptest: 10:30:06.782890 drop table if exists "invoice_test"; [] gorptest: 10:30:06.783087 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.783281 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.783471 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.783678 drop table if exists "person_test"; [] gorptest: 10:30:06.783868 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.784059 drop table if exists "id_created_test"; [] gorptest: 10:30:06.784260 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.784452 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.784647 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.784853 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.785043 drop table if exists "time_test"; [] gorptest: 10:30:06.785241 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.785466 drop table if exists "invoice_test"; [] gorptest: 10:30:06.785725 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.785770 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.785815 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.785860 drop table if exists "person_test"; [] gorptest: 10:30:06.785904 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.785949 drop table if exists "id_created_test"; [] gorptest: 10:30:06.785992 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.786036 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.786080 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.786125 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.786169 drop table if exists "time_test"; [] gorptest: 10:30:06.786224 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.786482 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: 10:30:06.807180 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.807450 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.807745 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.807985 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.808221 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.808468 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.808715 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.808962 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.809217 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.809465 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.809723 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206809697127 2:1674124206809697127 3:"bob" 4:"smith" 5:1] gorptest: 10:30:06.809920 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 10:30:06.810091 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:30:06.810230 drop table if exists "invoice_test"; [] gorptest: 10:30:06.810483 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.810684 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.810880 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.811102 drop table if exists "person_test"; [] gorptest: 10:30:06.811309 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.811519 drop table if exists "id_created_test"; [] gorptest: 10:30:06.811714 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.811897 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.812101 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.812293 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.812476 drop table if exists "time_test"; [] gorptest: 10:30:06.812678 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.812909 drop table if exists "invoice_test"; [] gorptest: 10:30:06.813091 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.813118 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.813143 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.813168 drop table if exists "person_test"; [] gorptest: 10:30:06.813192 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.813216 drop table if exists "id_created_test"; [] gorptest: 10:30:06.813241 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.813265 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.813290 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.813315 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.813339 drop table if exists "time_test"; [] gorptest: 10:30:06.813369 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.813531 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: 10:30:06.813676 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.813817 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.813997 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.814144 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.814278 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.814414 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.814555 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.814695 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.814837 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.814978 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 10:30:06 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: 10:30:06.816797 drop table if exists "invoice_test"; [] gorptest: 10:30:06.816944 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.816970 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.816996 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.817023 drop table if exists "person_test"; [] gorptest: 10:30:06.817049 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.817074 drop table if exists "id_created_test"; [] gorptest: 10:30:06.817098 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.817124 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.817150 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.817175 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.817200 drop table if exists "time_test"; [] gorptest: 10:30:06.817230 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.817384 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: 10:30:06.817529 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.817667 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.817834 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.817977 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.818111 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.818249 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.818389 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.818530 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.818672 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.818816 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.818965 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206818951468 2:1674124206818951468 3:"bob" 4:"smith" 5:1] gorptest: 10:30:06.819081 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206819073340 2:1674124206819073340 3:"jane" 4:"doe" 5:1] gorptest: 10:30:06.819186 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:06.819243 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 10:30:06.819301 select * from person_test where Id=? [1:1] gorptest: 10:30:06.819362 select * from person_test order by fname asc [] gorptest: 10:30:06.819440 drop table if exists "invoice_test"; [] gorptest: 10:30:06.819555 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.819672 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.819787 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.819914 drop table if exists "person_test"; [] gorptest: 10:30:06.820036 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.820150 drop table if exists "id_created_test"; [] gorptest: 10:30:06.820263 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.820375 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.820489 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.820603 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.820716 drop table if exists "time_test"; [] gorptest: 10:30:06.820827 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.820947 drop table if exists "invoice_test"; [] gorptest: 10:30:06.821092 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.821117 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.821142 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.821167 drop table if exists "person_test"; [] gorptest: 10:30:06.821192 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.821216 drop table if exists "id_created_test"; [] gorptest: 10:30:06.821241 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.821265 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.821290 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.821315 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.821341 drop table if exists "time_test"; [] gorptest: 10:30:06.821371 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.821522 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: 10:30:06.821669 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.821807 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.821974 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.822117 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.822252 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.822388 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.822527 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.822667 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.822808 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.822950 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.823096 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206823083980 2:1674124206823083980 3:"bob" 4:"smith" 5:1] gorptest: 10:30:06.823201 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:06.823257 select * from person_test where Id=? [1:1] gorptest: 10:30:06.823330 select FName from person_test where Id=? [1:1] gorptest: 10:30:06.823369 select * from person_test where Id=? [1:1] gorptest: 10:30:06.823439 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 10:30:06.823495 select * from person_test where Id=? [1:-2222] gorptest: 10:30:06.823554 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124206823546265 2:1674124206823546265 3:"bob" 4:"smith" 5:1] gorptest: 10:30:06.823651 select * from person_test where Fname='bob' [] gorptest: 10:30:06.823739 select * from person_test where Id=-123 [] gorptest: 10:30:06.823775 select * from person_test where Id=-123 [] gorptest: 10:30:06.823812 select * from person_test where Id=-123 [] gorptest: 10:30:06.823846 select * from person_test where Id=-123 [] gorptest: 10:30:06.823881 drop table if exists "invoice_test"; [] gorptest: 10:30:06.823998 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.824116 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.824230 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.824359 drop table if exists "person_test"; [] gorptest: 10:30:06.824479 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.824593 drop table if exists "id_created_test"; [] gorptest: 10:30:06.824706 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.824820 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.824933 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.825046 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.825159 drop table if exists "time_test"; [] gorptest: 10:30:06.825270 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.825388 drop table if exists "invoice_test"; [] gorptest: 10:30:06.825539 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.825566 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.825591 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.825616 drop table if exists "person_test"; [] gorptest: 10:30:06.825641 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.825665 drop table if exists "id_created_test"; [] gorptest: 10:30:06.825690 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.825738 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.825764 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.825790 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.825815 drop table if exists "time_test"; [] gorptest: 10:30:06.825845 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.825998 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: 10:30:06.826143 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.826281 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.826448 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.826590 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.826965 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.827226 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.827509 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.827756 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.828023 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.828280 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.828530 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 10:30:06.828701 select * from id_created_test where Id=1 [] gorptest: 10:30:06.828792 SELECT *, 1 AS external FROM id_created_test [] gorptest: 10:30:06.828920 drop table if exists "invoice_test"; [] gorptest: 10:30:06.829593 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.829823 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.830039 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.830284 drop table if exists "person_test"; [] gorptest: 10:30:06.830500 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.830698 drop table if exists "id_created_test"; [] gorptest: 10:30:06.830923 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.831129 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.831329 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.831540 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.831746 drop table if exists "time_test"; [] gorptest: 10:30:06.831955 drop table if exists "id_created_test"; [] 2023/01/19 10:30:06 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: 10:30:06.832266 drop table if exists "invoice_test"; [] gorptest: 10:30:06.832534 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.832577 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.832622 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.832671 drop table if exists "person_test"; [] gorptest: 10:30:06.832717 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.832763 drop table if exists "id_created_test"; [] gorptest: 10:30:06.832810 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.832855 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.832901 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.832950 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.832996 drop table if exists "time_test"; [] gorptest: 10:30:06.833053 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.833329 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: 10:30:06.833591 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.833844 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.834154 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.834411 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.834655 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.834905 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.835164 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.835425 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.835811 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.836069 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.836314 drop table if exists "invoice_test"; [] gorptest: 10:30:06.836539 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.836816 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.837030 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.837271 drop table if exists "person_test"; [] gorptest: 10:30:06.837478 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.837682 drop table if exists "id_created_test"; [] gorptest: 10:30:06.837887 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.838093 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.838302 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.838508 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.838713 drop table if exists "time_test"; [] gorptest: 10:30:06.838916 drop table if exists "id_created_test"; [] gorptest: 10:30:06.838966 drop table if exists "single_column_table"; [] gorptest: 10:30:06.839026 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: 10:30:06.839294 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: 10:30:06.839553 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.839805 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: 10:30:06.840111 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: 10:30:06.840372 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.840616 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.840865 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.841119 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.841387 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.841647 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: 10:30:06.841907 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.842167 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:30:06.842220 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 10:30:06.842488 delete from "invoice_test"; [] gorptest: 10:30:06.842634 delete from "invoice_tag_test"; [] gorptest: 10:30:06.842774 delete from "alias_trans_field_test"; [] gorptest: 10:30:06.842911 delete from "invoice_override_test"; [] gorptest: 10:30:06.843066 delete from "person_test"; [] gorptest: 10:30:06.843203 delete from "ignored_column_test"; [] gorptest: 10:30:06.843341 delete from "id_created_test"; [] gorptest: 10:30:06.843484 delete from "type_conv_test"; [] gorptest: 10:30:06.843664 delete from "embedded_struct_test"; [] gorptest: 10:30:06.843807 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.843946 delete from "embedded_autoincr_test"; [] gorptest: 10:30:06.844090 delete from "time_test"; [] gorptest: 10:30:06.844230 delete from "id_created_test"; [] gorptest: 10:30:06.844371 delete from "single_column_table"; [] gorptest: 10:30:06.844543 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 10:30:06.844624 drop table if exists "invoice_test"; [] gorptest: 10:30:06.844831 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.845050 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.845245 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.845484 drop table if exists "person_test"; [] gorptest: 10:30:06.845698 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.845896 drop table if exists "id_created_test"; [] gorptest: 10:30:06.846103 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.846308 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.846518 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.846884 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.847132 drop table if exists "time_test"; [] gorptest: 10:30:06.847369 drop table if exists "id_created_test"; [] gorptest: 10:30:06.847428 drop table if exists "single_column_table"; [] 2023/01/19 10:30:06 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: 10:30:06.847921 drop table if exists "invoice_test"; [] gorptest: 10:30:06.848241 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.848297 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.848353 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.848407 drop table if exists "person_test"; [] gorptest: 10:30:06.848464 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.848521 drop table if exists "id_created_test"; [] gorptest: 10:30:06.848576 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.848633 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.848689 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.848743 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.848798 drop table if exists "time_test"; [] gorptest: 10:30:06.848865 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.849185 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: 10:30:06.849487 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:06.849774 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:06.850126 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:06.850426 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.850705 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:06.850992 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:06.851285 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:06.851576 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:06.851874 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:06.852180 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:06.852491 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 10:30:06.852735 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 10:30:06.852939 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 10:30:06.853133 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 10:30:06.853314 begin; [] gorptest: 10:30:06.853349 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 10:30:06.853487 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:30:06.854091 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:30:06.854254 commit; [] gorptest: 10:30:06.854352 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:30:06.854509 drop table if exists "invoice_test"; [] gorptest: 10:30:06.854780 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:06.855021 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:06.855260 drop table if exists "invoice_override_test"; [] gorptest: 10:30:06.867272 drop table if exists "person_test"; [] gorptest: 10:30:06.867506 drop table if exists "ignored_column_test"; [] gorptest: 10:30:06.867706 drop table if exists "id_created_test"; [] gorptest: 10:30:06.867898 drop table if exists "type_conv_test"; [] gorptest: 10:30:06.868090 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:06.868283 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:06.868511 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:06.868714 drop table if exists "time_test"; [] gorptest: 10:30:06.868906 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.284s gopkg.in/gorp.v1 2023/01/19 10:30:12 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: 10:30:12.544231 drop table if exists "invoice_test"; [] gorptest: 10:30:12.544578 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.544608 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.544634 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.544659 drop table if exists "person_test"; [] gorptest: 10:30:12.544684 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.544709 drop table if exists "id_created_test"; [] gorptest: 10:30:12.544734 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.544759 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.544784 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.544809 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.544834 drop table if exists "time_test"; [] gorptest: 10:30:12.544867 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.545134 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: 10:30:12.545282 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.545422 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.545613 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.545757 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.545891 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.546039 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.546190 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.546341 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.546483 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.546623 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.546800 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: 10:30:12.546838 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: 10:30:12.546872 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.546915 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: 10:30:12.546953 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: 10:30:12.546986 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.547016 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.547048 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.547080 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.547113 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.547146 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: 10:30:12.547177 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.547208 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:30:12.547248 drop table if exists "invoice_test"; [] gorptest: 10:30:12.547403 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.547522 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.547648 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.547793 drop table if exists "person_test"; [] gorptest: 10:30:12.547918 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.548032 drop table if exists "id_created_test"; [] gorptest: 10:30:12.548146 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.548259 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.548384 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.548500 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.548613 drop table if exists "time_test"; [] gorptest: 10:30:12.548724 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.548864 drop table if exists "invoice_test"; [] gorptest: 10:30:12.549014 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.549042 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.549067 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.549093 drop table if exists "person_test"; [] gorptest: 10:30:12.549118 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.549143 drop table if exists "id_created_test"; [] gorptest: 10:30:12.549168 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.549204 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.549231 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.549257 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.549282 drop table if exists "time_test"; [] gorptest: 10:30:12.549313 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.549464 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: 10:30:12.549609 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.549747 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.549916 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.550059 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.550193 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.550329 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.550476 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.550626 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.550768 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.550909 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.551050 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: 10:30:12.551090 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: 10:30:12.551123 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.551156 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: 10:30:12.551201 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: 10:30:12.551234 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.551264 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.551295 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.551327 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.551360 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.551393 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: 10:30:12.551427 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.551457 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:30:12.551516 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212551498156 2:1674124212551498156 3:"Bob" 4:"Smith" 5:1] gorptest: 10:30:12.551644 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 10:30:12.551743 delete from "invoice_test"; [] gorptest: 10:30:12.551822 delete from "invoice_tag_test"; [] gorptest: 10:30:12.551900 delete from "alias_trans_field_test"; [] gorptest: 10:30:12.551978 delete from "invoice_override_test"; [] gorptest: 10:30:12.552061 delete from "person_test"; [] gorptest: 10:30:12.552140 delete from "ignored_column_test"; [] gorptest: 10:30:12.552218 delete from "id_created_test"; [] gorptest: 10:30:12.552298 delete from "type_conv_test"; [] gorptest: 10:30:12.552376 delete from "embedded_struct_test"; [] gorptest: 10:30:12.552454 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.552531 delete from "embedded_autoincr_test"; [] gorptest: 10:30:12.552609 delete from "time_test"; [] gorptest: 10:30:12.552686 delete from "id_created_test"; [] gorptest: 10:30:12.552766 SELECT * FROM person_test [] gorptest: 10:30:12.552830 SELECT * FROM invoice_test [] gorptest: 10:30:12.552883 drop table if exists "invoice_test"; [] gorptest: 10:30:12.553008 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.553125 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.553240 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.553384 drop table if exists "person_test"; [] gorptest: 10:30:12.553507 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.553632 drop table if exists "id_created_test"; [] gorptest: 10:30:12.553745 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.553858 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.553971 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.554084 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.554200 drop table if exists "time_test"; [] gorptest: 10:30:12.554312 drop table if exists "id_created_test"; [] gorptest: 10:30:12.554400 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 10:30:12.554683 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-19 10:30:12 +0000 UTC] gorptest: 10:30:12.554796 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 10:30:12.554849 drop table if exists "WithCustomDate"; [] gorptest: 10:30:12.555029 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:30:12.555294 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:30:12.555430 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 10:30:12.555865 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 10:30:12.555980 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 10:30:12.556086 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 10:30:12.556209 drop table if exists "PersonUInt64"; [] gorptest: 10:30:12.556348 drop table if exists "PersonUInt32"; [] gorptest: 10:30:12.556492 drop table if exists "PersonUInt16"; [] gorptest: 10:30:12.556899 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 10:30:12.557712 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 10:30:12.558000 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 10:30:12.558200 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 10:30:12.558331 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 10:30:12.558540 drop table if exists "UniqueColumns"; [] gorptest: 10:30:12.559059 drop table if exists PersistentUser [] gorptest: 10:30:12.559399 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:30:12.559742 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:30:12.559997 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 10:30:12.560148 select * from PersistentUser [] gorptest: 10:30:12.560297 select * from PersistentUser [] gorptest: 10:30:12.560486 select * from PersistentUser [] gorptest: 10:30:12.560644 select Id from PersistentUser [] gorptest: 10:30:12.560725 select mykey from PersistentUser [] gorptest: 10:30:12.560802 select PassedTraining from PersistentUser [] gorptest: 10:30:12.560877 select Id from PersistentUser [] gorptest: 10:30:12.560955 drop table if exists "PersistentUser"; [] gorptest: 10:30:12.561295 drop table if exists PersistentUser [] gorptest: 10:30:12.561724 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:30:12.562140 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:30:12.562423 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:30:12.562955 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:30:12.563458 select * from PersistentUser where mykey = ? [1:43] gorptest: 10:30:12.563903 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:30:12.564348 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 10:30:12.564684 drop table if exists "PersistentUser"; [] gorptest: 10:30:12.629058 drop table if exists PersistentUser [] gorptest: 10:30:12.629892 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 10:30:12.630500 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 10:30:12.630779 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 10:30:12.631044 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 10:30:12.631233 drop table if exists "PersistentUser"; [] 2023/01/19 10:30:12 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: 10:30:12.631866 drop table if exists "invoice_test"; [] gorptest: 10:30:12.632244 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.632347 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.632420 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.632491 drop table if exists "person_test"; [] gorptest: 10:30:12.632543 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.632607 drop table if exists "id_created_test"; [] gorptest: 10:30:12.632670 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.632734 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.632784 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.632846 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.632913 drop table if exists "time_test"; [] gorptest: 10:30:12.633008 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.633399 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: 10:30:12.633755 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.634067 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.634439 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.634746 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.635056 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.635447 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.635921 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.636268 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.636674 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.637019 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.637364 select * from invoice_test where id=99999 [] gorptest: 10:30:12.637500 select * from invoice_test where id=99999 [] gorptest: 10:30:12.637609 drop table if exists "invoice_test"; [] gorptest: 10:30:12.637863 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.638130 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.638363 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.638715 drop table if exists "person_test"; [] gorptest: 10:30:12.638938 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.639222 drop table if exists "id_created_test"; [] gorptest: 10:30:12.639438 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.639661 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.639881 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.640096 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.640313 drop table if exists "time_test"; [] gorptest: 10:30:12.640575 drop table if exists "id_created_test"; [] gorptest: 10:30:12.640822 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 10:30:12.641494 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: 10:30:12.641620 drop table if exists "InvoicePersonView"; [] 2023/01/19 10:30:12 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: 10:30:12.642138 drop table if exists "invoice_test"; [] gorptest: 10:30:12.642452 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.642504 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.642554 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.642602 drop table if exists "person_test"; [] gorptest: 10:30:12.642656 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.642716 drop table if exists "id_created_test"; [] gorptest: 10:30:12.642773 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.642828 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.642878 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.642930 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.642983 drop table if exists "time_test"; [] gorptest: 10:30:12.643103 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.643433 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: 10:30:12.643720 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.644044 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.644386 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.644662 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.667176 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.667800 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.668028 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.668252 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.668478 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.668704 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.669071 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212669007473 2:1674124212669007473 3:"Bob" 4:"Smith" 5:1] gorptest: 10:30:12.669274 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:12.669456 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674124212669007473 2:1674124212669007473 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 10:30:12.669668 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674124212669007473 2:1674124212669007473 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 10:30:12.669753 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:12.669849 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 10:30:12.669919 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:12.670001 drop table if exists "invoice_test"; [] gorptest: 10:30:12.670209 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.670393 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.670587 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.670883 drop table if exists "person_test"; [] gorptest: 10:30:12.671151 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.671388 drop table if exists "id_created_test"; [] gorptest: 10:30:12.671576 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.671756 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.671935 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.672116 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.672298 drop table if exists "time_test"; [] gorptest: 10:30:12.672513 drop table if exists "id_created_test"; [] gorptest: 10:30:12.673031 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:30:12.673593 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 10:30:12.673750 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:30:12.673899 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: 10:30:12.674060 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 10:30:12.674154 drop table if exists "TableWithNull"; [] gorptest: 10:30:12.678421 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 10:30:12.679250 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 10:30:12.679442 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 10:30:12.679556 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 10:30:12.679645 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 10:30:12.679716 drop table if exists "Invoice"; [] 2023/01/19 10:30:12 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: 10:30:12.680254 drop table if exists "invoice_test"; [] gorptest: 10:30:12.680493 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.680534 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.680574 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.680613 drop table if exists "person_test"; [] gorptest: 10:30:12.680653 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.680692 drop table if exists "id_created_test"; [] gorptest: 10:30:12.680731 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.680770 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.680809 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.680849 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.680889 drop table if exists "time_test"; [] gorptest: 10:30:12.680939 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.681184 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: 10:30:12.681411 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.681680 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.682511 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.682896 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.683164 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.707600 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.707911 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.708138 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.708369 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.708598 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.708865 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212708830127 2:1674124212708830127 3:"bob" 4:"smith" 5:1] gorptest: 10:30:12.709066 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 10:30:12.709227 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:30:12.709385 drop table if exists "invoice_test"; [] gorptest: 10:30:12.709607 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.709801 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.709987 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.710283 drop table if exists "person_test"; [] gorptest: 10:30:12.710475 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.710658 drop table if exists "id_created_test"; [] gorptest: 10:30:12.710845 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.711031 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.711213 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.711397 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.711578 drop table if exists "time_test"; [] gorptest: 10:30:12.711758 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.712202 drop table if exists "invoice_test"; [] gorptest: 10:30:12.712486 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.712530 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.712572 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.712614 drop table if exists "person_test"; [] gorptest: 10:30:12.712654 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.712696 drop table if exists "id_created_test"; [] gorptest: 10:30:12.712739 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.712781 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.712822 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.712863 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.712903 drop table if exists "time_test"; [] gorptest: 10:30:12.712953 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.713209 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: 10:30:12.713455 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.713686 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.713977 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.714210 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.714430 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.714692 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.714931 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.715217 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.715470 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.715730 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.715981 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212715953745 2:1674124212715953745 3:"bob" 4:"smith" 5:1] gorptest: 10:30:12.716154 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:12.716277 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674124212715953745 2:1674124212715953745 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 10:30:12.716442 select * from person_test where id = ? [1:1] gorptest: 10:30:12.716575 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 10:30:12.716857 drop table if exists "invoice_test"; [] gorptest: 10:30:12.717106 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.717324 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.717540 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.717922 drop table if exists "person_test"; [] gorptest: 10:30:12.718157 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.718406 drop table if exists "id_created_test"; [] gorptest: 10:30:12.746161 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.746726 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.747094 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.747398 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.747623 drop table if exists "time_test"; [] gorptest: 10:30:12.747876 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.748387 drop table if exists "invoice_test"; [] gorptest: 10:30:12.748832 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.748881 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.748930 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.748977 drop table if exists "person_test"; [] gorptest: 10:30:12.749027 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.749152 drop table if exists "id_created_test"; [] gorptest: 10:30:12.749204 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.749252 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.749302 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.749351 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.749406 drop table if exists "time_test"; [] gorptest: 10:30:12.749473 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.749868 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: 10:30:12.750260 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.750540 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.750881 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.751150 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.751407 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.751703 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.752141 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.752432 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.752710 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.752994 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.753307 begin; [] gorptest: 10:30:12.753430 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 10:30:12.753672 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 10:30:12.753782 commit; [] gorptest: 10:30:12.756220 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:12.756732 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 10:30:12.756998 drop table if exists "invoice_test"; [] gorptest: 10:30:12.757665 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.758044 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.758293 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.758778 drop table if exists "person_test"; [] gorptest: 10:30:12.759028 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.759309 drop table if exists "id_created_test"; [] gorptest: 10:30:12.759544 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.759777 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.760044 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.760295 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.760533 drop table if exists "time_test"; [] gorptest: 10:30:12.760808 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.765104 drop table if exists "invoice_test"; [] gorptest: 10:30:12.765594 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.765654 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.765709 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.765762 drop table if exists "person_test"; [] gorptest: 10:30:12.765817 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.765873 drop table if exists "id_created_test"; [] gorptest: 10:30:12.765926 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.765981 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.766037 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.766092 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.766145 drop table if exists "time_test"; [] gorptest: 10:30:12.766224 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.766820 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: 10:30:12.767148 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.767448 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.767817 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.768112 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.768393 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.768671 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.768956 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.769246 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.805218 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.806003 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.806440 begin; [] gorptest: 10:30:12.806839 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 10:30:12.807219 select memo from invoice_test [] gorptest: 10:30:12.807297 savepoint "foo" [1:] gorptest: 10:30:12.807615 select memo from invoice_test [] gorptest: 10:30:12.807727 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 10:30:12.807790 select memo from invoice_test [] gorptest: 10:30:12.807836 rollback to savepoint "foo" [1:] gorptest: 10:30:12.807858 select memo from invoice_test [] gorptest: 10:30:12.807914 rollback; [] gorptest: 10:30:12.808011 drop table if exists "invoice_test"; [] gorptest: 10:30:12.808227 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.808415 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.808602 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.808906 drop table if exists "person_test"; [] gorptest: 10:30:12.809100 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.809297 drop table if exists "id_created_test"; [] gorptest: 10:30:12.809491 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.809681 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.809872 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.810063 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.810249 drop table if exists "time_test"; [] gorptest: 10:30:12.810438 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.812612 drop table if exists "invoice_test"; [] gorptest: 10:30:12.812905 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.812948 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.812992 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.813035 drop table if exists "person_test"; [] gorptest: 10:30:12.813077 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.813117 drop table if exists "id_created_test"; [] gorptest: 10:30:12.813158 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.813198 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.813240 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.813283 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.813325 drop table if exists "time_test"; [] gorptest: 10:30:12.813378 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.813637 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: 10:30:12.813880 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.814107 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.814396 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.814636 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.814858 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.815082 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.815315 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.815576 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.815820 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.816062 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.816314 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 10:30:12.816495 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 10:30:12.816959 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 10:30:12.817181 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 10:30:12.817419 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:12.817596 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 10:30:12.818172 drop table if exists "invoice_test"; [] gorptest: 10:30:12.818430 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.818638 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.818818 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.819032 drop table if exists "person_test"; [] gorptest: 10:30:12.819223 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.819398 drop table if exists "id_created_test"; [] gorptest: 10:30:12.819589 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.819775 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.819956 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.820142 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.820316 drop table if exists "time_test"; [] gorptest: 10:30:12.820504 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.825282 drop table if exists "invoice_test"; [] gorptest: 10:30:12.825716 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.825766 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.825811 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.825855 drop table if exists "person_test"; [] gorptest: 10:30:12.825898 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.825941 drop table if exists "id_created_test"; [] gorptest: 10:30:12.825983 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.826025 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.826071 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.826118 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.826198 drop table if exists "time_test"; [] gorptest: 10:30:12.826255 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.826554 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: 10:30:12.826963 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.827339 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.827687 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.827965 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.828226 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.828537 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.828825 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.829099 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.829378 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.829657 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.829934 delete from invoice_test [] gorptest: 10:30:12.830131 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 10:30:12.830362 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:12.830565 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:7631212958570381084 2:285033171246834005 3:"random 3386650983191303131" 4:0 5:true 6:1] gorptest: 10:30:12.830749 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:12.830855 select * from invoice_test [] gorptest: 10:30:12.831095 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:12.831562 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 10:30:12.831809 delete from invoice_tag_test [] gorptest: 10:30:12.832417 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: 10:30:12.833160 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:12.833507 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:7385299376194282256 2:3275847750873418267 3:"random 8979654503812839178" 4:33 5:false 6:1] gorptest: 10:30:12.834046 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:12.834246 select * from invoice_tag_test [] gorptest: 10:30:12.834452 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:12.834758 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 10:30:12.834837 delete from alias_trans_field_test [] gorptest: 10:30:12.835005 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 10:30:12.835223 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:12.835323 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 6858420378372995964" 2:1] gorptest: 10:30:12.835509 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:12.842545 select * from alias_trans_field_test [] gorptest: 10:30:12.842691 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:12.842930 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 10:30:12.843006 drop table if exists "invoice_test"; [] gorptest: 10:30:12.843286 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.843523 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.843752 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.843996 drop table if exists "person_test"; [] gorptest: 10:30:12.844213 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.844431 drop table if exists "id_created_test"; [] gorptest: 10:30:12.844649 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.844861 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.845072 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.845276 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.845483 drop table if exists "time_test"; [] gorptest: 10:30:12.857993 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.858501 drop table if exists "invoice_test"; [] gorptest: 10:30:12.858882 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.858928 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.858973 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.859020 drop table if exists "person_test"; [] gorptest: 10:30:12.859066 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.859112 drop table if exists "id_created_test"; [] gorptest: 10:30:12.859164 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.859214 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.859264 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.859311 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.859356 drop table if exists "time_test"; [] gorptest: 10:30:12.859417 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.859768 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: 10:30:12.860030 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.860284 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.860600 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.860863 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.861113 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.861365 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.861633 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.861890 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.862157 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.862432 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.862708 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 10:30:12.862941 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:30:12.863049 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:30:12.863195 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 10:30:12.863256 drop table if exists "invoice_test"; [] gorptest: 10:30:12.863459 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.863692 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.863895 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.864106 drop table if exists "person_test"; [] gorptest: 10:30:12.864298 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.864496 drop table if exists "id_created_test"; [] gorptest: 10:30:12.864734 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.864969 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.865167 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.865359 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.871067 drop table if exists "time_test"; [] gorptest: 10:30:12.871360 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.871796 drop table if exists "invoice_test"; [] gorptest: 10:30:12.872112 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.872155 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.872201 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.872247 drop table if exists "person_test"; [] gorptest: 10:30:12.872291 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.872333 drop table if exists "id_created_test"; [] gorptest: 10:30:12.872375 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.872417 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.872459 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.872502 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.872544 drop table if exists "time_test"; [] gorptest: 10:30:12.872601 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.872875 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: 10:30:12.873115 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.873345 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.873637 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.873875 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.874096 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.874324 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.874560 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.874791 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.875036 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.875309 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.875639 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: 10:30:12.875821 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:30:12.875974 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: 10:30:12.876128 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:30:12.876222 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 10:30:12.876368 drop table if exists "invoice_test"; [] gorptest: 10:30:12.876565 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.876813 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.877009 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.877219 drop table if exists "person_test"; [] gorptest: 10:30:12.877403 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.877585 drop table if exists "id_created_test"; [] gorptest: 10:30:12.877768 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.877957 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.878139 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.878384 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.878681 drop table if exists "time_test"; [] gorptest: 10:30:12.878895 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.885142 drop table if exists "invoice_test"; [] gorptest: 10:30:12.885698 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.885753 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.885800 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.887576 drop table if exists "person_test"; [] gorptest: 10:30:12.887635 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.887683 drop table if exists "id_created_test"; [] gorptest: 10:30:12.887733 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.887787 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.887837 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.887888 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.887936 drop table if exists "time_test"; [] gorptest: 10:30:12.888001 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.888523 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: 10:30:12.888805 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.889098 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.889423 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.889690 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.889990 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.890254 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.890518 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.890783 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.891051 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.891360 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.891651 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 10:30:12.891859 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:30:12.891995 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 10:30:12.892255 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 10:30:12.892341 select * from embedded_struct_test [] gorptest: 10:30:12.892458 drop table if exists "invoice_test"; [] gorptest: 10:30:12.892709 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.892938 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.893166 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.893424 drop table if exists "person_test"; [] gorptest: 10:30:12.893642 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.893857 drop table if exists "id_created_test"; [] gorptest: 10:30:12.894070 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.894288 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.894515 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.894732 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.894947 drop table if exists "time_test"; [] gorptest: 10:30:12.895159 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.900592 drop table if exists "invoice_test"; [] gorptest: 10:30:12.900985 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.901031 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.901073 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.901114 drop table if exists "person_test"; [] gorptest: 10:30:12.901156 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.901198 drop table if exists "id_created_test"; [] gorptest: 10:30:12.901239 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.901281 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.901323 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.901365 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.901408 drop table if exists "time_test"; [] gorptest: 10:30:12.901468 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.901802 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: 10:30:12.902048 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.902283 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.902571 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.902807 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.903025 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.903247 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.903478 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.903709 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.903943 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.904174 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.904422 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 10:30:12.904589 drop table if exists "invoice_test"; [] gorptest: 10:30:12.904794 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.904985 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.905175 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.905385 drop table if exists "person_test"; [] gorptest: 10:30:12.905603 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.906057 drop table if exists "id_created_test"; [] gorptest: 10:30:12.906315 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.906567 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.906853 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.907093 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.907347 drop table if exists "time_test"; [] gorptest: 10:30:12.907573 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.908140 drop table if exists "invoice_test"; [] gorptest: 10:30:12.908546 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.908608 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.908655 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.908742 drop table if exists "person_test"; [] gorptest: 10:30:12.908800 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.908853 drop table if exists "id_created_test"; [] gorptest: 10:30:12.908901 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.908951 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.909002 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.909052 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.909103 drop table if exists "time_test"; [] gorptest: 10:30:12.909165 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.909496 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: 10:30:12.909815 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.910101 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.910444 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.910721 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.910976 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.911248 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.911523 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.911795 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.912117 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.912402 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.912707 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 10:30:12.912917 drop table if exists "invoice_test"; [] gorptest: 10:30:12.913161 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.913396 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.913627 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.913879 drop table if exists "person_test"; [] gorptest: 10:30:12.914088 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.914300 drop table if exists "id_created_test"; [] gorptest: 10:30:12.914511 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.914728 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.914946 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.915169 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.915399 drop table if exists "time_test"; [] gorptest: 10:30:12.915665 drop table if exists "id_created_test"; [] gorptest: 10:30:12.916083 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 10:30:12.917231 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: 10:30:12.917755 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:30:12.917840 select count(*) from TableWithNull [] gorptest: 10:30:12.917904 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:30:12.917967 select Int64 from TableWithNull where Str='notfound' [] gorptest: 10:30:12.918025 select Int64 from TableWithNull where Str='abc' [] gorptest: 10:30:12.918115 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:30:12.918181 select min(Float64) from TableWithNull [] gorptest: 10:30:12.918248 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 10:30:12.918352 select Float64 from TableWithNull where Str='notfound' [] gorptest: 10:30:12.918411 select Float64 from TableWithNull where Str='abc' [] gorptest: 10:30:12.918473 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:30:12.918534 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:30:12.918594 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:30:12.918655 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 10:30:12.918729 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 10:30:12.918794 select Str from TableWithNull where Int64=? [1:78] gorptest: 10:30:12.918855 drop table if exists "TableWithNull"; [] 2023/01/19 10:30:12 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: 10:30:12.919259 drop table if exists "invoice_test"; [] gorptest: 10:30:12.919510 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.919553 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.919595 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.919636 drop table if exists "person_test"; [] gorptest: 10:30:12.919679 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.919720 drop table if exists "id_created_test"; [] gorptest: 10:30:12.919762 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.919804 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.919846 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.919887 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.919927 drop table if exists "time_test"; [] gorptest: 10:30:12.919978 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.920227 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: 10:30:12.920468 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.920712 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.921018 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.921259 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.921482 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.921709 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.921941 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.922180 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.922418 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.922650 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.922903 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212922878858 2:1674124212922878858 3:"Bob" 4:"Smith" 5:1] gorptest: 10:30:12.923080 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212923064700 2:1674124212923064700 3:"Jane" 4:"Smith" 5:1] gorptest: 10:30:12.923255 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212923236569 2:1674124212923236569 3:"Mike" 4:"Smith" 5:1] gorptest: 10:30:12.923416 drop table if exists "invoice_test"; [] gorptest: 10:30:12.923612 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.923806 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.923999 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.924208 drop table if exists "person_test"; [] gorptest: 10:30:12.924404 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.924596 drop table if exists "id_created_test"; [] gorptest: 10:30:12.924784 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.924973 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.925160 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.925358 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.925564 drop table if exists "time_test"; [] gorptest: 10:30:12.925758 drop table if exists "id_created_test"; [] gorptest: 10:30:12.925914 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 10:30:12.926391 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 10:30:12.926536 drop table if exists "string_pk_test"; [] 2023/01/19 10:30:12 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: 10:30:12.932087 drop table if exists "invoice_test"; [] gorptest: 10:30:12.932397 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.932445 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.932489 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.932534 drop table if exists "person_test"; [] gorptest: 10:30:12.932577 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.932620 drop table if exists "id_created_test"; [] gorptest: 10:30:12.932664 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.932706 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.932749 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.932792 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.932837 drop table if exists "time_test"; [] gorptest: 10:30:12.932894 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.933199 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: 10:30:12.933459 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.933701 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.934000 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.934253 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.934487 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.934723 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.934965 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.935201 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.935434 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.936030 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.936285 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 09:59:12.936258442 +0000 UTC] gorptest: 10:30:12.936461 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-19 10:00:13.936258442 +0000 UTC] gorptest: 10:30:12.936728 SELECT id FROM time_test WHERE Time < ? [1:2023-01-19 10:00:12.936258442 +0000 UTC] gorptest: 10:30:12.936897 drop table if exists "invoice_test"; [] gorptest: 10:30:12.937481 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.937684 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.937886 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.938136 drop table if exists "person_test"; [] gorptest: 10:30:12.938348 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.938553 drop table if exists "id_created_test"; [] gorptest: 10:30:12.938757 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.938950 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.939140 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.939328 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.939515 drop table if exists "time_test"; [] gorptest: 10:30:12.939706 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.940036 drop table if exists "invoice_test"; [] gorptest: 10:30:12.940302 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.940375 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.940419 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.940462 drop table if exists "person_test"; [] gorptest: 10:30:12.940503 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.940546 drop table if exists "id_created_test"; [] gorptest: 10:30:12.940593 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.940634 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.940715 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.940766 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.940810 drop table if exists "time_test"; [] gorptest: 10:30:12.940863 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.941121 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: 10:30:12.941357 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.941590 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.941869 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.942104 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.942327 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.942552 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.942783 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.943012 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.943248 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.943486 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.943735 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212943710569 2:1674124212943710569 3:"bob" 4:"smith" 5:1] gorptest: 10:30:12.943924 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 10:30:12.944090 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 10:30:12.944221 drop table if exists "invoice_test"; [] gorptest: 10:30:12.944424 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.944614 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.944804 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.945030 drop table if exists "person_test"; [] gorptest: 10:30:12.945231 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.945421 drop table if exists "id_created_test"; [] gorptest: 10:30:12.956217 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.956456 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.956705 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.956962 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.957214 drop table if exists "time_test"; [] gorptest: 10:30:12.957441 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.957884 drop table if exists "invoice_test"; [] gorptest: 10:30:12.958273 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.958331 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.958384 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.958436 drop table if exists "person_test"; [] gorptest: 10:30:12.958913 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.958963 drop table if exists "id_created_test"; [] gorptest: 10:30:12.959002 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.959040 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.959079 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.959120 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.959160 drop table if exists "time_test"; [] gorptest: 10:30:12.959236 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.959534 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: 10:30:12.959780 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.960013 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.960304 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.960541 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.960762 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.960991 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.961220 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.961454 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.961689 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.961920 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/19 10:30:12 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: 10:30:12.965472 drop table if exists "invoice_test"; [] gorptest: 10:30:12.965820 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.965866 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.965911 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.965956 drop table if exists "person_test"; [] gorptest: 10:30:12.966001 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.966050 drop table if exists "id_created_test"; [] gorptest: 10:30:12.966096 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.966142 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.966185 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.966228 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.966272 drop table if exists "time_test"; [] gorptest: 10:30:12.966326 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.966591 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: 10:30:12.966889 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.967127 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.967417 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.967666 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.967896 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.968131 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.968406 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.968643 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.968891 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.969128 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.969388 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212969363310 2:1674124212969363310 3:"bob" 4:"smith" 5:1] gorptest: 10:30:12.969622 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212969604619 2:1674124212969604619 3:"jane" 4:"doe" 5:1] gorptest: 10:30:12.969810 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:12.969921 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 10:30:12.970048 select * from person_test where Id=? [1:1] gorptest: 10:30:12.970165 select * from person_test order by fname asc [] gorptest: 10:30:12.970306 drop table if exists "invoice_test"; [] gorptest: 10:30:12.970510 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.970711 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.970931 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.971174 drop table if exists "person_test"; [] gorptest: 10:30:12.971378 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.971572 drop table if exists "id_created_test"; [] gorptest: 10:30:12.971763 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.971952 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.972150 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.972340 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.972543 drop table if exists "time_test"; [] gorptest: 10:30:12.972736 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.973058 drop table if exists "invoice_test"; [] gorptest: 10:30:12.973315 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.973358 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.973401 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.973445 drop table if exists "person_test"; [] gorptest: 10:30:12.973487 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.973528 drop table if exists "id_created_test"; [] gorptest: 10:30:12.973568 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.973610 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.973652 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.973694 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.973739 drop table if exists "time_test"; [] gorptest: 10:30:12.973792 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.974040 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: 10:30:12.974280 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.974503 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.974778 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.975015 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.975242 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.975473 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:12.978080 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:12.978353 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:12.978596 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:12.978829 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:12.979086 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212979057231 2:1674124212979057231 3:"bob" 4:"smith" 5:1] gorptest: 10:30:12.979272 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 10:30:12.979394 select * from person_test where Id=? [1:1] gorptest: 10:30:12.979531 select FName from person_test where Id=? [1:1] gorptest: 10:30:12.979599 select * from person_test where Id=? [1:1] gorptest: 10:30:12.979751 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 10:30:12.979853 select * from person_test where Id=? [1:-2222] gorptest: 10:30:12.979961 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674124212979944320 2:1674124212979944320 3:"bob" 4:"smith" 5:1] gorptest: 10:30:12.980124 select * from person_test where Fname='bob' [] gorptest: 10:30:12.980262 select * from person_test where Id=-123 [] gorptest: 10:30:12.980322 select * from person_test where Id=-123 [] gorptest: 10:30:12.980382 select * from person_test where Id=-123 [] gorptest: 10:30:12.980441 select * from person_test where Id=-123 [] gorptest: 10:30:12.980500 drop table if exists "invoice_test"; [] gorptest: 10:30:12.980702 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.980891 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.981079 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.981356 drop table if exists "person_test"; [] gorptest: 10:30:12.981562 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.981752 drop table if exists "id_created_test"; [] gorptest: 10:30:12.981940 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.982125 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.982312 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.982496 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.982687 drop table if exists "time_test"; [] gorptest: 10:30:12.982875 drop table if exists "id_created_test"; [] 2023/01/19 10:30:12 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: 10:30:12.996088 drop table if exists "invoice_test"; [] gorptest: 10:30:12.996553 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:12.996597 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:12.996948 drop table if exists "invoice_override_test"; [] gorptest: 10:30:12.997042 drop table if exists "person_test"; [] gorptest: 10:30:12.997099 drop table if exists "ignored_column_test"; [] gorptest: 10:30:12.997158 drop table if exists "id_created_test"; [] gorptest: 10:30:12.997208 drop table if exists "type_conv_test"; [] gorptest: 10:30:12.997299 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:12.997354 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:12.997407 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:12.997489 drop table if exists "time_test"; [] gorptest: 10:30:12.997558 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.998108 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: 10:30:12.998442 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:12.998716 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:12.999050 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:12.999325 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.999578 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:12.999842 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:13.000111 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:13.000376 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:13.000681 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:13.000956 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:13.001234 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 10:30:13.001420 select * from id_created_test where Id=1 [] gorptest: 10:30:13.001557 SELECT *, 1 AS external FROM id_created_test [] gorptest: 10:30:13.001692 drop table if exists "invoice_test"; [] gorptest: 10:30:13.002419 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:13.002641 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:13.002858 drop table if exists "invoice_override_test"; [] gorptest: 10:30:13.003165 drop table if exists "person_test"; [] gorptest: 10:30:13.003399 drop table if exists "ignored_column_test"; [] gorptest: 10:30:13.003624 drop table if exists "id_created_test"; [] gorptest: 10:30:13.057760 drop table if exists "type_conv_test"; [] gorptest: 10:30:13.058239 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:13.058426 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:13.058611 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:13.058797 drop table if exists "time_test"; [] gorptest: 10:30:13.058980 drop table if exists "id_created_test"; [] 2023/01/19 10:30:13 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: 10:30:13.059464 drop table if exists "invoice_test"; [] gorptest: 10:30:13.059813 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:13.059855 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:13.059903 drop table if exists "invoice_override_test"; [] gorptest: 10:30:13.059945 drop table if exists "person_test"; [] gorptest: 10:30:13.059986 drop table if exists "ignored_column_test"; [] gorptest: 10:30:13.060027 drop table if exists "id_created_test"; [] gorptest: 10:30:13.060070 drop table if exists "type_conv_test"; [] gorptest: 10:30:13.060111 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:13.060152 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:13.060192 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:13.060233 drop table if exists "time_test"; [] gorptest: 10:30:13.060289 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:13.060592 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: 10:30:13.060825 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:13.061048 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:13.061330 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:13.061565 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:13.061778 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:13.062040 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:13.062272 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:13.062532 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:13.062764 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:13.062994 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:13.063219 drop table if exists "invoice_test"; [] gorptest: 10:30:13.063413 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:13.063600 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:13.063783 drop table if exists "invoice_override_test"; [] gorptest: 10:30:13.064047 drop table if exists "person_test"; [] gorptest: 10:30:13.064230 drop table if exists "ignored_column_test"; [] gorptest: 10:30:13.064412 drop table if exists "id_created_test"; [] gorptest: 10:30:13.064593 drop table if exists "type_conv_test"; [] gorptest: 10:30:13.064774 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:13.064956 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:13.065138 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:13.065332 drop table if exists "time_test"; [] gorptest: 10:30:13.065551 drop table if exists "id_created_test"; [] gorptest: 10:30:13.065602 drop table if exists "single_column_table"; [] gorptest: 10:30:13.065658 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: 10:30:13.065904 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: 10:30:13.066152 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:13.066382 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: 10:30:13.066756 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: 10:30:13.067036 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:13.067257 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:13.067480 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:13.067722 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:13.067962 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:13.068199 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: 10:30:13.068439 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:13.068669 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 10:30:13.068719 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 10:30:13.068987 delete from "invoice_test"; [] gorptest: 10:30:13.069122 delete from "invoice_tag_test"; [] gorptest: 10:30:13.069242 delete from "alias_trans_field_test"; [] gorptest: 10:30:13.069364 delete from "invoice_override_test"; [] gorptest: 10:30:13.069506 delete from "person_test"; [] gorptest: 10:30:13.069634 delete from "ignored_column_test"; [] gorptest: 10:30:13.069762 delete from "id_created_test"; [] gorptest: 10:30:13.069882 delete from "type_conv_test"; [] gorptest: 10:30:13.070009 delete from "embedded_struct_test"; [] gorptest: 10:30:13.070128 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:13.070251 delete from "embedded_autoincr_test"; [] gorptest: 10:30:13.070385 delete from "time_test"; [] gorptest: 10:30:13.070520 delete from "id_created_test"; [] gorptest: 10:30:13.070663 delete from "single_column_table"; [] gorptest: 10:30:13.070849 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 10:30:13.070939 drop table if exists "invoice_test"; [] gorptest: 10:30:13.071134 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:13.071333 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:13.071528 drop table if exists "invoice_override_test"; [] gorptest: 10:30:13.071770 drop table if exists "person_test"; [] gorptest: 10:30:13.071965 drop table if exists "ignored_column_test"; [] gorptest: 10:30:13.072158 drop table if exists "id_created_test"; [] gorptest: 10:30:13.072381 drop table if exists "type_conv_test"; [] gorptest: 10:30:13.072573 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:13.072761 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:13.072980 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:13.073177 drop table if exists "time_test"; [] gorptest: 10:30:13.073372 drop table if exists "id_created_test"; [] gorptest: 10:30:13.073418 drop table if exists "single_column_table"; [] 2023/01/19 10:30:13 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: 10:30:13.073971 drop table if exists "invoice_test"; [] gorptest: 10:30:13.074278 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:13.074321 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:13.074364 drop table if exists "invoice_override_test"; [] gorptest: 10:30:13.074406 drop table if exists "person_test"; [] gorptest: 10:30:13.074447 drop table if exists "ignored_column_test"; [] gorptest: 10:30:13.074488 drop table if exists "id_created_test"; [] gorptest: 10:30:13.074530 drop table if exists "type_conv_test"; [] gorptest: 10:30:13.074576 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:13.074618 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:13.074660 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:13.074702 drop table if exists "time_test"; [] gorptest: 10:30:13.074754 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:13.075009 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: 10:30:13.075250 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 10:30:13.075480 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 10:30:13.075810 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 10:30:13.076049 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:13.076272 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 10:30:13.076502 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 10:30:13.076921 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 10:30:13.077355 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 10:30:13.128294 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 10:30:13.128531 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 10:30:13.128711 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 10:30:13.128829 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 10:30:13.128934 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 10:30:13.129033 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 10:30:13.129120 begin; [] gorptest: 10:30:13.129154 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 10:30:13.129226 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:30:13.129575 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:30:13.129642 commit; [] gorptest: 10:30:13.129705 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 10:30:13.129779 drop table if exists "invoice_test"; [] gorptest: 10:30:13.129955 drop table if exists "invoice_tag_test"; [] gorptest: 10:30:13.130074 drop table if exists "alias_trans_field_test"; [] gorptest: 10:30:13.130190 drop table if exists "invoice_override_test"; [] gorptest: 10:30:13.130328 drop table if exists "person_test"; [] gorptest: 10:30:13.130443 drop table if exists "ignored_column_test"; [] gorptest: 10:30:13.130557 drop table if exists "id_created_test"; [] gorptest: 10:30:13.130670 drop table if exists "type_conv_test"; [] gorptest: 10:30:13.130782 drop table if exists "embedded_struct_test"; [] gorptest: 10:30:13.130895 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 10:30:13.131008 drop table if exists "embedded_autoincr_test"; [] gorptest: 10:30:13.131120 drop table if exists "time_test"; [] gorptest: 10:30:13.131232 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.611s + 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.6jlEnb + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le/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.ppc64le/usr/share/doc/golang-gopkg-gorp-1-devel Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Y8ycpM + cp -pr README.md /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le/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.ppc64le/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-4.fc38.ppc64le/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.ppc64le 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.EPQNaN + 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.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.xIi7oQ + 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