Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1679291847.722466/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.win6iui5:/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.win6iui5:/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', '7aa73523b6b14d23a05ed9b36331f40c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1679291847.722466/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.win6iui5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/golang-gopkg-gorp-1-1.7.2-5.fc39.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1679291847.722466/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.win6iui5:/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.win6iui5:/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', '40c2a9dd772449de997ed834ef7973b9', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1679291847.722466/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.win6iui5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gZyl5C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gorp-1.7.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gorp-1.7.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gorp-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/gorp-1.7.2/vendor + [[ ! -e /builddir/build/BUILD/gorp-1.7.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/gorp-1.7.2/_build/bin install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build' install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/bin' + export GOPATH=/builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 ]] ++ dirname /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + install -m 0755 -vd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/src' install: creating directory '/builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in' + ln -fs /builddir/build/BUILD/gorp-1.7.2 /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + cd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/gorp-1-fix-format-string.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5Wbpzd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64 + cd gorp-1.7.2 + cd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i gopkg.in/gorp.v1 -b /builddir/build/BUILD/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/gorp-1.7.2/_build -o golang-gopkg-gorp-1-devel.file-list -O /builddir/build/BUILD/gorp-1.7.2 -V 1.7.2-5.fc39 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: gopkg.in/gorp.v1 realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md +++ sort -u realpath: CONTRIBUTING.md: No such file or directory ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -d /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo /usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo '%dir "/usr/share/gocode/src/github.com/go-gorp/gorp"' + echo '%dir "/usr/share/gocode/src/github.com/go-gorp"' + echo '%dir "/usr/share/gocode/src/github.com"' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.ZZLPNe + 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-5.fc39 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/gorp-1.7.2/_build/src PATH: /builddir/build/BUILD/gorp-1.7.2/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X gopkg.in/gorp.v1/version=1.7.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: gopkg.in/gorp.v1 gopkg.in/gorp.v1 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.053601 drop table if exists "invoice_test"; [] gorptest: 05:59:34.053894 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.053913 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.053928 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.053942 drop table if exists "person_test"; [] gorptest: 05:59:34.053958 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.053973 drop table if exists "id_created_test"; [] gorptest: 05:59:34.053986 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.054000 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.054016 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.054031 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.054045 drop table if exists "time_test"; [] gorptest: 05:59:34.054069 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.054289 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: 05:59:34.054421 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.054542 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.054681 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.054831 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.054942 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.055055 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.055180 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.055607 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.055889 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.056108 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.056334 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: 05:59:34.056473 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: 05:59:34.056589 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.056734 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: 05:59:34.056859 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: 05:59:34.057115 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.057250 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.057370 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.057490 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.057602 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.057738 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: 05:59:34.057859 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.057980 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 05:59:34.058164 drop table if exists "invoice_test"; [] gorptest: 05:59:34.058551 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.058963 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.059309 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.059874 drop table if exists "person_test"; [] gorptest: 05:59:34.060109 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.060266 drop table if exists "id_created_test"; [] gorptest: 05:59:34.060405 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.060561 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.060677 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.060857 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.061013 drop table if exists "time_test"; [] gorptest: 05:59:34.061303 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.061650 drop table if exists "invoice_test"; [] gorptest: 05:59:34.061820 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.061852 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.061871 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.061888 drop table if exists "person_test"; [] gorptest: 05:59:34.061904 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.061919 drop table if exists "id_created_test"; [] gorptest: 05:59:34.061935 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.061954 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.061971 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.061988 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.062004 drop table if exists "time_test"; [] gorptest: 05:59:34.062027 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.062183 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: 05:59:34.062315 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.062434 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.062583 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.062723 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.062835 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.062931 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.063048 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.063179 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.063316 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.063459 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.063608 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: 05:59:34.063650 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: 05:59:34.063672 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.063731 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: 05:59:34.063770 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: 05:59:34.063790 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.063809 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.063848 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.063871 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.063901 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.063930 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: 05:59:34.063959 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.063980 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 05:59:34.064031 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974064008000 2:1679291974064008000 3:"Bob" 4:"Smith" 5:1] gorptest: 05:59:34.064150 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 05:59:34.064247 delete from "invoice_test"; [] gorptest: 05:59:34.064316 delete from "invoice_tag_test"; [] gorptest: 05:59:34.064379 delete from "alias_trans_field_test"; [] gorptest: 05:59:34.064433 delete from "invoice_override_test"; [] gorptest: 05:59:34.064511 delete from "person_test"; [] gorptest: 05:59:34.064566 delete from "ignored_column_test"; [] gorptest: 05:59:34.064618 delete from "id_created_test"; [] gorptest: 05:59:34.064688 delete from "type_conv_test"; [] gorptest: 05:59:34.064766 delete from "embedded_struct_test"; [] gorptest: 05:59:34.064830 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.064895 delete from "embedded_autoincr_test"; [] gorptest: 05:59:34.064953 delete from "time_test"; [] gorptest: 05:59:34.065022 delete from "id_created_test"; [] gorptest: 05:59:34.065089 SELECT * FROM person_test [] gorptest: 05:59:34.065151 SELECT * FROM invoice_test [] gorptest: 05:59:34.065205 drop table if exists "invoice_test"; [] gorptest: 05:59:34.065320 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.065407 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.065513 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.065676 drop table if exists "person_test"; [] gorptest: 05:59:34.065798 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.065904 drop table if exists "id_created_test"; [] gorptest: 05:59:34.065999 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.066099 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.066187 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.066288 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.066384 drop table if exists "time_test"; [] gorptest: 05:59:34.066474 drop table if exists "id_created_test"; [] gorptest: 05:59:34.066572 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 05:59:34.066938 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-03-20 05:59:34 +0000 UTC] gorptest: 05:59:34.067035 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 05:59:34.067098 drop table if exists "WithCustomDate"; [] gorptest: 05:59:34.067279 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 05:59:34.067595 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 05:59:34.067812 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 05:59:34.067954 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 05:59:34.068047 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 05:59:34.068127 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 05:59:34.068204 drop table if exists "PersonUInt64"; [] gorptest: 05:59:34.068335 drop table if exists "PersonUInt32"; [] gorptest: 05:59:34.068437 drop table if exists "PersonUInt16"; [] gorptest: 05:59:34.068606 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 05:59:34.068909 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 05:59:34.069011 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 05:59:34.069053 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 05:59:34.069085 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 05:59:34.069168 drop table if exists "UniqueColumns"; [] gorptest: 05:59:34.069461 drop table if exists PersistentUser [] gorptest: 05:59:34.069613 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 05:59:34.069814 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 05:59:34.069934 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 05:59:34.069987 select * from PersistentUser [] gorptest: 05:59:34.070050 select * from PersistentUser [] gorptest: 05:59:34.070088 select * from PersistentUser [] gorptest: 05:59:34.070130 select Id from PersistentUser [] gorptest: 05:59:34.070172 select mykey from PersistentUser [] gorptest: 05:59:34.070200 select PassedTraining from PersistentUser [] gorptest: 05:59:34.070226 select Id from PersistentUser [] gorptest: 05:59:34.070253 drop table if exists "PersistentUser"; [] gorptest: 05:59:34.070427 drop table if exists PersistentUser [] gorptest: 05:59:34.070575 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 05:59:34.070727 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 05:59:34.070806 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 05:59:34.070913 select * from PersistentUser where mykey = ? [1:43] gorptest: 05:59:34.070980 select * from PersistentUser where mykey = ? [1:43] gorptest: 05:59:34.071035 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 05:59:34.071098 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 05:59:34.071142 drop table if exists "PersistentUser"; [] gorptest: 05:59:34.071340 drop table if exists PersistentUser [] gorptest: 05:59:34.071513 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 05:59:34.071673 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 05:59:34.071836 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 05:59:34.071932 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 05:59:34.071994 drop table if exists "PersistentUser"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.072192 drop table if exists "invoice_test"; [] gorptest: 05:59:34.072322 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.072341 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.072360 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.072378 drop table if exists "person_test"; [] gorptest: 05:59:34.072394 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.072411 drop table if exists "id_created_test"; [] gorptest: 05:59:34.072427 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.072444 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.072460 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.072477 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.072494 drop table if exists "time_test"; [] gorptest: 05:59:34.072520 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.072669 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: 05:59:34.072818 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.072938 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.073085 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.073209 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.073334 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.073463 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.073588 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.073736 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.073872 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.074008 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.074122 select * from invoice_test where id=99999 [] gorptest: 05:59:34.074187 select * from invoice_test where id=99999 [] gorptest: 05:59:34.074238 drop table if exists "invoice_test"; [] gorptest: 05:59:34.074350 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.074467 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.074561 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.074740 drop table if exists "person_test"; [] gorptest: 05:59:34.074839 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.074933 drop table if exists "id_created_test"; [] gorptest: 05:59:34.075015 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.075114 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.075202 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.075310 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.075398 drop table if exists "time_test"; [] gorptest: 05:59:34.075502 drop table if exists "id_created_test"; [] gorptest: 05:59:34.075590 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 05:59:34.075974 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: 05:59:34.076034 drop table if exists "InvoicePersonView"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.076296 drop table if exists "invoice_test"; [] gorptest: 05:59:34.076440 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.076460 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.076477 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.076493 drop table if exists "person_test"; [] gorptest: 05:59:34.076510 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.076525 drop table if exists "id_created_test"; [] gorptest: 05:59:34.076542 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.076558 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.076578 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.076594 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.076610 drop table if exists "time_test"; [] gorptest: 05:59:34.076639 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.076800 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: 05:59:34.076927 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.077038 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.077171 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.077314 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.077423 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.077553 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.077670 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.077825 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.077945 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.078055 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.078188 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974078175460 2:1679291974078175460 3:"Bob" 4:"Smith" 5:1] gorptest: 05:59:34.078278 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.078360 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1679291974078175460 2:1679291974078175460 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 05:59:34.078461 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1679291974078175460 2:1679291974078175460 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 05:59:34.078513 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.078562 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 05:59:34.078602 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.078640 drop table if exists "invoice_test"; [] gorptest: 05:59:34.078769 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.078871 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.078964 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.079137 drop table if exists "person_test"; [] gorptest: 05:59:34.079243 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.079332 drop table if exists "id_created_test"; [] gorptest: 05:59:34.079420 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.079511 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.079600 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.079688 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.079804 drop table if exists "time_test"; [] gorptest: 05:59:34.079884 drop table if exists "id_created_test"; [] gorptest: 05:59:34.080009 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 05:59:34.080291 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 05:59:34.080390 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 05:59:34.080475 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: 05:59:34.080570 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 05:59:34.080624 drop table if exists "TableWithNull"; [] gorptest: 05:59:34.080885 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 05:59:34.081162 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 05:59:34.081263 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 05:59:34.081315 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 05:59:34.081366 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 05:59:34.081397 drop table if exists "Invoice"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.081718 drop table if exists "invoice_test"; [] gorptest: 05:59:34.081877 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.081895 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.081921 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.081937 drop table if exists "person_test"; [] gorptest: 05:59:34.081976 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.081995 drop table if exists "id_created_test"; [] gorptest: 05:59:34.082009 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.082024 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.082039 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.082060 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.082077 drop table if exists "time_test"; [] gorptest: 05:59:34.082097 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.082259 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: 05:59:34.082403 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.082540 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.082742 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.082864 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.082978 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.083105 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.083229 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.083371 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.083505 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.083641 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.083808 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974083788327 2:1679291974083788327 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.083912 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 05:59:34.083992 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 05:59:34.084058 drop table if exists "invoice_test"; [] gorptest: 05:59:34.084178 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.084278 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.084373 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.084529 drop table if exists "person_test"; [] gorptest: 05:59:34.084631 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.084743 drop table if exists "id_created_test"; [] gorptest: 05:59:34.084839 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.084937 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.085027 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.085116 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.085204 drop table if exists "time_test"; [] gorptest: 05:59:34.085291 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.085427 drop table if exists "invoice_test"; [] gorptest: 05:59:34.085546 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.085562 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.085575 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.085589 drop table if exists "person_test"; [] gorptest: 05:59:34.085603 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.085617 drop table if exists "id_created_test"; [] gorptest: 05:59:34.085631 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.085645 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.085668 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.085682 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.085720 drop table if exists "time_test"; [] gorptest: 05:59:34.085745 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.085895 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: 05:59:34.086021 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.086154 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.086305 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.086425 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.086557 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.086669 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.086982 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.087104 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.087237 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.087357 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.087504 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974087480568 2:1679291974087480568 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.087594 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.087658 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1679291974087480568 2:1679291974087480568 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 05:59:34.087769 select * from person_test where id = ? [1:1] gorptest: 05:59:34.087839 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 05:59:34.087919 drop table if exists "invoice_test"; [] gorptest: 05:59:34.088022 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.088123 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.088220 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.088374 drop table if exists "person_test"; [] gorptest: 05:59:34.088480 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.088582 drop table if exists "id_created_test"; [] gorptest: 05:59:34.088668 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.088798 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.088880 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.088978 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.089072 drop table if exists "time_test"; [] gorptest: 05:59:34.089165 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.089299 drop table if exists "invoice_test"; [] gorptest: 05:59:34.089424 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.089441 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.089465 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.089479 drop table if exists "person_test"; [] gorptest: 05:59:34.089494 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.089508 drop table if exists "id_created_test"; [] gorptest: 05:59:34.089522 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.089537 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.089552 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.089573 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.089589 drop table if exists "time_test"; [] gorptest: 05:59:34.089610 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.089779 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: 05:59:34.089915 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.090049 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.090210 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.090330 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.090439 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.090548 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.090663 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.090869 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.090996 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.091124 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.091239 begin; [] gorptest: 05:59:34.091275 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 05:59:34.091352 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 05:59:34.091374 commit; [] gorptest: 05:59:34.091436 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.091487 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 05:59:34.091543 drop table if exists "invoice_test"; [] gorptest: 05:59:34.091655 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.091781 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.091877 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.092043 drop table if exists "person_test"; [] gorptest: 05:59:34.092156 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.092255 drop table if exists "id_created_test"; [] gorptest: 05:59:34.092347 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.092438 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.092529 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.092623 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.092755 drop table if exists "time_test"; [] gorptest: 05:59:34.092862 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.092988 drop table if exists "invoice_test"; [] gorptest: 05:59:34.093124 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.093139 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.093154 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.093169 drop table if exists "person_test"; [] gorptest: 05:59:34.093183 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.093198 drop table if exists "id_created_test"; [] gorptest: 05:59:34.093213 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.093228 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.093244 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.093270 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.093285 drop table if exists "time_test"; [] gorptest: 05:59:34.093305 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.093455 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: 05:59:34.093599 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.093744 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.093910 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.094034 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.094147 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.094280 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.094394 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.094510 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.094626 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.094813 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.094942 begin; [] gorptest: 05:59:34.094971 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 05:59:34.095027 select memo from invoice_test [] gorptest: 05:59:34.095060 savepoint "foo" [1:] gorptest: 05:59:34.095079 select memo from invoice_test [] gorptest: 05:59:34.095104 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 05:59:34.095129 select memo from invoice_test [] gorptest: 05:59:34.095154 rollback to savepoint "foo" [1:] gorptest: 05:59:34.095163 select memo from invoice_test [] gorptest: 05:59:34.095175 rollback; [] gorptest: 05:59:34.095228 drop table if exists "invoice_test"; [] gorptest: 05:59:34.095352 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.095464 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.095550 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.095731 drop table if exists "person_test"; [] gorptest: 05:59:34.095835 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.095919 drop table if exists "id_created_test"; [] gorptest: 05:59:34.096015 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.096278 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.096382 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.096476 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.096567 drop table if exists "time_test"; [] gorptest: 05:59:34.096659 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.096808 drop table if exists "invoice_test"; [] gorptest: 05:59:34.096941 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.096957 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.096972 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.096988 drop table if exists "person_test"; [] gorptest: 05:59:34.097003 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.097025 drop table if exists "id_created_test"; [] gorptest: 05:59:34.097040 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.097054 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.097069 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.097086 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.097104 drop table if exists "time_test"; [] gorptest: 05:59:34.097132 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.097295 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: 05:59:34.097416 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.097539 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.097687 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.097824 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.097939 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.098058 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.098177 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.098297 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.098419 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.098531 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.098649 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 05:59:34.098811 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 05:59:34.098898 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 05:59:34.098986 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 05:59:34.099057 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.099136 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 05:59:34.099195 drop table if exists "invoice_test"; [] gorptest: 05:59:34.099314 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.099406 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.099490 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.099629 drop table if exists "person_test"; [] gorptest: 05:59:34.099739 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.099824 drop table if exists "id_created_test"; [] gorptest: 05:59:34.099903 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.100010 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.100107 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.100203 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.100314 drop table if exists "time_test"; [] gorptest: 05:59:34.100407 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.100531 drop table if exists "invoice_test"; [] gorptest: 05:59:34.100668 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.100686 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.100742 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.100761 drop table if exists "person_test"; [] gorptest: 05:59:34.100775 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.100790 drop table if exists "id_created_test"; [] gorptest: 05:59:34.100804 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.100821 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.100837 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.100852 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.100877 drop table if exists "time_test"; [] gorptest: 05:59:34.100899 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.101048 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: 05:59:34.101179 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.101315 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.101471 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.101600 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.101749 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.101865 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.102000 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.102116 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.102251 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.102367 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.102480 delete from invoice_test [] gorptest: 05:59:34.102566 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 05:59:34.102661 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.102822 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:1822860801490927559 2:3044489430622523168 3:"random 1437751628249543028" 4:0 5:true 6:1] gorptest: 05:59:34.102929 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.102982 select * from invoice_test [] gorptest: 05:59:34.103047 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.103128 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.103157 delete from invoice_tag_test [] gorptest: 05:59:34.103250 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: 05:59:34.103347 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.103414 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:8179881443124076658 2:1254928188353670606 3:"random 2006509616415420876" 4:33 5:false 6:1] gorptest: 05:59:34.103511 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.103563 select * from invoice_tag_test [] gorptest: 05:59:34.103623 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.103730 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.103763 delete from alias_trans_field_test [] gorptest: 05:59:34.103838 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 05:59:34.103912 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.103970 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 3008062722366505554" 2:1] gorptest: 05:59:34.104041 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.104079 select * from alias_trans_field_test [] gorptest: 05:59:34.104119 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.104194 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.104224 drop table if exists "invoice_test"; [] gorptest: 05:59:34.104353 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.104456 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.104554 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.104729 drop table if exists "person_test"; [] gorptest: 05:59:34.104831 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.104928 drop table if exists "id_created_test"; [] gorptest: 05:59:34.105018 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.105102 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.105201 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.105299 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.105422 drop table if exists "time_test"; [] gorptest: 05:59:34.105536 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.105661 drop table if exists "invoice_test"; [] gorptest: 05:59:34.105816 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.105850 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.105875 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.105895 drop table if exists "person_test"; [] gorptest: 05:59:34.105910 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.105926 drop table if exists "id_created_test"; [] gorptest: 05:59:34.105942 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.105964 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.105979 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.105995 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.106011 drop table if exists "time_test"; [] gorptest: 05:59:34.106038 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.106206 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: 05:59:34.106349 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.106469 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.106607 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.106799 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.106926 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.107050 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.107171 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.107299 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.107436 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.107539 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.107668 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 05:59:34.107769 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 05:59:34.107818 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 05:59:34.107908 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 05:59:34.107953 drop table if exists "invoice_test"; [] gorptest: 05:59:34.108059 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.108155 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.108248 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.108384 drop table if exists "person_test"; [] gorptest: 05:59:34.108487 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.108587 drop table if exists "id_created_test"; [] gorptest: 05:59:34.108680 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.108809 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.108899 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.108983 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.109069 drop table if exists "time_test"; [] gorptest: 05:59:34.109151 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.109283 drop table if exists "invoice_test"; [] gorptest: 05:59:34.109420 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.109435 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.109451 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.109466 drop table if exists "person_test"; [] gorptest: 05:59:34.109488 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.109514 drop table if exists "id_created_test"; [] gorptest: 05:59:34.109531 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.109546 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.109560 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.109575 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.109589 drop table if exists "time_test"; [] gorptest: 05:59:34.109617 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.109777 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: 05:59:34.109911 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.110023 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.110176 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.110300 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.110432 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.110548 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.110662 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.110802 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.110926 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.111037 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.111204 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: 05:59:34.111301 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 05:59:34.111389 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: 05:59:34.111475 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 05:59:34.111532 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 05:59:34.111621 drop table if exists "invoice_test"; [] gorptest: 05:59:34.111810 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.111915 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.112019 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.112178 drop table if exists "person_test"; [] gorptest: 05:59:34.112277 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.112380 drop table if exists "id_created_test"; [] gorptest: 05:59:34.112464 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.112552 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.112644 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.112752 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.112848 drop table if exists "time_test"; [] gorptest: 05:59:34.112950 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.113097 drop table if exists "invoice_test"; [] gorptest: 05:59:34.113248 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.113267 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.113283 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.113304 drop table if exists "person_test"; [] gorptest: 05:59:34.113321 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.113352 drop table if exists "id_created_test"; [] gorptest: 05:59:34.113369 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.113385 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.113401 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.113418 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.113434 drop table if exists "time_test"; [] gorptest: 05:59:34.113457 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.113600 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: 05:59:34.113767 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.113900 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.114056 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.114185 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.114292 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.114414 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.114536 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.114671 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.114835 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.114958 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.115116 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 05:59:34.115213 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 05:59:34.115267 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 05:59:34.115345 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 05:59:34.115384 select * from embedded_struct_test [] gorptest: 05:59:34.115431 drop table if exists "invoice_test"; [] gorptest: 05:59:34.115533 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.115629 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.115802 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.115961 drop table if exists "person_test"; [] gorptest: 05:59:34.116062 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.116158 drop table if exists "id_created_test"; [] gorptest: 05:59:34.116264 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.116368 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.116461 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.116556 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.116642 drop table if exists "time_test"; [] gorptest: 05:59:34.116756 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.116882 drop table if exists "invoice_test"; [] gorptest: 05:59:34.117009 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.117025 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.117039 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.117053 drop table if exists "person_test"; [] gorptest: 05:59:34.117068 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.117086 drop table if exists "id_created_test"; [] gorptest: 05:59:34.117100 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.117116 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.117147 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.117162 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.117177 drop table if exists "time_test"; [] gorptest: 05:59:34.117199 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.117341 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: 05:59:34.117480 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.117605 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.117785 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.117898 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.118005 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.118113 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.118233 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.118359 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.118478 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.118617 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.118786 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 05:59:34.118870 drop table if exists "invoice_test"; [] gorptest: 05:59:34.118978 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.119064 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.119170 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.119305 drop table if exists "person_test"; [] gorptest: 05:59:34.119405 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.119502 drop table if exists "id_created_test"; [] gorptest: 05:59:34.119593 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.119720 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.119819 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.119917 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.120008 drop table if exists "time_test"; [] gorptest: 05:59:34.120106 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.120223 drop table if exists "invoice_test"; [] gorptest: 05:59:34.120355 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.120372 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.120388 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.120404 drop table if exists "person_test"; [] gorptest: 05:59:34.120427 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.120445 drop table if exists "id_created_test"; [] gorptest: 05:59:34.120460 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.120476 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.120491 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.120507 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.120522 drop table if exists "time_test"; [] gorptest: 05:59:34.120547 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.120682 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: 05:59:34.120875 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.120997 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.121134 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.121250 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.121366 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.121489 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.121622 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.121758 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.121886 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.122028 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.122169 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 05:59:34.122281 drop table if exists "invoice_test"; [] gorptest: 05:59:34.122383 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.122482 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.122587 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.122805 drop table if exists "person_test"; [] gorptest: 05:59:34.122919 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.123031 drop table if exists "id_created_test"; [] gorptest: 05:59:34.123135 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.123228 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.123320 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.123411 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.123512 drop table if exists "time_test"; [] gorptest: 05:59:34.123605 drop table if exists "id_created_test"; [] gorptest: 05:59:34.123713 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 05:59:34.123995 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: 05:59:34.124083 select Int64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.124126 select count(*) from TableWithNull [] gorptest: 05:59:34.124153 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 05:59:34.124189 select Int64 from TableWithNull where Str='notfound' [] gorptest: 05:59:34.124227 select Int64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.124264 select Float64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.124289 select min(Float64) from TableWithNull [] gorptest: 05:59:34.124327 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 05:59:34.124362 select Float64 from TableWithNull where Str='notfound' [] gorptest: 05:59:34.124383 select Float64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.124409 select Str from TableWithNull where Int64=? [1:78] gorptest: 05:59:34.124435 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 05:59:34.124466 select Str from TableWithNull where Int64=? [1:78] gorptest: 05:59:34.124501 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 05:59:34.124536 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 05:59:34.124565 select Str from TableWithNull where Int64=? [1:78] gorptest: 05:59:34.124589 drop table if exists "TableWithNull"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.124856 drop table if exists "invoice_test"; [] gorptest: 05:59:34.124984 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.125001 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.125016 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.125037 drop table if exists "person_test"; [] gorptest: 05:59:34.125057 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.125073 drop table if exists "id_created_test"; [] gorptest: 05:59:34.125087 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.125102 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.125118 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.125145 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.125166 drop table if exists "time_test"; [] gorptest: 05:59:34.125189 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.125348 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: 05:59:34.125469 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.125587 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.125750 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.125866 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.125974 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.126071 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.126186 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.126313 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.126428 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.126550 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.126675 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974126651178 2:1679291974126651178 3:"Bob" 4:"Smith" 5:1] gorptest: 05:59:34.126844 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974126834912 2:1679291974126834912 3:"Jane" 4:"Smith" 5:1] gorptest: 05:59:34.126943 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974126931487 2:1679291974126931487 3:"Mike" 4:"Smith" 5:1] gorptest: 05:59:34.127031 drop table if exists "invoice_test"; [] gorptest: 05:59:34.127146 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.127260 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.127358 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.127495 drop table if exists "person_test"; [] gorptest: 05:59:34.127597 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.127688 drop table if exists "id_created_test"; [] gorptest: 05:59:34.127798 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.127875 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.127964 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.128055 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.128147 drop table if exists "time_test"; [] gorptest: 05:59:34.128229 drop table if exists "id_created_test"; [] gorptest: 05:59:34.128311 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 05:59:34.128592 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 05:59:34.128665 drop table if exists "string_pk_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.129170 drop table if exists "invoice_test"; [] gorptest: 05:59:34.129301 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.129320 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.129337 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.129353 drop table if exists "person_test"; [] gorptest: 05:59:34.129369 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.129385 drop table if exists "id_created_test"; [] gorptest: 05:59:34.129401 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.129417 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.129433 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.129453 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.129470 drop table if exists "time_test"; [] gorptest: 05:59:34.129492 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.129635 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: 05:59:34.129784 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.129919 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.130059 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.130201 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.130322 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.130446 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.130584 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.130771 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.130911 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.131038 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.131179 insert into "time_test" ("Id","Time") values (null,?); [1:2023-03-20 05:28:34.13116807 +0000 UTC] gorptest: 05:59:34.131283 insert into "time_test" ("Id","Time") values (null,?); [1:2023-03-20 05:29:35.13116807 +0000 UTC] gorptest: 05:59:34.131370 SELECT id FROM time_test WHERE Time < ? [1:2023-03-20 05:29:34.13116807 +0000 UTC] gorptest: 05:59:34.131422 drop table if exists "invoice_test"; [] gorptest: 05:59:34.131545 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.131657 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.131775 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.131916 drop table if exists "person_test"; [] gorptest: 05:59:34.132022 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.132118 drop table if exists "id_created_test"; [] gorptest: 05:59:34.132226 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.132323 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.132425 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.132512 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.132617 drop table if exists "time_test"; [] gorptest: 05:59:34.132760 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.132874 drop table if exists "invoice_test"; [] gorptest: 05:59:34.132994 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.133009 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.133022 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.133040 drop table if exists "person_test"; [] gorptest: 05:59:34.133054 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.133068 drop table if exists "id_created_test"; [] gorptest: 05:59:34.133082 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.133096 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.133110 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.133124 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.133139 drop table if exists "time_test"; [] gorptest: 05:59:34.133165 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.133324 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: 05:59:34.133453 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.133571 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.133723 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.133851 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.133952 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.134058 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.134169 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.134282 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.134392 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.134510 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.134624 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974134611801 2:1679291974134611801 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.134797 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 05:59:34.134889 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 05:59:34.134963 drop table if exists "invoice_test"; [] gorptest: 05:59:34.135085 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.135201 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.135296 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.135437 drop table if exists "person_test"; [] gorptest: 05:59:34.135538 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.135632 drop table if exists "id_created_test"; [] gorptest: 05:59:34.135743 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.135827 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.135923 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.136013 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.136097 drop table if exists "time_test"; [] gorptest: 05:59:34.136183 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.136307 drop table if exists "invoice_test"; [] gorptest: 05:59:34.136441 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.136457 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.136473 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.136495 drop table if exists "person_test"; [] gorptest: 05:59:34.136510 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.136524 drop table if exists "id_created_test"; [] gorptest: 05:59:34.136538 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.136552 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.136566 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.136582 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.136608 drop table if exists "time_test"; [] gorptest: 05:59:34.136642 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.136839 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: 05:59:34.136988 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.137108 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.137266 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.137384 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.137492 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.137604 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.137743 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.137868 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.137997 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.138107 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.139954 drop table if exists "invoice_test"; [] gorptest: 05:59:34.140232 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.140268 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.140285 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.140302 drop table if exists "person_test"; [] gorptest: 05:59:34.140338 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.140356 drop table if exists "id_created_test"; [] gorptest: 05:59:34.140371 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.140387 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.140425 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.140444 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.140460 drop table if exists "time_test"; [] gorptest: 05:59:34.140497 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.140688 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: 05:59:34.140884 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.141047 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.141220 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.141379 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.141526 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.141675 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.141848 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.142010 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.142166 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.142319 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.144833 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974144819403 2:1679291974144819403 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.144984 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974144970828 2:1679291974144970828 3:"jane" 4:"doe" 5:1] gorptest: 05:59:34.145125 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.145197 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 05:59:34.145283 select * from person_test where Id=? [1:1] gorptest: 05:59:34.145359 select * from person_test order by fname asc [] gorptest: 05:59:34.145450 drop table if exists "invoice_test"; [] gorptest: 05:59:34.145656 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.145839 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.145972 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.148089 drop table if exists "person_test"; [] gorptest: 05:59:34.148249 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.148376 drop table if exists "id_created_test"; [] gorptest: 05:59:34.148477 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.148571 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.148686 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.148806 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.148895 drop table if exists "time_test"; [] gorptest: 05:59:34.149006 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.149137 drop table if exists "invoice_test"; [] gorptest: 05:59:34.149268 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.149286 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.149302 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.149317 drop table if exists "person_test"; [] gorptest: 05:59:34.149333 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.149352 drop table if exists "id_created_test"; [] gorptest: 05:59:34.149368 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.149384 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.149399 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.149415 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.149431 drop table if exists "time_test"; [] gorptest: 05:59:34.149452 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.149594 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: 05:59:34.151490 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.151644 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.151829 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.151955 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.152091 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.152223 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.152353 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.152486 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.152608 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.152751 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.152886 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974152873525 2:1679291974152873525 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.152974 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.153030 select * from person_test where Id=? [1:1] gorptest: 05:59:34.153096 select FName from person_test where Id=? [1:1] gorptest: 05:59:34.153124 select * from person_test where Id=? [1:1] gorptest: 05:59:34.153184 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 05:59:34.153241 select * from person_test where Id=? [1:-2222] gorptest: 05:59:34.153293 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974153278135 2:1679291974153278135 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.153388 select * from person_test where Fname='bob' [] gorptest: 05:59:34.153463 select * from person_test where Id=-123 [] gorptest: 05:59:34.153490 select * from person_test where Id=-123 [] gorptest: 05:59:34.153524 select * from person_test where Id=-123 [] gorptest: 05:59:34.153546 select * from person_test where Id=-123 [] gorptest: 05:59:34.153568 drop table if exists "invoice_test"; [] gorptest: 05:59:34.153673 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.153805 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.153895 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.154065 drop table if exists "person_test"; [] gorptest: 05:59:34.154165 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.154255 drop table if exists "id_created_test"; [] gorptest: 05:59:34.154348 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.154439 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.154529 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.154623 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.154740 drop table if exists "time_test"; [] gorptest: 05:59:34.154835 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.154989 drop table if exists "invoice_test"; [] gorptest: 05:59:34.155147 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.155178 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.155196 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.155219 drop table if exists "person_test"; [] gorptest: 05:59:34.155237 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.155253 drop table if exists "id_created_test"; [] gorptest: 05:59:34.155275 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.155290 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.155305 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.155320 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.155336 drop table if exists "time_test"; [] gorptest: 05:59:34.155366 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.155520 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: 05:59:34.155654 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.155792 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.155941 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.156042 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.156163 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.156279 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.156397 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.156521 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.156654 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.156794 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.156928 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 05:59:34.157006 select * from id_created_test where Id=1 [] gorptest: 05:59:34.157059 SELECT *, 1 AS external FROM id_created_test [] gorptest: 05:59:34.157134 drop table if exists "invoice_test"; [] gorptest: 05:59:34.157496 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.157610 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.157737 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.157937 drop table if exists "person_test"; [] gorptest: 05:59:34.158052 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.158158 drop table if exists "id_created_test"; [] gorptest: 05:59:34.158269 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.158373 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.158468 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.158563 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.158674 drop table if exists "time_test"; [] gorptest: 05:59:34.160865 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.161060 drop table if exists "invoice_test"; [] gorptest: 05:59:34.161205 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.161222 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.161236 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.161262 drop table if exists "person_test"; [] gorptest: 05:59:34.161277 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.161292 drop table if exists "id_created_test"; [] gorptest: 05:59:34.161317 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.161334 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.161348 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.161363 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.161377 drop table if exists "time_test"; [] gorptest: 05:59:34.161401 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.161547 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: 05:59:34.161681 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.161817 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.161975 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.162093 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.162208 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.162336 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.162471 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.162586 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.162737 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.162868 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.162997 drop table if exists "invoice_test"; [] gorptest: 05:59:34.163111 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.163222 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.163316 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.163489 drop table if exists "person_test"; [] gorptest: 05:59:34.163594 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.163686 drop table if exists "id_created_test"; [] gorptest: 05:59:34.163818 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.163911 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.164004 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.164114 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.164232 drop table if exists "time_test"; [] gorptest: 05:59:34.164327 drop table if exists "id_created_test"; [] gorptest: 05:59:34.164348 drop table if exists "single_column_table"; [] gorptest: 05:59:34.164382 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: 05:59:34.164522 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: 05:59:34.164641 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.164810 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: 05:59:34.164959 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: 05:59:34.165076 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.165181 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.165289 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.165406 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.165517 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.165619 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: 05:59:34.165755 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.165876 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 05:59:34.165899 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 05:59:34.166018 delete from "invoice_test"; [] gorptest: 05:59:34.166077 delete from "invoice_tag_test"; [] gorptest: 05:59:34.166149 delete from "alias_trans_field_test"; [] gorptest: 05:59:34.166205 delete from "invoice_override_test"; [] gorptest: 05:59:34.166271 delete from "person_test"; [] gorptest: 05:59:34.166325 delete from "ignored_column_test"; [] gorptest: 05:59:34.166388 delete from "id_created_test"; [] gorptest: 05:59:34.166450 delete from "type_conv_test"; [] gorptest: 05:59:34.166503 delete from "embedded_struct_test"; [] gorptest: 05:59:34.166555 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.166606 delete from "embedded_autoincr_test"; [] gorptest: 05:59:34.166667 delete from "time_test"; [] gorptest: 05:59:34.170820 delete from "id_created_test"; [] gorptest: 05:59:34.170891 delete from "single_column_table"; [] gorptest: 05:59:34.170973 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 05:59:34.171025 drop table if exists "invoice_test"; [] gorptest: 05:59:34.171138 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.171227 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.171322 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.171485 drop table if exists "person_test"; [] gorptest: 05:59:34.171580 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.171676 drop table if exists "id_created_test"; [] gorptest: 05:59:34.171801 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.171888 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.171975 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.172072 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.172160 drop table if exists "time_test"; [] gorptest: 05:59:34.172245 drop table if exists "id_created_test"; [] gorptest: 05:59:34.172264 drop table if exists "single_column_table"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.172558 drop table if exists "invoice_test"; [] gorptest: 05:59:34.172742 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.172758 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.172774 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.172789 drop table if exists "person_test"; [] gorptest: 05:59:34.172816 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.172831 drop table if exists "id_created_test"; [] gorptest: 05:59:34.172846 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.172864 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.172881 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.172903 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.172918 drop table if exists "time_test"; [] gorptest: 05:59:34.172949 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.173115 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: 05:59:34.173252 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.173389 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.173532 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.173671 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.173806 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.173934 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.174060 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.174177 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.174292 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.174416 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.174555 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 05:59:34.174655 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 05:59:34.174783 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 05:59:34.174867 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 05:59:34.174943 begin; [] gorptest: 05:59:34.174980 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 05:59:34.175060 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 05:59:34.175307 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 05:59:34.175394 commit; [] gorptest: 05:59:34.175471 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 05:59:34.175555 drop table if exists "invoice_test"; [] gorptest: 05:59:34.175751 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.175851 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.175943 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.176122 drop table if exists "person_test"; [] gorptest: 05:59:34.176222 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.176319 drop table if exists "id_created_test"; [] gorptest: 05:59:34.176409 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.176491 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.176583 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.176686 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.179491 drop table if exists "time_test"; [] gorptest: 05:59:34.179604 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.130s gopkg.in/gorp.v1 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.699751 drop table if exists "invoice_test"; [] gorptest: 05:59:34.700010 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.700028 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.700042 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.700057 drop table if exists "person_test"; [] gorptest: 05:59:34.700071 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.700086 drop table if exists "id_created_test"; [] gorptest: 05:59:34.700101 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.700115 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.700132 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.700146 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.700160 drop table if exists "time_test"; [] gorptest: 05:59:34.700184 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.700369 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: 05:59:34.700499 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.700615 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.700790 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.700915 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.701032 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.701150 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.701294 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.702031 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.702629 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.703258 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.703733 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: 05:59:34.703768 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: 05:59:34.704109 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.704309 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: 05:59:34.704374 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: 05:59:34.704414 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.704434 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.704454 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.704502 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.704523 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.704578 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: 05:59:34.704602 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.704623 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 05:59:34.704656 drop table if exists "invoice_test"; [] gorptest: 05:59:34.704906 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.705061 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.705217 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.705467 drop table if exists "person_test"; [] gorptest: 05:59:34.705877 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.706355 drop table if exists "id_created_test"; [] gorptest: 05:59:34.706905 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.707294 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.707488 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.707669 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.707929 drop table if exists "time_test"; [] gorptest: 05:59:34.708115 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.708487 drop table if exists "invoice_test"; [] gorptest: 05:59:34.708759 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.708779 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.708794 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.708900 drop table if exists "person_test"; [] gorptest: 05:59:34.709059 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.709080 drop table if exists "id_created_test"; [] gorptest: 05:59:34.709096 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.709115 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.709131 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.709147 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.709162 drop table if exists "time_test"; [] gorptest: 05:59:34.709186 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.709823 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: 05:59:34.709956 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.710440 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.710617 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.710778 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.710907 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.711009 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.711144 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.711290 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.711406 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.711521 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.711660 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: 05:59:34.711726 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: 05:59:34.711751 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.711780 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: 05:59:34.711801 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: 05:59:34.711820 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.711838 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.711865 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.711887 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.711910 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.711933 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: 05:59:34.711963 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.711985 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 05:59:34.712036 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974712008784 2:1679291974712008784 3:"Bob" 4:"Smith" 5:1] gorptest: 05:59:34.712150 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 05:59:34.712226 delete from "invoice_test"; [] gorptest: 05:59:34.712298 delete from "invoice_tag_test"; [] gorptest: 05:59:34.712351 delete from "alias_trans_field_test"; [] gorptest: 05:59:34.712414 delete from "invoice_override_test"; [] gorptest: 05:59:34.712474 delete from "person_test"; [] gorptest: 05:59:34.712527 delete from "ignored_column_test"; [] gorptest: 05:59:34.712591 delete from "id_created_test"; [] gorptest: 05:59:34.712667 delete from "type_conv_test"; [] gorptest: 05:59:34.712753 delete from "embedded_struct_test"; [] gorptest: 05:59:34.712815 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.712889 delete from "embedded_autoincr_test"; [] gorptest: 05:59:34.712987 delete from "time_test"; [] gorptest: 05:59:34.713049 delete from "id_created_test"; [] gorptest: 05:59:34.713123 SELECT * FROM person_test [] gorptest: 05:59:34.713197 SELECT * FROM invoice_test [] gorptest: 05:59:34.713245 drop table if exists "invoice_test"; [] gorptest: 05:59:34.713363 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.713462 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.713545 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.713737 drop table if exists "person_test"; [] gorptest: 05:59:34.713844 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.713936 drop table if exists "id_created_test"; [] gorptest: 05:59:34.714022 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.714102 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.714200 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.714293 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.714386 drop table if exists "time_test"; [] gorptest: 05:59:34.714478 drop table if exists "id_created_test"; [] gorptest: 05:59:34.714616 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 05:59:34.714966 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-03-20 05:59:34 +0000 UTC] gorptest: 05:59:34.715056 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 05:59:34.715123 drop table if exists "WithCustomDate"; [] gorptest: 05:59:34.715315 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 05:59:34.715589 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 05:59:34.715729 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 05:59:34.715851 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 05:59:34.715954 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 05:59:34.716038 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 05:59:34.716114 drop table if exists "PersonUInt64"; [] gorptest: 05:59:34.716240 drop table if exists "PersonUInt32"; [] gorptest: 05:59:34.716341 drop table if exists "PersonUInt16"; [] gorptest: 05:59:34.716557 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 05:59:34.716953 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 05:59:34.717049 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 05:59:34.717096 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 05:59:34.717127 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 05:59:34.717208 drop table if exists "UniqueColumns"; [] gorptest: 05:59:34.717510 drop table if exists PersistentUser [] gorptest: 05:59:34.717748 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 05:59:34.717904 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 05:59:34.718015 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 05:59:34.718068 select * from PersistentUser [] gorptest: 05:59:34.718155 select * from PersistentUser [] gorptest: 05:59:34.718195 select * from PersistentUser [] gorptest: 05:59:34.718236 select Id from PersistentUser [] gorptest: 05:59:34.718261 select mykey from PersistentUser [] gorptest: 05:59:34.718284 select PassedTraining from PersistentUser [] gorptest: 05:59:34.718309 select Id from PersistentUser [] gorptest: 05:59:34.718335 drop table if exists "PersistentUser"; [] gorptest: 05:59:34.718525 drop table if exists PersistentUser [] gorptest: 05:59:34.718791 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 05:59:34.718953 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 05:59:34.719049 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 05:59:34.719167 select * from PersistentUser where mykey = ? [1:43] gorptest: 05:59:34.719237 select * from PersistentUser where mykey = ? [1:43] gorptest: 05:59:34.719286 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 05:59:34.719358 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 05:59:34.719402 drop table if exists "PersistentUser"; [] gorptest: 05:59:34.719614 drop table if exists PersistentUser [] gorptest: 05:59:34.719816 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 05:59:34.719969 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 05:59:34.720065 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 05:59:34.720158 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 05:59:34.720231 drop table if exists "PersistentUser"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.720515 drop table if exists "invoice_test"; [] gorptest: 05:59:34.720670 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.720739 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.720762 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.720778 drop table if exists "person_test"; [] gorptest: 05:59:34.720795 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.720811 drop table if exists "id_created_test"; [] gorptest: 05:59:34.720826 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.720842 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.720858 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.720874 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.720890 drop table if exists "time_test"; [] gorptest: 05:59:34.720915 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.721066 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: 05:59:34.721194 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.721315 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.721474 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.721589 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.721731 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.721849 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.721983 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.722102 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.722236 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.722364 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.722498 select * from invoice_test where id=99999 [] gorptest: 05:59:34.722556 select * from invoice_test where id=99999 [] gorptest: 05:59:34.722604 drop table if exists "invoice_test"; [] gorptest: 05:59:34.722764 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.722868 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.722976 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.723153 drop table if exists "person_test"; [] gorptest: 05:59:34.723261 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.723376 drop table if exists "id_created_test"; [] gorptest: 05:59:34.723472 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.723563 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.723655 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.723782 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.723879 drop table if exists "time_test"; [] gorptest: 05:59:34.723972 drop table if exists "id_created_test"; [] gorptest: 05:59:34.724069 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 05:59:34.724390 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: 05:59:34.724442 drop table if exists "InvoicePersonView"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.724769 drop table if exists "invoice_test"; [] gorptest: 05:59:34.724937 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.724953 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.724969 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.724990 drop table if exists "person_test"; [] gorptest: 05:59:34.725006 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.725020 drop table if exists "id_created_test"; [] gorptest: 05:59:34.725035 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.725051 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.725082 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.725098 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.725113 drop table if exists "time_test"; [] gorptest: 05:59:34.725140 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.725287 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: 05:59:34.725419 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.725538 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.725676 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.725831 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.725941 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.726063 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.726178 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.726311 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.726433 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.726569 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.726753 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974726684669 2:1679291974726684669 3:"Bob" 4:"Smith" 5:1] gorptest: 05:59:34.726857 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.726926 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1679291974726684669 2:1679291974726684669 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 05:59:34.727022 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1679291974726684669 2:1679291974726684669 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 05:59:34.727062 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.727119 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 05:59:34.727152 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.727195 drop table if exists "invoice_test"; [] gorptest: 05:59:34.727320 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.727430 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.727516 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.727668 drop table if exists "person_test"; [] gorptest: 05:59:34.727807 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.727904 drop table if exists "id_created_test"; [] gorptest: 05:59:34.728017 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.728112 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.728283 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.728447 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.728594 drop table if exists "time_test"; [] gorptest: 05:59:34.728753 drop table if exists "id_created_test"; [] gorptest: 05:59:34.728934 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 05:59:34.729323 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 05:59:34.729459 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 05:59:34.729565 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: 05:59:34.729724 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 05:59:34.729798 drop table if exists "TableWithNull"; [] gorptest: 05:59:34.730039 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 05:59:34.730419 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 05:59:34.730557 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 05:59:34.730626 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 05:59:34.730751 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 05:59:34.730795 drop table if exists "Invoice"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.731257 drop table if exists "invoice_test"; [] gorptest: 05:59:34.731426 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.731443 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.731479 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.731499 drop table if exists "person_test"; [] gorptest: 05:59:34.731525 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.731558 drop table if exists "id_created_test"; [] gorptest: 05:59:34.731581 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.731597 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.731634 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.731651 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.731673 drop table if exists "time_test"; [] gorptest: 05:59:34.731722 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.731909 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: 05:59:34.732072 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.732229 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.732446 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.732588 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.732757 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.732913 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.733032 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.733154 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.733309 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.733429 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.733553 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974733540873 2:1679291974733540873 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.733652 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 05:59:34.733761 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 05:59:34.733832 drop table if exists "invoice_test"; [] gorptest: 05:59:34.733970 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.734080 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.734179 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.734326 drop table if exists "person_test"; [] gorptest: 05:59:34.734424 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.734510 drop table if exists "id_created_test"; [] gorptest: 05:59:34.734603 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.734731 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.734824 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.734918 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.735012 drop table if exists "time_test"; [] gorptest: 05:59:34.735113 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.735268 drop table if exists "invoice_test"; [] gorptest: 05:59:34.735436 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.735455 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.735475 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.735492 drop table if exists "person_test"; [] gorptest: 05:59:34.735509 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.735526 drop table if exists "id_created_test"; [] gorptest: 05:59:34.735542 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.735559 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.735574 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.735610 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.735627 drop table if exists "time_test"; [] gorptest: 05:59:34.735650 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.735814 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: 05:59:34.735942 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.736063 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.736202 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.736321 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.736429 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.736537 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.736648 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.736809 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.736929 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.737036 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.737171 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974737153781 2:1679291974737153781 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.737272 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.737333 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1679291974737153781 2:1679291974737153781 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 05:59:34.737419 select * from person_test where id = ? [1:1] gorptest: 05:59:34.737482 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 05:59:34.737567 drop table if exists "invoice_test"; [] gorptest: 05:59:34.737683 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.737856 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.737954 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.738131 drop table if exists "person_test"; [] gorptest: 05:59:34.738260 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.738369 drop table if exists "id_created_test"; [] gorptest: 05:59:34.738465 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.738575 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.738670 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.738803 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.738901 drop table if exists "time_test"; [] gorptest: 05:59:34.738994 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.739159 drop table if exists "invoice_test"; [] gorptest: 05:59:34.739308 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.739327 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.739344 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.739361 drop table if exists "person_test"; [] gorptest: 05:59:34.739384 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.739400 drop table if exists "id_created_test"; [] gorptest: 05:59:34.739416 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.739450 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.739472 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.739490 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.739506 drop table if exists "time_test"; [] gorptest: 05:59:34.739529 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.739677 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: 05:59:34.739895 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.740017 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.740159 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.740276 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.740381 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.740488 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.740626 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.740759 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.740879 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.740998 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.741115 begin; [] gorptest: 05:59:34.741167 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 05:59:34.741261 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 05:59:34.741313 commit; [] gorptest: 05:59:34.741391 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.741463 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 05:59:34.741504 drop table if exists "invoice_test"; [] gorptest: 05:59:34.741641 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.741801 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.741907 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.742074 drop table if exists "person_test"; [] gorptest: 05:59:34.742182 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.742280 drop table if exists "id_created_test"; [] gorptest: 05:59:34.742375 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.742466 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.742549 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.742635 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.742792 drop table if exists "time_test"; [] gorptest: 05:59:34.742890 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.743108 drop table if exists "invoice_test"; [] gorptest: 05:59:34.743246 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.743265 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.743281 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.743299 drop table if exists "person_test"; [] gorptest: 05:59:34.743315 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.743331 drop table if exists "id_created_test"; [] gorptest: 05:59:34.743347 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.743367 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.743384 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.743401 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.743417 drop table if exists "time_test"; [] gorptest: 05:59:34.743439 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.743581 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: 05:59:34.743752 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.743874 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.744015 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.744130 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.744236 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.744357 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.744479 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.744579 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.744720 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.744837 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.744949 begin; [] gorptest: 05:59:34.745002 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 05:59:34.745079 select memo from invoice_test [] gorptest: 05:59:34.745121 savepoint "foo" [1:] gorptest: 05:59:34.745128 select memo from invoice_test [] gorptest: 05:59:34.745195 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 05:59:34.745240 select memo from invoice_test [] gorptest: 05:59:34.745275 rollback to savepoint "foo" [1:] gorptest: 05:59:34.745284 select memo from invoice_test [] gorptest: 05:59:34.745296 rollback; [] gorptest: 05:59:34.745349 drop table if exists "invoice_test"; [] gorptest: 05:59:34.745492 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.745588 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.745675 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.745904 drop table if exists "person_test"; [] gorptest: 05:59:34.746014 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.746100 drop table if exists "id_created_test"; [] gorptest: 05:59:34.746179 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.746270 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.746348 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.746451 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.746545 drop table if exists "time_test"; [] gorptest: 05:59:34.746636 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.746817 drop table if exists "invoice_test"; [] gorptest: 05:59:34.746987 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.747005 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.747021 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.747038 drop table if exists "person_test"; [] gorptest: 05:59:34.747055 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.747080 drop table if exists "id_created_test"; [] gorptest: 05:59:34.747097 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.747113 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.747129 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.747145 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.747161 drop table if exists "time_test"; [] gorptest: 05:59:34.747183 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.747325 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: 05:59:34.747448 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.747570 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.747779 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.747903 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.748009 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.748116 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.748226 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.748335 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.748450 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.748592 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.748742 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 05:59:34.748843 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 05:59:34.748938 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 05:59:34.749025 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 05:59:34.749107 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.749194 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 05:59:34.749265 drop table if exists "invoice_test"; [] gorptest: 05:59:34.749395 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.749496 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.749604 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.749803 drop table if exists "person_test"; [] gorptest: 05:59:34.749919 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.750024 drop table if exists "id_created_test"; [] gorptest: 05:59:34.750118 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.750208 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.750302 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.750398 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.750501 drop table if exists "time_test"; [] gorptest: 05:59:34.750593 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.750783 drop table if exists "invoice_test"; [] gorptest: 05:59:34.750923 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.750939 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.750954 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.750969 drop table if exists "person_test"; [] gorptest: 05:59:34.750991 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.751006 drop table if exists "id_created_test"; [] gorptest: 05:59:34.751030 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.751045 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.751059 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.751085 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.751111 drop table if exists "time_test"; [] gorptest: 05:59:34.751132 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.751300 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: 05:59:34.751424 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.751535 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.751739 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.751889 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.752003 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.752117 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.752233 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.752345 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.752462 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.752578 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.752744 delete from invoice_test [] gorptest: 05:59:34.752832 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 05:59:34.752925 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.753003 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:1300070607282038409 2:687818261318821176 3:"random 255749062561973695" 4:0 5:true 6:1] gorptest: 05:59:34.753109 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.753160 select * from invoice_test [] gorptest: 05:59:34.753220 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.753298 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 05:59:34.753331 delete from invoice_tag_test [] gorptest: 05:59:34.753408 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: 05:59:34.753497 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.753552 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:5199558079438321319 2:6070934123884395788 3:"random 2978590254890596997" 4:33 5:false 6:1] gorptest: 05:59:34.753633 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.753723 select * from invoice_tag_test [] gorptest: 05:59:34.753788 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.753867 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 05:59:34.753897 delete from alias_trans_field_test [] gorptest: 05:59:34.753973 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 05:59:34.754061 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.754115 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 1107653274854434795" 2:1] gorptest: 05:59:34.754188 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.754227 select * from alias_trans_field_test [] gorptest: 05:59:34.754277 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.754367 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 05:59:34.754396 drop table if exists "invoice_test"; [] gorptest: 05:59:34.754531 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.754649 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.754838 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.754995 drop table if exists "person_test"; [] gorptest: 05:59:34.755099 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.755195 drop table if exists "id_created_test"; [] gorptest: 05:59:34.755288 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.755377 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.755461 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.755559 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.755642 drop table if exists "time_test"; [] gorptest: 05:59:34.755746 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.755906 drop table if exists "invoice_test"; [] gorptest: 05:59:34.756058 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.756075 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.756090 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.756105 drop table if exists "person_test"; [] gorptest: 05:59:34.756128 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.756143 drop table if exists "id_created_test"; [] gorptest: 05:59:34.756170 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.756185 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.756199 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.756213 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.756229 drop table if exists "time_test"; [] gorptest: 05:59:34.756250 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.756400 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: 05:59:34.756522 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.756636 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.756820 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.756951 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.757087 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.757203 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.757319 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.757434 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.757554 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.757665 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.757846 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 05:59:34.757932 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 05:59:34.757980 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 05:59:34.758050 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 05:59:34.758080 drop table if exists "invoice_test"; [] gorptest: 05:59:34.758184 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.758278 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.758367 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.758506 drop table if exists "person_test"; [] gorptest: 05:59:34.758599 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.758719 drop table if exists "id_created_test"; [] gorptest: 05:59:34.758819 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.758910 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.758998 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.759119 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.759222 drop table if exists "time_test"; [] gorptest: 05:59:34.759305 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.759459 drop table if exists "invoice_test"; [] gorptest: 05:59:34.759614 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.759630 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.759644 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.759659 drop table if exists "person_test"; [] gorptest: 05:59:34.759673 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.759687 drop table if exists "id_created_test"; [] gorptest: 05:59:34.759780 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.759802 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.759819 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.759841 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.759856 drop table if exists "time_test"; [] gorptest: 05:59:34.759877 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.760044 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: 05:59:34.760188 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.760324 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.760488 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.760619 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.760766 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.760884 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.761011 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.761146 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.761270 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.761407 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.761582 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: 05:59:34.761720 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 05:59:34.761791 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: 05:59:34.761902 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 05:59:34.761951 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 05:59:34.762036 drop table if exists "invoice_test"; [] gorptest: 05:59:34.762140 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.762244 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.762336 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.762484 drop table if exists "person_test"; [] gorptest: 05:59:34.762573 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.762663 drop table if exists "id_created_test"; [] gorptest: 05:59:34.762820 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.762926 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.763020 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.763125 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.763284 drop table if exists "time_test"; [] gorptest: 05:59:34.763427 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.763613 drop table if exists "invoice_test"; [] gorptest: 05:59:34.763826 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.763845 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.763881 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.763898 drop table if exists "person_test"; [] gorptest: 05:59:34.763917 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.763948 drop table if exists "id_created_test"; [] gorptest: 05:59:34.763966 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.763982 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.763997 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.764030 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.764047 drop table if exists "time_test"; [] gorptest: 05:59:34.764069 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.764267 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: 05:59:34.764430 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.764623 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.764874 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.765035 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.765186 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.765334 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.765511 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.765651 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.765830 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.765986 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.766142 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 05:59:34.766281 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 05:59:34.766352 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 05:59:34.766470 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 05:59:34.766525 select * from embedded_struct_test [] gorptest: 05:59:34.766591 drop table if exists "invoice_test"; [] gorptest: 05:59:34.766780 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.766917 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.767023 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.767215 drop table if exists "person_test"; [] gorptest: 05:59:34.767367 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.767519 drop table if exists "id_created_test"; [] gorptest: 05:59:34.767620 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.767770 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.767908 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.768005 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.768110 drop table if exists "time_test"; [] gorptest: 05:59:34.768214 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.768380 drop table if exists "invoice_test"; [] gorptest: 05:59:34.768535 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.768559 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.768573 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.768588 drop table if exists "person_test"; [] gorptest: 05:59:34.768620 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.768637 drop table if exists "id_created_test"; [] gorptest: 05:59:34.768651 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.768669 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.768687 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.768760 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.768777 drop table if exists "time_test"; [] gorptest: 05:59:34.768799 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.768980 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: 05:59:34.769112 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.769262 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.769427 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.769552 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.769666 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.769813 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.769935 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.770053 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.770170 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.770310 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.770434 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 05:59:34.770517 drop table if exists "invoice_test"; [] gorptest: 05:59:34.770618 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.770759 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.770858 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.770991 drop table if exists "person_test"; [] gorptest: 05:59:34.771096 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.771188 drop table if exists "id_created_test"; [] gorptest: 05:59:34.771276 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.771365 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.771454 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.771548 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.771636 drop table if exists "time_test"; [] gorptest: 05:59:34.771753 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.771916 drop table if exists "invoice_test"; [] gorptest: 05:59:34.772067 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.772084 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.772099 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.772127 drop table if exists "person_test"; [] gorptest: 05:59:34.772142 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.772157 drop table if exists "id_created_test"; [] gorptest: 05:59:34.772171 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.772190 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.772213 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.772228 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.772243 drop table if exists "time_test"; [] gorptest: 05:59:34.772263 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.772415 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: 05:59:34.772534 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.772656 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.772845 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.772980 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.773097 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.773193 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.773304 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.773429 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.773542 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.773652 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.773824 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 05:59:34.773911 drop table if exists "invoice_test"; [] gorptest: 05:59:34.774027 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.774112 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.774204 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.774354 drop table if exists "person_test"; [] gorptest: 05:59:34.774445 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.774549 drop table if exists "id_created_test"; [] gorptest: 05:59:34.774642 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.774809 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.774904 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.775019 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.775128 drop table if exists "time_test"; [] gorptest: 05:59:34.775233 drop table if exists "id_created_test"; [] gorptest: 05:59:34.775366 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 05:59:34.775707 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: 05:59:34.775800 select Int64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.775852 select count(*) from TableWithNull [] gorptest: 05:59:34.775881 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 05:59:34.775911 select Int64 from TableWithNull where Str='notfound' [] gorptest: 05:59:34.775938 select Int64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.775963 select Float64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.775988 select min(Float64) from TableWithNull [] gorptest: 05:59:34.776041 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 05:59:34.776074 select Float64 from TableWithNull where Str='notfound' [] gorptest: 05:59:34.776099 select Float64 from TableWithNull where Str='abc' [] gorptest: 05:59:34.776127 select Str from TableWithNull where Int64=? [1:78] gorptest: 05:59:34.776154 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 05:59:34.776184 select Str from TableWithNull where Int64=? [1:78] gorptest: 05:59:34.776212 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 05:59:34.776242 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 05:59:34.776277 select Str from TableWithNull where Int64=? [1:78] gorptest: 05:59:34.776306 drop table if exists "TableWithNull"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.776544 drop table if exists "invoice_test"; [] gorptest: 05:59:34.776724 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.776746 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.776764 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.776781 drop table if exists "person_test"; [] gorptest: 05:59:34.776797 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.776813 drop table if exists "id_created_test"; [] gorptest: 05:59:34.776828 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.776844 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.776859 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.776875 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.776890 drop table if exists "time_test"; [] gorptest: 05:59:34.776912 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.777049 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: 05:59:34.777167 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.777278 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.777419 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.777541 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.777655 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.777826 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.777944 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.778061 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.778204 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.778336 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.778473 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974778461136 2:1679291974778461136 3:"Bob" 4:"Smith" 5:1] gorptest: 05:59:34.778569 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974778553601 2:1679291974778553601 3:"Jane" 4:"Smith" 5:1] gorptest: 05:59:34.778662 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974778654205 2:1679291974778654205 3:"Mike" 4:"Smith" 5:1] gorptest: 05:59:34.778769 drop table if exists "invoice_test"; [] gorptest: 05:59:34.778867 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.778980 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.779089 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.779241 drop table if exists "person_test"; [] gorptest: 05:59:34.779366 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.779464 drop table if exists "id_created_test"; [] gorptest: 05:59:34.779576 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.779670 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.779854 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.779952 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.780035 drop table if exists "time_test"; [] gorptest: 05:59:34.780137 drop table if exists "id_created_test"; [] gorptest: 05:59:34.780228 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 05:59:34.780498 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 05:59:34.780579 drop table if exists "string_pk_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.781080 drop table if exists "invoice_test"; [] gorptest: 05:59:34.781239 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.781255 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.781270 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.781285 drop table if exists "person_test"; [] gorptest: 05:59:34.781301 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.781326 drop table if exists "id_created_test"; [] gorptest: 05:59:34.781341 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.781356 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.781370 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.781385 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.781399 drop table if exists "time_test"; [] gorptest: 05:59:34.781420 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.781569 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: 05:59:34.781688 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.781853 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.781999 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.782138 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.782253 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.782386 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.782502 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.782616 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.782795 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.782919 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.783041 insert into "time_test" ("Id","Time") values (null,?); [1:2023-03-20 05:28:34.783031068 +0000 UTC] gorptest: 05:59:34.783139 insert into "time_test" ("Id","Time") values (null,?); [1:2023-03-20 05:29:35.783031068 +0000 UTC] gorptest: 05:59:34.783223 SELECT id FROM time_test WHERE Time < ? [1:2023-03-20 05:29:34.783031068 +0000 UTC] gorptest: 05:59:34.783273 drop table if exists "invoice_test"; [] gorptest: 05:59:34.783379 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.783472 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.783560 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.783710 drop table if exists "person_test"; [] gorptest: 05:59:34.783821 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.783913 drop table if exists "id_created_test"; [] gorptest: 05:59:34.784002 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.784092 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.784181 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.784271 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.784360 drop table if exists "time_test"; [] gorptest: 05:59:34.784455 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.784605 drop table if exists "invoice_test"; [] gorptest: 05:59:34.784811 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.784829 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.784845 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.784861 drop table if exists "person_test"; [] gorptest: 05:59:34.784880 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.784899 drop table if exists "id_created_test"; [] gorptest: 05:59:34.784914 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.784930 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.784946 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.784961 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.784977 drop table if exists "time_test"; [] gorptest: 05:59:34.784998 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.785135 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: 05:59:34.785253 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.785391 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.785522 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.785641 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.785782 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.785898 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.786033 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.786153 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.786294 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.786429 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.786575 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974786556452 2:1679291974786556452 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.786741 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 05:59:34.786850 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 05:59:34.786927 drop table if exists "invoice_test"; [] gorptest: 05:59:34.787055 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.787172 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.787281 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.787432 drop table if exists "person_test"; [] gorptest: 05:59:34.787534 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.787645 drop table if exists "id_created_test"; [] gorptest: 05:59:34.787763 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.787876 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.787981 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.788084 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.788217 drop table if exists "time_test"; [] gorptest: 05:59:34.788359 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.788567 drop table if exists "invoice_test"; [] gorptest: 05:59:34.788778 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.788806 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.788837 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.788852 drop table if exists "person_test"; [] gorptest: 05:59:34.788867 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.788882 drop table if exists "id_created_test"; [] gorptest: 05:59:34.788917 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.788931 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.788946 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.788960 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.788989 drop table if exists "time_test"; [] gorptest: 05:59:34.789016 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.789194 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: 05:59:34.789344 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.789528 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.789720 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.789886 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.790030 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.790186 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.790338 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.790505 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.790677 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.790903 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.793018 drop table if exists "invoice_test"; [] gorptest: 05:59:34.793163 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.793181 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.793196 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.793219 drop table if exists "person_test"; [] gorptest: 05:59:34.793235 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.793251 drop table if exists "id_created_test"; [] gorptest: 05:59:34.793266 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.793281 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.793300 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.793317 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.793351 drop table if exists "time_test"; [] gorptest: 05:59:34.793375 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.793515 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: 05:59:34.793659 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.793795 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.793922 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.794058 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.794170 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.794296 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.794423 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.794558 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.794739 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.794870 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.795023 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974795001546 2:1679291974795001546 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.795137 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974795128658 2:1679291974795128658 3:"jane" 4:"doe" 5:1] gorptest: 05:59:34.795245 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.795310 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 05:59:34.795356 select * from person_test where Id=? [1:1] gorptest: 05:59:34.795426 select * from person_test order by fname asc [] gorptest: 05:59:34.795506 drop table if exists "invoice_test"; [] gorptest: 05:59:34.795620 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.795752 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.795864 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.796008 drop table if exists "person_test"; [] gorptest: 05:59:34.796114 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.796210 drop table if exists "id_created_test"; [] gorptest: 05:59:34.796303 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.796397 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.796490 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.796605 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.796744 drop table if exists "time_test"; [] gorptest: 05:59:34.796845 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.797009 drop table if exists "invoice_test"; [] gorptest: 05:59:34.797169 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.797184 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.797198 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.797213 drop table if exists "person_test"; [] gorptest: 05:59:34.797227 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.797243 drop table if exists "id_created_test"; [] gorptest: 05:59:34.797264 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.797280 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.797294 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.797308 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.797329 drop table if exists "time_test"; [] gorptest: 05:59:34.797349 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.797495 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: 05:59:34.797611 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.797757 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.797903 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.798045 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.798151 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.798266 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.798416 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.798535 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.798652 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.798826 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.798956 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974798942848 2:1679291974798942848 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.799051 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 05:59:34.799114 select * from person_test where Id=? [1:1] gorptest: 05:59:34.799183 select FName from person_test where Id=? [1:1] gorptest: 05:59:34.799220 select * from person_test where Id=? [1:1] gorptest: 05:59:34.799279 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 05:59:34.799327 select * from person_test where Id=? [1:-2222] gorptest: 05:59:34.799377 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1679291974799369425 2:1679291974799369425 3:"bob" 4:"smith" 5:1] gorptest: 05:59:34.799464 select * from person_test where Fname='bob' [] gorptest: 05:59:34.799534 select * from person_test where Id=-123 [] gorptest: 05:59:34.799566 select * from person_test where Id=-123 [] gorptest: 05:59:34.799590 select * from person_test where Id=-123 [] gorptest: 05:59:34.799615 select * from person_test where Id=-123 [] gorptest: 05:59:34.799639 drop table if exists "invoice_test"; [] gorptest: 05:59:34.799778 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.799878 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.799969 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.800105 drop table if exists "person_test"; [] gorptest: 05:59:34.800207 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.800302 drop table if exists "id_created_test"; [] gorptest: 05:59:34.800391 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.800481 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.800571 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.800660 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.800807 drop table if exists "time_test"; [] gorptest: 05:59:34.800922 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.801070 drop table if exists "invoice_test"; [] gorptest: 05:59:34.801206 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.801221 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.801236 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.801250 drop table if exists "person_test"; [] gorptest: 05:59:34.801265 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.801279 drop table if exists "id_created_test"; [] gorptest: 05:59:34.801294 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.801309 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.801323 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.801340 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.801355 drop table if exists "time_test"; [] gorptest: 05:59:34.801377 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.801503 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: 05:59:34.801603 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.801743 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.801872 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.801988 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.802089 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.802186 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.802284 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.802393 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.802503 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.802599 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.802744 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 05:59:34.802821 select * from id_created_test where Id=1 [] gorptest: 05:59:34.802875 SELECT *, 1 AS external FROM id_created_test [] gorptest: 05:59:34.802931 drop table if exists "invoice_test"; [] gorptest: 05:59:34.803276 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.803367 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.803451 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.803595 drop table if exists "person_test"; [] gorptest: 05:59:34.803677 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.803793 drop table if exists "id_created_test"; [] gorptest: 05:59:34.803880 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.803972 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.804056 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.804137 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.804229 drop table if exists "time_test"; [] gorptest: 05:59:34.804310 drop table if exists "id_created_test"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.804512 drop table if exists "invoice_test"; [] gorptest: 05:59:34.804635 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.804651 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.804666 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.804681 drop table if exists "person_test"; [] gorptest: 05:59:34.804719 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.804736 drop table if exists "id_created_test"; [] gorptest: 05:59:34.804751 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.804766 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.804781 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.804796 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.804811 drop table if exists "time_test"; [] gorptest: 05:59:34.804833 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.804975 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: 05:59:34.805090 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.805188 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.805320 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.805428 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.805526 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.805630 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.805793 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.805916 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.806044 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.806163 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.806277 drop table if exists "invoice_test"; [] gorptest: 05:59:34.806418 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.806518 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.806612 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.806795 drop table if exists "person_test"; [] gorptest: 05:59:34.806895 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.806988 drop table if exists "id_created_test"; [] gorptest: 05:59:34.807087 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.807179 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.807268 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.807363 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.807454 drop table if exists "time_test"; [] gorptest: 05:59:34.807544 drop table if exists "id_created_test"; [] gorptest: 05:59:34.807564 drop table if exists "single_column_table"; [] gorptest: 05:59:34.807588 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: 05:59:34.807779 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: 05:59:34.807904 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.808016 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: 05:59:34.808148 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: 05:59:34.808261 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.808366 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.808476 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.808589 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.808731 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.808856 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: 05:59:34.808970 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.809095 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 05:59:34.809119 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 05:59:34.809248 delete from "invoice_test"; [] gorptest: 05:59:34.809305 delete from "invoice_tag_test"; [] gorptest: 05:59:34.809358 delete from "alias_trans_field_test"; [] gorptest: 05:59:34.809410 delete from "invoice_override_test"; [] gorptest: 05:59:34.809468 delete from "person_test"; [] gorptest: 05:59:34.809520 delete from "ignored_column_test"; [] gorptest: 05:59:34.809572 delete from "id_created_test"; [] gorptest: 05:59:34.809633 delete from "type_conv_test"; [] gorptest: 05:59:34.809688 delete from "embedded_struct_test"; [] gorptest: 05:59:34.809795 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.809852 delete from "embedded_autoincr_test"; [] gorptest: 05:59:34.809926 delete from "time_test"; [] gorptest: 05:59:34.809985 delete from "id_created_test"; [] gorptest: 05:59:34.810039 delete from "single_column_table"; [] gorptest: 05:59:34.810104 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 05:59:34.810141 drop table if exists "invoice_test"; [] gorptest: 05:59:34.810228 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.810309 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.810388 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.810511 drop table if exists "person_test"; [] gorptest: 05:59:34.810607 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.810707 drop table if exists "id_created_test"; [] gorptest: 05:59:34.810799 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.810893 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.810971 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.811047 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.811143 drop table if exists "time_test"; [] gorptest: 05:59:34.811224 drop table if exists "id_created_test"; [] gorptest: 05:59:34.811242 drop table if exists "single_column_table"; [] 2023/03/20 05:59:34 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 05:59:34.811505 drop table if exists "invoice_test"; [] gorptest: 05:59:34.811644 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.811661 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.811676 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.811690 drop table if exists "person_test"; [] gorptest: 05:59:34.811759 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.811778 drop table if exists "id_created_test"; [] gorptest: 05:59:34.811793 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.811807 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.811822 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.811848 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.811863 drop table if exists "time_test"; [] gorptest: 05:59:34.811883 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.812015 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: 05:59:34.812139 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 05:59:34.812236 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 05:59:34.812372 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 05:59:34.812470 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.812574 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 05:59:34.812671 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 05:59:34.812807 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 05:59:34.812911 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 05:59:34.813010 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 05:59:34.813134 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 05:59:34.813268 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 05:59:34.813359 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 05:59:34.813431 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 05:59:34.813501 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 05:59:34.813567 begin; [] gorptest: 05:59:34.813591 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 05:59:34.813665 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 05:59:34.814000 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 05:59:34.814055 commit; [] gorptest: 05:59:34.814118 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 05:59:34.814176 drop table if exists "invoice_test"; [] gorptest: 05:59:34.814336 drop table if exists "invoice_tag_test"; [] gorptest: 05:59:34.814429 drop table if exists "alias_trans_field_test"; [] gorptest: 05:59:34.814511 drop table if exists "invoice_override_test"; [] gorptest: 05:59:34.814682 drop table if exists "person_test"; [] gorptest: 05:59:34.814799 drop table if exists "ignored_column_test"; [] gorptest: 05:59:34.814880 drop table if exists "id_created_test"; [] gorptest: 05:59:34.814959 drop table if exists "type_conv_test"; [] gorptest: 05:59:34.815037 drop table if exists "embedded_struct_test"; [] gorptest: 05:59:34.815137 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 05:59:34.815229 drop table if exists "embedded_autoincr_test"; [] gorptest: 05:59:34.815313 drop table if exists "time_test"; [] gorptest: 05:59:34.815420 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.118s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-5.fc39.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1CRZGx Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pjCz55 + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/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-5.fc39.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(gopkg.in/gorp.v1) = 1.7.2-5.fc39 golang-gopkg-gorp-1-devel = 1.7.2-5.fc39 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-5.fc39 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-5.fc39.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-5.fc39 golang(github.com/go-gorp/gorp/v1) = 1.7.2-5.fc39 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-5.fc39 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-5.fc39 Obsoletes: golang-github-gorp-1-devel < 1.7.2-5.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc39.x86_64 Wrote: /builddir/build/RPMS/compat-golang-github-gorp-1-devel-1.7.2-5.fc39.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-5.fc39.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IwD9n0 + 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-5.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.OL1M4y + 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