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-1674794462.208540/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.aus_0xa4:/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.aus_0xa4:/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', '57c6bbd5d7084a0ebd2da19911885ec3', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674794462.208540/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aus_0xa4:/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.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1674794462.208540/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.aus_0xa4:/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.aus_0xa4:/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', '3824272cdd69492d98b0d507d1385134', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1674794462.208540/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.aus_0xa4:/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.TBunm9 + 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.a6XtJk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64 + cd gorp-1.7.2 + cd /builddir/build/BUILD/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i gopkg.in/gorp.v1 -b /builddir/build/BUILD/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/gorp-1.7.2/_build -o golang-gopkg-gorp-1-devel.file-list -O /builddir/build/BUILD/gorp-1.7.2 -V 1.7.2-5.fc38 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64 -g /usr/share/gocode -r '.*example.*' Installing: gopkg.in/gorp.v1 realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md +++ sort -u realpath: CONTRIBUTING.md: No such file or directory ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + install -m 0755 -d /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo /usr/share/gocode/src/github.com/go-gorp/gorp/v1 + echo '%dir "/usr/share/gocode/src/github.com/go-gorp/gorp"' + echo '%dir "/usr/share/gocode/src/github.com/go-gorp"' + echo '%dir "/usr/share/gocode/src/github.com"' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XUSRpd + 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.fc38 -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/gorp-1.7.2/_build/src PATH: /builddir/build/BUILD/gorp-1.7.2/_build/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/gorp-1.7.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X gopkg.in/gorp.v1/version=1.7.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: gopkg.in/gorp.v1 gopkg.in/gorp.v1 2023/01/27 04:42:55 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: 04:42:55.528223 drop table if exists "invoice_test"; [] gorptest: 04:42:55.528526 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.528546 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.528560 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.528574 drop table if exists "person_test"; [] gorptest: 04:42:55.528589 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.528605 drop table if exists "id_created_test"; [] gorptest: 04:42:55.528619 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.528632 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.528646 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.528665 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.528679 drop table if exists "time_test"; [] gorptest: 04:42:55.528705 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.528924 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: 04:42:55.529062 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.529183 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.529314 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.529452 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.529564 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.529676 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.529790 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.529897 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.529996 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.530087 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.530188 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: 04:42:55.530212 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: 04:42:55.530231 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.530250 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: 04:42:55.530271 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: 04:42:55.530288 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.530305 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.530323 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.530341 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.530362 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.530384 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: 04:42:55.530401 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.530419 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 04:42:55.530455 drop table if exists "invoice_test"; [] gorptest: 04:42:55.530588 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.530678 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.530756 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.530906 drop table if exists "person_test"; [] gorptest: 04:42:55.530985 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.531058 drop table if exists "id_created_test"; [] gorptest: 04:42:55.531133 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.531206 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.531282 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.531357 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.531458 drop table if exists "time_test"; [] gorptest: 04:42:55.531548 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.531855 drop table if exists "invoice_test"; [] gorptest: 04:42:55.532009 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.532032 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.532047 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.532062 drop table if exists "person_test"; [] gorptest: 04:42:55.532076 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.532091 drop table if exists "id_created_test"; [] gorptest: 04:42:55.532105 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.532119 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.532133 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.532148 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.532162 drop table if exists "time_test"; [] gorptest: 04:42:55.532183 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.532312 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: 04:42:55.532420 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.532543 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.532671 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.532769 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.532858 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.532947 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.533052 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.533146 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.533349 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.533527 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.533684 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: 04:42:55.533757 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: 04:42:55.533780 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.533801 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: 04:42:55.533824 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: 04:42:55.533843 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.533897 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.533919 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.533938 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.534003 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.534028 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: 04:42:55.534053 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.534072 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 04:42:55.534137 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575534093111 2:1674794575534093111 3:"Bob" 4:"Smith" 5:1] gorptest: 04:42:55.534353 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 04:42:55.534640 delete from "invoice_test"; [] gorptest: 04:42:55.534771 delete from "invoice_tag_test"; [] gorptest: 04:42:55.534897 delete from "alias_trans_field_test"; [] gorptest: 04:42:55.534995 delete from "invoice_override_test"; [] gorptest: 04:42:55.535096 delete from "person_test"; [] gorptest: 04:42:55.535156 delete from "ignored_column_test"; [] gorptest: 04:42:55.535212 delete from "id_created_test"; [] gorptest: 04:42:55.535272 delete from "type_conv_test"; [] gorptest: 04:42:55.535331 delete from "embedded_struct_test"; [] gorptest: 04:42:55.535392 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.535479 delete from "embedded_autoincr_test"; [] gorptest: 04:42:55.535543 delete from "time_test"; [] gorptest: 04:42:55.535604 delete from "id_created_test"; [] gorptest: 04:42:55.535665 SELECT * FROM person_test [] gorptest: 04:42:55.535733 SELECT * FROM invoice_test [] gorptest: 04:42:55.535780 drop table if exists "invoice_test"; [] gorptest: 04:42:55.535898 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.535997 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.536092 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.536247 drop table if exists "person_test"; [] gorptest: 04:42:55.536351 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.536504 drop table if exists "id_created_test"; [] gorptest: 04:42:55.536598 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.536682 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.536761 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.536975 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.537170 drop table if exists "time_test"; [] gorptest: 04:42:55.537358 drop table if exists "id_created_test"; [] gorptest: 04:42:55.537559 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 04:42:55.537951 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-27 04:42:55 +0000 UTC] gorptest: 04:42:55.538042 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 04:42:55.538086 drop table if exists "WithCustomDate"; [] gorptest: 04:42:55.538330 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 04:42:55.538685 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 04:42:55.538840 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 04:42:55.538995 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 04:42:55.539119 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 04:42:55.539236 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 04:42:55.539311 drop table if exists "PersonUInt64"; [] gorptest: 04:42:55.539473 drop table if exists "PersonUInt32"; [] gorptest: 04:42:55.539601 drop table if exists "PersonUInt16"; [] gorptest: 04:42:55.539767 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 04:42:55.540185 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 04:42:55.540279 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 04:42:55.540322 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 04:42:55.540396 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 04:42:55.540571 drop table if exists "UniqueColumns"; [] gorptest: 04:42:55.540902 drop table if exists PersistentUser [] gorptest: 04:42:55.541096 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 04:42:55.541242 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 04:42:55.541318 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 04:42:55.541410 select * from PersistentUser [] gorptest: 04:42:55.541547 select * from PersistentUser [] gorptest: 04:42:55.541603 select * from PersistentUser [] gorptest: 04:42:55.541652 select Id from PersistentUser [] gorptest: 04:42:55.541683 select mykey from PersistentUser [] gorptest: 04:42:55.541711 select PassedTraining from PersistentUser [] gorptest: 04:42:55.541738 select Id from PersistentUser [] gorptest: 04:42:55.541765 drop table if exists "PersistentUser"; [] gorptest: 04:42:55.541938 drop table if exists PersistentUser [] gorptest: 04:42:55.542211 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 04:42:55.542398 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 04:42:55.542520 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 04:42:55.542616 select * from PersistentUser where mykey = ? [1:43] gorptest: 04:42:55.542673 select * from PersistentUser where mykey = ? [1:43] gorptest: 04:42:55.542720 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 04:42:55.542778 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 04:42:55.542821 drop table if exists "PersistentUser"; [] gorptest: 04:42:55.543023 drop table if exists PersistentUser [] gorptest: 04:42:55.543196 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 04:42:55.543329 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 04:42:55.543473 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 04:42:55.543590 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 04:42:55.543684 drop table if exists "PersistentUser"; [] 2023/01/27 04:42:55 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: 04:42:55.543987 drop table if exists "invoice_test"; [] gorptest: 04:42:55.544213 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.544231 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.544254 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.544271 drop table if exists "person_test"; [] gorptest: 04:42:55.544298 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.544316 drop table if exists "id_created_test"; [] gorptest: 04:42:55.544332 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.544348 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.544363 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.544380 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.544395 drop table if exists "time_test"; [] gorptest: 04:42:55.544438 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.544606 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: 04:42:55.544734 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.544856 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.545013 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.545134 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.545243 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.545352 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.545504 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.545620 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.545884 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.546130 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.546449 select * from invoice_test where id=99999 [] gorptest: 04:42:55.546541 select * from invoice_test where id=99999 [] gorptest: 04:42:55.546617 drop table if exists "invoice_test"; [] gorptest: 04:42:55.546791 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.546960 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.547122 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.547413 drop table if exists "person_test"; [] gorptest: 04:42:55.547565 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.547657 drop table if exists "id_created_test"; [] gorptest: 04:42:55.547753 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.547848 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.547941 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.548036 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.548131 drop table if exists "time_test"; [] gorptest: 04:42:55.548225 drop table if exists "id_created_test"; [] gorptest: 04:42:55.548352 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 04:42:55.548679 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: 04:42:55.548726 drop table if exists "InvoicePersonView"; [] 2023/01/27 04:42:55 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: 04:42:55.549006 drop table if exists "invoice_test"; [] gorptest: 04:42:55.549154 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.549171 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.549187 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.549202 drop table if exists "person_test"; [] gorptest: 04:42:55.549218 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.549233 drop table if exists "id_created_test"; [] gorptest: 04:42:55.549249 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.549264 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.549280 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.549296 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.549312 drop table if exists "time_test"; [] gorptest: 04:42:55.549333 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.549513 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: 04:42:55.549635 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.549747 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.549884 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.550000 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.550106 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.550213 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.550323 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.550462 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.550583 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.550695 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.550816 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575550801605 2:1674794575550801605 3:"Bob" 4:"Smith" 5:1] gorptest: 04:42:55.550908 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:55.550971 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674794575550801605 2:1674794575550801605 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 04:42:55.551059 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674794575550801605 2:1674794575550801605 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 04:42:55.551096 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:55.551196 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 04:42:55.551267 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:55.551344 drop table if exists "invoice_test"; [] gorptest: 04:42:55.551569 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.551739 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.551898 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.552187 drop table if exists "person_test"; [] gorptest: 04:42:55.552295 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.552444 drop table if exists "id_created_test"; [] gorptest: 04:42:55.552581 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.552708 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.552836 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.552968 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.553128 drop table if exists "time_test"; [] gorptest: 04:42:55.553253 drop table if exists "id_created_test"; [] gorptest: 04:42:55.553605 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 04:42:55.554098 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 04:42:55.554212 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 04:42:55.554327 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: 04:42:55.554772 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 04:42:55.554859 drop table if exists "TableWithNull"; [] gorptest: 04:42:55.555150 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 04:42:55.555607 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 04:42:55.555759 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 04:42:55.555813 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 04:42:55.555862 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 04:42:55.555895 drop table if exists "Invoice"; [] 2023/01/27 04:42:55 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: 04:42:55.556202 drop table if exists "invoice_test"; [] gorptest: 04:42:55.556353 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.556372 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.556389 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.556406 drop table if exists "person_test"; [] gorptest: 04:42:55.556422 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.556498 drop table if exists "id_created_test"; [] gorptest: 04:42:55.556515 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.556534 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.556552 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.556573 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.556589 drop table if exists "time_test"; [] gorptest: 04:42:55.556612 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.556760 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: 04:42:55.556878 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.557000 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.557134 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.557245 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.557351 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.557500 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.557620 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.557730 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.557840 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.557949 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.558070 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575558054818 2:1674794575558054818 3:"bob" 4:"smith" 5:1] gorptest: 04:42:55.558165 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 04:42:55.558245 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 04:42:55.558308 drop table if exists "invoice_test"; [] gorptest: 04:42:55.558411 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.558539 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.558630 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.558782 drop table if exists "person_test"; [] gorptest: 04:42:55.558883 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.559068 drop table if exists "id_created_test"; [] gorptest: 04:42:55.559233 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.559447 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.559673 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.559864 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.559991 drop table if exists "time_test"; [] gorptest: 04:42:55.560076 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.560321 drop table if exists "invoice_test"; [] gorptest: 04:42:55.560530 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.560546 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.560561 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.560617 drop table if exists "person_test"; [] gorptest: 04:42:55.560634 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.560652 drop table if exists "id_created_test"; [] gorptest: 04:42:55.560670 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.560685 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.560700 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.560715 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.560730 drop table if exists "time_test"; [] gorptest: 04:42:55.560784 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.561004 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: 04:42:55.561168 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.561288 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.561484 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.561637 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.561778 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.561925 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.562109 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.562321 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.562533 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.562685 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.562853 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575562841006 2:1674794575562841006 3:"bob" 4:"smith" 5:1] gorptest: 04:42:55.562995 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:55.563062 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674794575562841006 2:1674794575562841006 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 04:42:55.563147 select * from person_test where id = ? [1:1] gorptest: 04:42:55.563261 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 04:42:55.563343 drop table if exists "invoice_test"; [] gorptest: 04:42:55.563542 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.563691 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.563866 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.564030 drop table if exists "person_test"; [] gorptest: 04:42:55.564132 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.564223 drop table if exists "id_created_test"; [] gorptest: 04:42:55.564310 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.564471 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.564561 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.564653 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.564790 drop table if exists "time_test"; [] gorptest: 04:42:55.564889 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.565087 drop table if exists "invoice_test"; [] gorptest: 04:42:55.565242 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.565259 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.565275 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.565289 drop table if exists "person_test"; [] gorptest: 04:42:55.565303 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.565318 drop table if exists "id_created_test"; [] gorptest: 04:42:55.565336 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.565481 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.565499 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.565515 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.565573 drop table if exists "time_test"; [] gorptest: 04:42:55.565597 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.565748 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: 04:42:55.565875 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.566168 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.566349 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.566491 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.566600 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.566861 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.567016 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.567141 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.567261 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.567388 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.567533 begin; [] gorptest: 04:42:55.567576 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 04:42:55.567696 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 04:42:55.567718 commit; [] gorptest: 04:42:55.567833 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:55.567890 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 04:42:55.567971 drop table if exists "invoice_test"; [] gorptest: 04:42:55.568118 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.568214 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.568348 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.568546 drop table if exists "person_test"; [] gorptest: 04:42:55.568653 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.568750 drop table if exists "id_created_test"; [] gorptest: 04:42:55.568841 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.568935 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.569040 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.569136 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.569237 drop table if exists "time_test"; [] gorptest: 04:42:55.569327 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.569484 drop table if exists "invoice_test"; [] gorptest: 04:42:55.569632 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.569650 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.569666 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.569681 drop table if exists "person_test"; [] gorptest: 04:42:55.569697 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.569712 drop table if exists "id_created_test"; [] gorptest: 04:42:55.569728 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.569742 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.569758 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.569773 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.569788 drop table if exists "time_test"; [] gorptest: 04:42:55.569812 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.569950 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: 04:42:55.570070 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.570183 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.570316 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.570490 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.570602 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.570809 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.570992 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.571140 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.571293 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.571457 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.571606 begin; [] gorptest: 04:42:55.571692 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 04:42:55.571756 select memo from invoice_test [] gorptest: 04:42:55.571844 savepoint "foo" [1:] gorptest: 04:42:55.571852 select memo from invoice_test [] gorptest: 04:42:55.571896 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 04:42:55.571946 select memo from invoice_test [] gorptest: 04:42:55.572028 rollback to savepoint "foo" [1:] gorptest: 04:42:55.572040 select memo from invoice_test [] gorptest: 04:42:55.572096 rollback; [] gorptest: 04:42:55.572197 drop table if exists "invoice_test"; [] gorptest: 04:42:55.572480 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.572679 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.572845 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.573019 drop table if exists "person_test"; [] gorptest: 04:42:55.573122 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.573220 drop table if exists "id_created_test"; [] gorptest: 04:42:55.573315 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.573408 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.573561 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.573660 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.573755 drop table if exists "time_test"; [] gorptest: 04:42:55.573848 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.574041 drop table if exists "invoice_test"; [] gorptest: 04:42:55.574221 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.574274 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.574322 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.574340 drop table if exists "person_test"; [] gorptest: 04:42:55.574394 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.574462 drop table if exists "id_created_test"; [] gorptest: 04:42:55.574479 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.574493 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.574507 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.574522 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.574536 drop table if exists "time_test"; [] gorptest: 04:42:55.574556 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.574800 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: 04:42:55.574955 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.575141 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.575354 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.575596 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.575712 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.575825 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.575944 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.576057 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.576174 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.576290 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.576418 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 04:42:55.576548 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 04:42:55.576643 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 04:42:55.576729 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 04:42:55.576806 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:55.576874 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 04:42:55.576937 drop table if exists "invoice_test"; [] gorptest: 04:42:55.577054 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.577147 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.577243 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.577380 drop table if exists "person_test"; [] gorptest: 04:42:55.577525 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.577621 drop table if exists "id_created_test"; [] gorptest: 04:42:55.577713 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.577803 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.577894 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.577983 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.578072 drop table if exists "time_test"; [] gorptest: 04:42:55.578160 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.578313 drop table if exists "invoice_test"; [] gorptest: 04:42:55.578493 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.578514 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.578530 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.578545 drop table if exists "person_test"; [] gorptest: 04:42:55.578559 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.578573 drop table if exists "id_created_test"; [] gorptest: 04:42:55.578586 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.578600 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.578615 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.578629 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.578643 drop table if exists "time_test"; [] gorptest: 04:42:55.578666 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.578907 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: 04:42:55.579167 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.579479 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.579762 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.579916 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.580023 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.580202 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.580348 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.580482 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.580674 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.580824 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.580983 delete from invoice_test [] gorptest: 04:42:55.581095 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 04:42:55.581220 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:55.581333 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:4561859720340195651 2:1904441145310941100 3:"random 1538360831120302926" 4:0 5:true 6:1] gorptest: 04:42:55.581475 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:55.581523 select * from invoice_test [] gorptest: 04:42:55.581620 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:55.581693 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:55.581760 delete from invoice_tag_test [] gorptest: 04:42:55.581874 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: 04:42:55.581967 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:55.582030 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:7477346871642257257 2:9159764555727091148 3:"random 6893427615668943220" 4:33 5:false 6:1] gorptest: 04:42:55.582114 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:55.582156 select * from invoice_tag_test [] gorptest: 04:42:55.582227 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:55.582308 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:55.582341 delete from alias_trans_field_test [] gorptest: 04:42:55.582412 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 04:42:55.582563 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:55.582612 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 4137278026350877993" 2:1] gorptest: 04:42:55.582689 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:55.582723 select * from alias_trans_field_test [] gorptest: 04:42:55.582772 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:55.582847 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:55.582876 drop table if exists "invoice_test"; [] gorptest: 04:42:55.582980 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.583083 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.583179 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.583312 drop table if exists "person_test"; [] gorptest: 04:42:55.583407 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.583529 drop table if exists "id_created_test"; [] gorptest: 04:42:55.583622 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.583712 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.583802 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.583893 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.583981 drop table if exists "time_test"; [] gorptest: 04:42:55.584121 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.584540 drop table if exists "invoice_test"; [] gorptest: 04:42:55.584803 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.584854 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.584873 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.584887 drop table if exists "person_test"; [] gorptest: 04:42:55.584901 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.584917 drop table if exists "id_created_test"; [] gorptest: 04:42:55.584931 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.584945 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.584967 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.585019 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.585037 drop table if exists "time_test"; [] gorptest: 04:42:55.585091 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.585364 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: 04:42:55.585645 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.585834 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.586012 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.586165 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.586267 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.586414 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.586633 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.586749 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.586858 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.586968 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.587135 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 04:42:55.587224 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 04:42:55.587266 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 04:42:55.587335 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 04:42:55.587380 drop table if exists "invoice_test"; [] gorptest: 04:42:55.587551 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.587651 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.587794 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.587936 drop table if exists "person_test"; [] gorptest: 04:42:55.588081 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.588184 drop table if exists "id_created_test"; [] gorptest: 04:42:55.588325 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.588461 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.588563 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.588654 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.588796 drop table if exists "time_test"; [] gorptest: 04:42:55.588884 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.589109 drop table if exists "invoice_test"; [] gorptest: 04:42:55.589271 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.589289 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.589305 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.589319 drop table if exists "person_test"; [] gorptest: 04:42:55.589334 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.589348 drop table if exists "id_created_test"; [] gorptest: 04:42:55.589418 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.589458 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.589475 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.589491 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.589506 drop table if exists "time_test"; [] gorptest: 04:42:55.589531 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.589731 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: 04:42:55.589857 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.590016 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.590211 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.590331 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.590526 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.590650 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.590825 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.590944 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.591068 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.591184 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.591336 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: 04:42:55.591540 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 04:42:55.591727 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: 04:42:55.591938 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 04:42:55.592019 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 04:42:55.592156 drop table if exists "invoice_test"; [] gorptest: 04:42:55.592267 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.592363 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.592486 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.592630 drop table if exists "person_test"; [] gorptest: 04:42:55.592776 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.592914 drop table if exists "id_created_test"; [] gorptest: 04:42:55.593116 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.593286 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.593388 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.593533 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.593635 drop table if exists "time_test"; [] gorptest: 04:42:55.593729 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.594067 drop table if exists "invoice_test"; [] gorptest: 04:42:55.594296 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.594314 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.594328 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.594342 drop table if exists "person_test"; [] gorptest: 04:42:55.594361 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.594375 drop table if exists "id_created_test"; [] gorptest: 04:42:55.594389 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.594404 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.594418 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.594458 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.594473 drop table if exists "time_test"; [] gorptest: 04:42:55.594495 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.594643 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: 04:42:55.594771 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.594885 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.595035 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.595159 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.595270 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.595376 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.595586 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.595771 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.595921 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.596064 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.596222 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 04:42:55.596359 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 04:42:55.596414 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 04:42:55.596522 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 04:42:55.596566 select * from embedded_struct_test [] gorptest: 04:42:55.596614 drop table if exists "invoice_test"; [] gorptest: 04:42:55.596720 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.596820 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.596913 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.597068 drop table if exists "person_test"; [] gorptest: 04:42:55.597170 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.597265 drop table if exists "id_created_test"; [] gorptest: 04:42:55.597357 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.597474 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.597578 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.597670 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.597759 drop table if exists "time_test"; [] gorptest: 04:42:55.597849 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.597993 drop table if exists "invoice_test"; [] gorptest: 04:42:55.598140 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.598158 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.598175 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.598191 drop table if exists "person_test"; [] gorptest: 04:42:55.598206 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.598222 drop table if exists "id_created_test"; [] gorptest: 04:42:55.598238 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.598253 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.598269 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.598285 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.598300 drop table if exists "time_test"; [] gorptest: 04:42:55.598322 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.598507 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: 04:42:55.598631 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.598749 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.598887 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.599003 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.599117 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.599273 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.599380 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.599558 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.599711 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.599858 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.600039 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 04:42:55.600164 drop table if exists "invoice_test"; [] gorptest: 04:42:55.600358 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.600606 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.600801 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.601075 drop table if exists "person_test"; [] gorptest: 04:42:55.601271 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.601395 drop table if exists "id_created_test"; [] gorptest: 04:42:55.601577 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.601737 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.601924 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.602120 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.602310 drop table if exists "time_test"; [] gorptest: 04:42:55.602402 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.602623 drop table if exists "invoice_test"; [] gorptest: 04:42:55.602772 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.602790 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.602806 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.602821 drop table if exists "person_test"; [] gorptest: 04:42:55.602837 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.602860 drop table if exists "id_created_test"; [] gorptest: 04:42:55.602876 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.602894 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.602912 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.602929 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.602946 drop table if exists "time_test"; [] gorptest: 04:42:55.602971 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.603118 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: 04:42:55.603243 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.603363 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.603541 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.603658 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.603766 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.603876 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.603990 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.604102 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.604215 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.604325 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.604492 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 04:42:55.604585 drop table if exists "invoice_test"; [] gorptest: 04:42:55.604686 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.604780 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.604869 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.605012 drop table if exists "person_test"; [] gorptest: 04:42:55.605110 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.605200 drop table if exists "id_created_test"; [] gorptest: 04:42:55.605289 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.605377 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.605489 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.605626 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.605765 drop table if exists "time_test"; [] gorptest: 04:42:55.605890 drop table if exists "id_created_test"; [] gorptest: 04:42:55.606046 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 04:42:55.606507 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: 04:42:55.606631 select Int64 from TableWithNull where Str='abc' [] gorptest: 04:42:55.606666 select count(*) from TableWithNull [] gorptest: 04:42:55.606693 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 04:42:55.606720 select Int64 from TableWithNull where Str='notfound' [] gorptest: 04:42:55.606780 select Int64 from TableWithNull where Str='abc' [] gorptest: 04:42:55.606806 select Float64 from TableWithNull where Str='abc' [] gorptest: 04:42:55.606828 select min(Float64) from TableWithNull [] gorptest: 04:42:55.606924 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 04:42:55.606955 select Float64 from TableWithNull where Str='notfound' [] gorptest: 04:42:55.606975 select Float64 from TableWithNull where Str='abc' [] gorptest: 04:42:55.606998 select Str from TableWithNull where Int64=? [1:78] gorptest: 04:42:55.607060 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 04:42:55.607149 select Str from TableWithNull where Int64=? [1:78] gorptest: 04:42:55.607210 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 04:42:55.607240 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 04:42:55.607272 select Str from TableWithNull where Int64=? [1:78] gorptest: 04:42:55.607296 drop table if exists "TableWithNull"; [] 2023/01/27 04:42:55 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: 04:42:55.607891 drop table if exists "invoice_test"; [] gorptest: 04:42:55.608148 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.608164 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.608210 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.608233 drop table if exists "person_test"; [] gorptest: 04:42:55.608249 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.608300 drop table if exists "id_created_test"; [] gorptest: 04:42:55.608352 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.608369 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.608419 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.608458 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.608474 drop table if exists "time_test"; [] gorptest: 04:42:55.608495 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.608680 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: 04:42:55.608804 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.608924 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.609075 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.609196 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.609309 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.609422 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.609610 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.609730 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.609846 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.609957 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.610073 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575610062359 2:1674794575610062359 3:"Bob" 4:"Smith" 5:1] gorptest: 04:42:55.610172 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575610163781 2:1674794575610163781 3:"Jane" 4:"Smith" 5:1] gorptest: 04:42:55.610271 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575610249530 2:1674794575610249530 3:"Mike" 4:"Smith" 5:1] gorptest: 04:42:55.610351 drop table if exists "invoice_test"; [] gorptest: 04:42:55.610477 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.610573 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.610807 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.611049 drop table if exists "person_test"; [] gorptest: 04:42:55.611251 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.611382 drop table if exists "id_created_test"; [] gorptest: 04:42:55.611586 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.611711 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.611799 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.611918 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.612007 drop table if exists "time_test"; [] gorptest: 04:42:55.612136 drop table if exists "id_created_test"; [] gorptest: 04:42:55.612273 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 04:42:55.612631 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 04:42:55.612743 drop table if exists "string_pk_test"; [] 2023/01/27 04:42:55 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: 04:42:55.613274 drop table if exists "invoice_test"; [] gorptest: 04:42:55.613422 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.613490 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.613505 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.613519 drop table if exists "person_test"; [] gorptest: 04:42:55.613537 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.613552 drop table if exists "id_created_test"; [] gorptest: 04:42:55.613567 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.613581 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.613653 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.613670 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.613689 drop table if exists "time_test"; [] gorptest: 04:42:55.613711 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.613896 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: 04:42:55.614086 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.614240 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.614385 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.614532 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.614648 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.614761 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.614875 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.614992 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.615114 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.615232 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.615350 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-27 04:11:55.615338807 +0000 UTC] gorptest: 04:42:55.615486 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-27 04:12:56.615338807 +0000 UTC] gorptest: 04:42:55.615573 SELECT id FROM time_test WHERE Time < ? [1:2023-01-27 04:12:55.615338807 +0000 UTC] gorptest: 04:42:55.615623 drop table if exists "invoice_test"; [] gorptest: 04:42:55.615723 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.615821 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.615912 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.616046 drop table if exists "person_test"; [] gorptest: 04:42:55.616141 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.616231 drop table if exists "id_created_test"; [] gorptest: 04:42:55.616321 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.616410 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.616525 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.616616 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.616710 drop table if exists "time_test"; [] gorptest: 04:42:55.616808 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.616960 drop table if exists "invoice_test"; [] gorptest: 04:42:55.617106 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.617124 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.617140 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.617156 drop table if exists "person_test"; [] gorptest: 04:42:55.617171 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.617187 drop table if exists "id_created_test"; [] gorptest: 04:42:55.617202 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.617220 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.617235 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.617250 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.617265 drop table if exists "time_test"; [] gorptest: 04:42:55.617284 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.617412 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: 04:42:55.617602 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.617756 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.617962 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.618180 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.618393 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.618657 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.618837 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.619048 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.619174 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.619393 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.619669 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575619653276 2:1674794575619653276 3:"bob" 4:"smith" 5:1] gorptest: 04:42:55.619871 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 04:42:55.620022 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 04:42:55.620119 drop table if exists "invoice_test"; [] gorptest: 04:42:55.620269 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.620359 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.620512 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.620686 drop table if exists "person_test"; [] gorptest: 04:42:55.620820 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.620963 drop table if exists "id_created_test"; [] gorptest: 04:42:55.621061 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.621161 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.621257 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.621349 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.621514 drop table if exists "time_test"; [] gorptest: 04:42:55.621614 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.621768 drop table if exists "invoice_test"; [] gorptest: 04:42:55.622012 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.622029 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.622043 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.622058 drop table if exists "person_test"; [] gorptest: 04:42:55.622071 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.622084 drop table if exists "id_created_test"; [] gorptest: 04:42:55.622099 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.622113 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.622166 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.622183 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.622197 drop table if exists "time_test"; [] gorptest: 04:42:55.622218 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.622439 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: 04:42:55.622605 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.622767 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.622917 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.623039 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.623155 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.623268 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.623390 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.623572 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.623694 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.623807 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/27 04:42:55 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: 04:42:55.625987 drop table if exists "invoice_test"; [] gorptest: 04:42:55.626135 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.626152 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.626167 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.626182 drop table if exists "person_test"; [] gorptest: 04:42:55.626198 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.626221 drop table if exists "id_created_test"; [] gorptest: 04:42:55.626237 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.626253 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.626269 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.626290 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.626310 drop table if exists "time_test"; [] gorptest: 04:42:55.626333 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.626602 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: 04:42:55.626835 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.627024 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.627166 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.627282 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.627393 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.627542 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.627663 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.627783 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.627904 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.628020 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.628145 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575628130728 2:1674794575628130728 3:"bob" 4:"smith" 5:1] gorptest: 04:42:55.628247 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575628239463 2:1674794575628239463 3:"jane" 4:"doe" 5:1] gorptest: 04:42:55.628337 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:55.628389 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 04:42:55.628492 select * from person_test where Id=? [1:1] gorptest: 04:42:55.628552 select * from person_test order by fname asc [] gorptest: 04:42:55.628617 drop table if exists "invoice_test"; [] gorptest: 04:42:55.628724 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.628820 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.628912 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.629057 drop table if exists "person_test"; [] gorptest: 04:42:55.629318 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.629543 drop table if exists "id_created_test"; [] gorptest: 04:42:55.629737 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.629827 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.629912 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.629994 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.630076 drop table if exists "time_test"; [] gorptest: 04:42:55.630157 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.630588 drop table if exists "invoice_test"; [] gorptest: 04:42:55.630845 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.630895 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.630913 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.630960 drop table if exists "person_test"; [] gorptest: 04:42:55.630976 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.630990 drop table if exists "id_created_test"; [] gorptest: 04:42:55.631004 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.631017 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.631032 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.631047 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.631061 drop table if exists "time_test"; [] gorptest: 04:42:55.631111 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.631252 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: 04:42:55.631469 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.631598 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.631746 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.631868 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.631981 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.632093 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.632211 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.632329 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.632504 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.632627 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.632749 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575632736444 2:1674794575632736444 3:"bob" 4:"smith" 5:1] gorptest: 04:42:55.632840 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:55.632892 select * from person_test where Id=? [1:1] gorptest: 04:42:55.632964 select FName from person_test where Id=? [1:1] gorptest: 04:42:55.632996 select * from person_test where Id=? [1:1] gorptest: 04:42:55.633050 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 04:42:55.633095 select * from person_test where Id=? [1:-2222] gorptest: 04:42:55.633140 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794575633132012 2:1674794575633132012 3:"bob" 4:"smith" 5:1] gorptest: 04:42:55.633222 select * from person_test where Fname='bob' [] gorptest: 04:42:55.633342 select * from person_test where Id=-123 [] gorptest: 04:42:55.633372 select * from person_test where Id=-123 [] gorptest: 04:42:55.633398 select * from person_test where Id=-123 [] gorptest: 04:42:55.633419 select * from person_test where Id=-123 [] gorptest: 04:42:55.633505 drop table if exists "invoice_test"; [] gorptest: 04:42:55.633644 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.633807 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.633898 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.634103 drop table if exists "person_test"; [] gorptest: 04:42:55.634234 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.634362 drop table if exists "id_created_test"; [] gorptest: 04:42:55.634600 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.634803 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.634963 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.635061 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.635153 drop table if exists "time_test"; [] gorptest: 04:42:55.635247 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.635400 drop table if exists "invoice_test"; [] gorptest: 04:42:55.635579 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.635598 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.635614 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.635631 drop table if exists "person_test"; [] gorptest: 04:42:55.635648 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.635663 drop table if exists "id_created_test"; [] gorptest: 04:42:55.635680 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.635697 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.635713 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.635730 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.635747 drop table if exists "time_test"; [] gorptest: 04:42:55.635773 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.635921 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: 04:42:55.636039 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.636152 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.636290 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.636405 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.636570 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.636685 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.636798 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.637070 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.637316 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.637444 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.637551 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 04:42:55.637627 select * from id_created_test where Id=1 [] gorptest: 04:42:55.637670 SELECT *, 1 AS external FROM id_created_test [] gorptest: 04:42:55.637726 drop table if exists "invoice_test"; [] gorptest: 04:42:55.638028 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.638124 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.638212 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.638362 drop table if exists "person_test"; [] gorptest: 04:42:55.638529 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.638667 drop table if exists "id_created_test"; [] gorptest: 04:42:55.638803 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.638899 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.638994 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.639088 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.639180 drop table if exists "time_test"; [] gorptest: 04:42:55.639273 drop table if exists "id_created_test"; [] 2023/01/27 04:42:55 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: 04:42:55.639557 drop table if exists "invoice_test"; [] gorptest: 04:42:55.639780 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.639798 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.639814 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.639830 drop table if exists "person_test"; [] gorptest: 04:42:55.639846 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.639862 drop table if exists "id_created_test"; [] gorptest: 04:42:55.639878 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.639893 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.639909 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.639924 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.639940 drop table if exists "time_test"; [] gorptest: 04:42:55.639969 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.640131 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: 04:42:55.640250 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.640366 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.640534 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.640652 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.640755 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.640917 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.641115 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.641298 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.641501 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.641656 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.641811 drop table if exists "invoice_test"; [] gorptest: 04:42:55.642038 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.642177 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.642335 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.642801 drop table if exists "person_test"; [] gorptest: 04:42:55.642915 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.643012 drop table if exists "id_created_test"; [] gorptest: 04:42:55.643104 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.643198 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.643292 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.643387 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.643534 drop table if exists "time_test"; [] gorptest: 04:42:55.643635 drop table if exists "id_created_test"; [] gorptest: 04:42:55.643657 drop table if exists "single_column_table"; [] gorptest: 04:42:55.643681 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: 04:42:55.643807 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: 04:42:55.643920 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.644030 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: 04:42:55.644163 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: 04:42:55.644276 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.644381 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.644594 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.644806 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.645023 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.645130 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: 04:42:55.645229 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.645323 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 04:42:55.645346 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 04:42:55.645586 delete from "invoice_test"; [] gorptest: 04:42:55.645719 delete from "invoice_tag_test"; [] gorptest: 04:42:55.645847 delete from "alias_trans_field_test"; [] gorptest: 04:42:55.645970 delete from "invoice_override_test"; [] gorptest: 04:42:55.646035 delete from "person_test"; [] gorptest: 04:42:55.646122 delete from "ignored_column_test"; [] gorptest: 04:42:55.646180 delete from "id_created_test"; [] gorptest: 04:42:55.646241 delete from "type_conv_test"; [] gorptest: 04:42:55.646334 delete from "embedded_struct_test"; [] gorptest: 04:42:55.646467 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.646532 delete from "embedded_autoincr_test"; [] gorptest: 04:42:55.646590 delete from "time_test"; [] gorptest: 04:42:55.646650 delete from "id_created_test"; [] gorptest: 04:42:55.646710 delete from "single_column_table"; [] gorptest: 04:42:55.646785 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 04:42:55.646827 drop table if exists "invoice_test"; [] gorptest: 04:42:55.646926 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.647020 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.647116 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.647279 drop table if exists "person_test"; [] gorptest: 04:42:55.647380 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.647517 drop table if exists "id_created_test"; [] gorptest: 04:42:55.647614 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.647706 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.647796 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.647876 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.648013 drop table if exists "time_test"; [] gorptest: 04:42:55.648139 drop table if exists "id_created_test"; [] gorptest: 04:42:55.648160 drop table if exists "single_column_table"; [] 2023/01/27 04:42:55 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: 04:42:55.648563 drop table if exists "invoice_test"; [] gorptest: 04:42:55.648747 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.648804 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.648819 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.648833 drop table if exists "person_test"; [] gorptest: 04:42:55.648848 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.648863 drop table if exists "id_created_test"; [] gorptest: 04:42:55.648878 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.648893 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.648941 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.648966 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.648982 drop table if exists "time_test"; [] gorptest: 04:42:55.649004 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.649212 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: 04:42:55.649338 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:55.649482 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:55.649629 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:55.649747 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.649858 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:55.649971 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:55.650086 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:55.650201 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:55.650313 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:55.650458 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:55.650592 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 04:42:55.650683 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 04:42:55.650757 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 04:42:55.650835 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 04:42:55.650896 begin; [] gorptest: 04:42:55.650920 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 04:42:55.650980 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 04:42:55.651251 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 04:42:55.651309 commit; [] gorptest: 04:42:55.651372 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 04:42:55.651484 drop table if exists "invoice_test"; [] gorptest: 04:42:55.651698 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:55.651790 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:55.651872 drop table if exists "invoice_override_test"; [] gorptest: 04:42:55.652066 drop table if exists "person_test"; [] gorptest: 04:42:55.652197 drop table if exists "ignored_column_test"; [] gorptest: 04:42:55.652287 drop table if exists "id_created_test"; [] gorptest: 04:42:55.652368 drop table if exists "type_conv_test"; [] gorptest: 04:42:55.652509 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:55.652593 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:55.652673 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:55.652809 drop table if exists "time_test"; [] gorptest: 04:42:55.652893 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.130s gopkg.in/gorp.v1 2023/01/27 04:42:56 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: 04:42:56.199098 drop table if exists "invoice_test"; [] gorptest: 04:42:56.199474 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.199495 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.199528 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.199545 drop table if exists "person_test"; [] gorptest: 04:42:56.199562 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.199576 drop table if exists "id_created_test"; [] gorptest: 04:42:56.199609 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.199627 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.199643 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.199684 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.199705 drop table if exists "time_test"; [] gorptest: 04:42:56.199734 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.200005 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: 04:42:56.200182 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.200356 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.200691 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.201035 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.201345 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.201672 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.201977 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.202260 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.202572 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.202847 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.203138 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: 04:42:56.203325 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: 04:42:56.203509 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.203671 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: 04:42:56.203826 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: 04:42:56.203973 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.204125 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.204277 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.204449 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.204603 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.204773 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: 04:42:56.204934 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.205083 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 04:42:56.205234 drop table if exists "invoice_test"; [] gorptest: 04:42:56.205552 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.205848 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.206118 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.206486 drop table if exists "person_test"; [] gorptest: 04:42:56.206770 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.207042 drop table if exists "id_created_test"; [] gorptest: 04:42:56.207302 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.207594 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.207809 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.208048 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.208148 drop table if exists "time_test"; [] gorptest: 04:42:56.208253 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.208455 drop table if exists "invoice_test"; [] gorptest: 04:42:56.208614 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.208640 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.208657 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.208674 drop table if exists "person_test"; [] gorptest: 04:42:56.208691 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.208707 drop table if exists "id_created_test"; [] gorptest: 04:42:56.208724 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.208739 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.208755 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.208772 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.208788 drop table if exists "time_test"; [] gorptest: 04:42:56.208811 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.208969 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: 04:42:56.209106 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.209227 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.209397 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.209556 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.209671 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.209780 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.209892 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.209993 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.210102 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.210207 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.210317 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: 04:42:56.210348 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: 04:42:56.210370 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.210391 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: 04:42:56.210415 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: 04:42:56.210451 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.210470 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.210506 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.210528 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.210563 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.210585 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: 04:42:56.210612 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.210633 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 04:42:56.210670 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576210654395 2:1674794576210654395 3:"Bob" 4:"Smith" 5:1] gorptest: 04:42:56.210777 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 04:42:56.210876 delete from "invoice_test"; [] gorptest: 04:42:56.210936 delete from "invoice_tag_test"; [] gorptest: 04:42:56.210993 delete from "alias_trans_field_test"; [] gorptest: 04:42:56.211062 delete from "invoice_override_test"; [] gorptest: 04:42:56.211127 delete from "person_test"; [] gorptest: 04:42:56.211188 delete from "ignored_column_test"; [] gorptest: 04:42:56.211254 delete from "id_created_test"; [] gorptest: 04:42:56.211308 delete from "type_conv_test"; [] gorptest: 04:42:56.211365 delete from "embedded_struct_test"; [] gorptest: 04:42:56.212747 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.212831 delete from "embedded_autoincr_test"; [] gorptest: 04:42:56.212889 delete from "time_test"; [] gorptest: 04:42:56.212966 delete from "id_created_test"; [] gorptest: 04:42:56.213024 SELECT * FROM person_test [] gorptest: 04:42:56.213085 SELECT * FROM invoice_test [] gorptest: 04:42:56.213126 drop table if exists "invoice_test"; [] gorptest: 04:42:56.213252 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.213345 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.213886 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.214069 drop table if exists "person_test"; [] gorptest: 04:42:56.214171 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.214278 drop table if exists "id_created_test"; [] gorptest: 04:42:56.214363 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.214824 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.214935 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.215040 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.215123 drop table if exists "time_test"; [] gorptest: 04:42:56.215207 drop table if exists "id_created_test"; [] gorptest: 04:42:56.215662 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 04:42:56.215970 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2023-01-27 04:42:56 +0000 UTC] gorptest: 04:42:56.216073 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 04:42:56.216120 drop table if exists "WithCustomDate"; [] gorptest: 04:42:56.216592 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 04:42:56.217014 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 04:42:56.217307 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 04:42:56.217626 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 04:42:56.217870 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 04:42:56.218104 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 04:42:56.218325 drop table if exists "PersonUInt64"; [] gorptest: 04:42:56.218627 drop table if exists "PersonUInt32"; [] gorptest: 04:42:56.218877 drop table if exists "PersonUInt16"; [] gorptest: 04:42:56.219196 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 04:42:56.219728 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 04:42:56.219988 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 04:42:56.220172 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 04:42:56.220348 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 04:42:56.220603 drop table if exists "UniqueColumns"; [] gorptest: 04:42:56.221053 drop table if exists PersistentUser [] gorptest: 04:42:56.221399 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 04:42:56.221731 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 04:42:56.221958 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 04:42:56.222144 select * from PersistentUser [] gorptest: 04:42:56.222339 select * from PersistentUser [] gorptest: 04:42:56.222562 select * from PersistentUser [] gorptest: 04:42:56.222641 select Id from PersistentUser [] gorptest: 04:42:56.222676 select mykey from PersistentUser [] gorptest: 04:42:56.222705 select PassedTraining from PersistentUser [] gorptest: 04:42:56.222730 select Id from PersistentUser [] gorptest: 04:42:56.222779 drop table if exists "PersistentUser"; [] gorptest: 04:42:56.222945 drop table if exists PersistentUser [] gorptest: 04:42:56.223104 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 04:42:56.223255 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 04:42:56.223352 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 04:42:56.223478 select * from PersistentUser where mykey = ? [1:43] gorptest: 04:42:56.223543 select * from PersistentUser where mykey = ? [1:43] gorptest: 04:42:56.223593 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 04:42:56.223650 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 04:42:56.223692 drop table if exists "PersistentUser"; [] gorptest: 04:42:56.223861 drop table if exists PersistentUser [] gorptest: 04:42:56.224005 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 04:42:56.224141 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 04:42:56.224218 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 04:42:56.224298 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 04:42:56.224355 drop table if exists "PersistentUser"; [] 2023/01/27 04:42:56 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: 04:42:56.224572 drop table if exists "invoice_test"; [] gorptest: 04:42:56.224694 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.224711 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.224736 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.224754 drop table if exists "person_test"; [] gorptest: 04:42:56.224802 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.224822 drop table if exists "id_created_test"; [] gorptest: 04:42:56.224838 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.224855 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.224870 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.224886 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.224903 drop table if exists "time_test"; [] gorptest: 04:42:56.224934 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.225097 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: 04:42:56.225229 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.225347 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.225509 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.225630 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.225741 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.225855 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.225973 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.226098 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.226216 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.226322 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.226446 select * from invoice_test where id=99999 [] gorptest: 04:42:56.226495 select * from invoice_test where id=99999 [] gorptest: 04:42:56.226532 drop table if exists "invoice_test"; [] gorptest: 04:42:56.226631 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.226711 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.226786 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.226923 drop table if exists "person_test"; [] gorptest: 04:42:56.227003 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.227079 drop table if exists "id_created_test"; [] gorptest: 04:42:56.227154 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.227230 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.227303 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.227379 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.228600 drop table if exists "time_test"; [] gorptest: 04:42:56.228699 drop table if exists "id_created_test"; [] gorptest: 04:42:56.228785 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 04:42:56.229061 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: 04:42:56.229106 drop table if exists "InvoicePersonView"; [] 2023/01/27 04:42:56 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: 04:42:56.229353 drop table if exists "invoice_test"; [] gorptest: 04:42:56.229497 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.229512 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.229526 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.229540 drop table if exists "person_test"; [] gorptest: 04:42:56.229554 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.229568 drop table if exists "id_created_test"; [] gorptest: 04:42:56.229582 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.229595 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.229610 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.229625 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.229639 drop table if exists "time_test"; [] gorptest: 04:42:56.229659 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.229780 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: 04:42:56.229880 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.229973 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.230093 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.230190 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.230278 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.230366 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.230478 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.230573 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.230666 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.230757 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.230863 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576230849063 2:1674794576230849063 3:"Bob" 4:"Smith" 5:1] gorptest: 04:42:56.230959 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:56.231025 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674794576230849063 2:1674794576230849063 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 04:42:56.231115 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674794576230849063 2:1674794576230849063 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 04:42:56.231155 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:56.231200 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 04:42:56.231231 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:56.231269 drop table if exists "invoice_test"; [] gorptest: 04:42:56.231375 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.231483 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.231562 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.231694 drop table if exists "person_test"; [] gorptest: 04:42:56.231779 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.231857 drop table if exists "id_created_test"; [] gorptest: 04:42:56.231934 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.232008 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.232082 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.232158 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.232232 drop table if exists "time_test"; [] gorptest: 04:42:56.232305 drop table if exists "id_created_test"; [] gorptest: 04:42:56.232405 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 04:42:56.232810 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 04:42:56.232895 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 04:42:56.232991 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: 04:42:56.233088 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 04:42:56.233137 drop table if exists "TableWithNull"; [] gorptest: 04:42:56.233311 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 04:42:56.233900 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 04:42:56.234049 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 04:42:56.234143 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 04:42:56.234189 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 04:42:56.234218 drop table if exists "Invoice"; [] 2023/01/27 04:42:56 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: 04:42:56.234649 drop table if exists "invoice_test"; [] gorptest: 04:42:56.234786 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.234806 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.234823 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.234841 drop table if exists "person_test"; [] gorptest: 04:42:56.234857 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.234875 drop table if exists "id_created_test"; [] gorptest: 04:42:56.234891 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.234910 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.234927 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.234950 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.234967 drop table if exists "time_test"; [] gorptest: 04:42:56.234990 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.235138 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: 04:42:56.235265 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.235386 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.235686 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.235891 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.236043 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.236195 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.236394 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.236589 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.236830 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.237183 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.237607 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576237516455 2:1674794576237516455 3:"bob" 4:"smith" 5:1] gorptest: 04:42:56.237746 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 04:42:56.237911 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 04:42:56.238018 drop table if exists "invoice_test"; [] gorptest: 04:42:56.238249 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.238344 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.238564 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.238725 drop table if exists "person_test"; [] gorptest: 04:42:56.238834 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.238929 drop table if exists "id_created_test"; [] gorptest: 04:42:56.239023 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.239114 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.239207 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.239302 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.239394 drop table if exists "time_test"; [] gorptest: 04:42:56.239521 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.239642 drop table if exists "invoice_test"; [] gorptest: 04:42:56.239779 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.239797 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.239813 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.239828 drop table if exists "person_test"; [] gorptest: 04:42:56.239845 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.239864 drop table if exists "id_created_test"; [] gorptest: 04:42:56.239883 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.239900 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.239916 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.239932 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.239948 drop table if exists "time_test"; [] gorptest: 04:42:56.239969 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.240107 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: 04:42:56.240225 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.240339 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.240515 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.240630 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.240736 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.240843 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.240961 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.241076 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.241187 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.241301 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.241441 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576241409898 2:1674794576241409898 3:"bob" 4:"smith" 5:1] gorptest: 04:42:56.241548 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:56.241611 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1674794576241409898 2:1674794576241409898 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 04:42:56.241695 select * from person_test where id = ? [1:1] gorptest: 04:42:56.241763 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 04:42:56.241842 drop table if exists "invoice_test"; [] gorptest: 04:42:56.241947 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.242039 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.242128 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.242284 drop table if exists "person_test"; [] gorptest: 04:42:56.242554 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.242736 drop table if exists "id_created_test"; [] gorptest: 04:42:56.243237 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.243560 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.243780 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.243930 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.244172 drop table if exists "time_test"; [] gorptest: 04:42:56.244398 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.244627 drop table if exists "invoice_test"; [] gorptest: 04:42:56.244801 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.244837 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.244857 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.244873 drop table if exists "person_test"; [] gorptest: 04:42:56.244889 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.244923 drop table if exists "id_created_test"; [] gorptest: 04:42:56.244946 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.244971 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.245006 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.245024 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.245040 drop table if exists "time_test"; [] gorptest: 04:42:56.245079 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.245271 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: 04:42:56.245498 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.245665 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.245847 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.246001 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.246149 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.246302 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.246475 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.246715 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.247028 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.247260 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.247941 begin; [] gorptest: 04:42:56.248097 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 04:42:56.248187 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 04:42:56.248227 commit; [] gorptest: 04:42:56.248283 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:56.248356 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 04:42:56.248419 drop table if exists "invoice_test"; [] gorptest: 04:42:56.248568 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.248700 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.248820 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.248996 drop table if exists "person_test"; [] gorptest: 04:42:56.249099 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.249214 drop table if exists "id_created_test"; [] gorptest: 04:42:56.249309 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.249402 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.249532 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.249623 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.249721 drop table if exists "time_test"; [] gorptest: 04:42:56.249810 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.250106 drop table if exists "invoice_test"; [] gorptest: 04:42:56.250239 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.250256 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.250271 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.250286 drop table if exists "person_test"; [] gorptest: 04:42:56.250300 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.250485 drop table if exists "id_created_test"; [] gorptest: 04:42:56.250509 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.250526 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.250542 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.250558 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.250575 drop table if exists "time_test"; [] gorptest: 04:42:56.250601 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.250748 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: 04:42:56.251119 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.251288 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.251568 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.251736 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.251892 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.252089 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.252289 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.252473 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.252688 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.252887 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.253084 begin; [] gorptest: 04:42:56.253151 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 04:42:56.253218 select memo from invoice_test [] gorptest: 04:42:56.253259 savepoint "foo" [1:] gorptest: 04:42:56.253267 select memo from invoice_test [] gorptest: 04:42:56.253302 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 04:42:56.253344 select memo from invoice_test [] gorptest: 04:42:56.253369 rollback to savepoint "foo" [1:] gorptest: 04:42:56.253378 select memo from invoice_test [] gorptest: 04:42:56.253392 rollback; [] gorptest: 04:42:56.253454 drop table if exists "invoice_test"; [] gorptest: 04:42:56.253592 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.253693 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.253787 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.253968 drop table if exists "person_test"; [] gorptest: 04:42:56.254080 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.254176 drop table if exists "id_created_test"; [] gorptest: 04:42:56.254267 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.254356 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.254505 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.254603 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.254693 drop table if exists "time_test"; [] gorptest: 04:42:56.254783 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.254922 drop table if exists "invoice_test"; [] gorptest: 04:42:56.255050 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.255067 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.255082 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.255096 drop table if exists "person_test"; [] gorptest: 04:42:56.255115 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.255131 drop table if exists "id_created_test"; [] gorptest: 04:42:56.255145 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.255159 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.255174 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.255189 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.255205 drop table if exists "time_test"; [] gorptest: 04:42:56.255226 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.255366 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: 04:42:56.255518 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.255637 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.255949 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.256406 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.256672 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.257047 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.257320 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.257500 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.257662 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.257816 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.258031 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 04:42:56.258217 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 04:42:56.258348 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 04:42:56.258509 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 04:42:56.258639 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:56.258750 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 04:42:56.258892 drop table if exists "invoice_test"; [] gorptest: 04:42:56.259044 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.259309 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.259607 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.259741 drop table if exists "person_test"; [] gorptest: 04:42:56.259824 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.259903 drop table if exists "id_created_test"; [] gorptest: 04:42:56.259979 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.260055 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.260131 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.260208 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.260286 drop table if exists "time_test"; [] gorptest: 04:42:56.260363 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.260598 drop table if exists "invoice_test"; [] gorptest: 04:42:56.260741 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.260763 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.260780 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.260795 drop table if exists "person_test"; [] gorptest: 04:42:56.260812 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.260828 drop table if exists "id_created_test"; [] gorptest: 04:42:56.260844 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.260860 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.260876 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.260893 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.260909 drop table if exists "time_test"; [] gorptest: 04:42:56.260934 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.261102 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: 04:42:56.261224 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.261334 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.261522 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.261642 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.261747 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.261854 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.261968 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.262082 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.262195 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.262308 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.262420 delete from invoice_test [] gorptest: 04:42:56.262520 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 04:42:56.262612 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:56.262689 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:6175551130091308578 2:7985536669917138740 3:"random 7919527962999021218" 4:0 5:true 6:1] gorptest: 04:42:56.262770 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:56.262815 select * from invoice_test [] gorptest: 04:42:56.262876 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:56.262947 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 04:42:56.262979 delete from invoice_tag_test [] gorptest: 04:42:56.263055 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: 04:42:56.263139 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:56.263196 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:4868856815316042315 2:8295133649713509951 3:"random 489325199618625055" 4:33 5:false 6:1] gorptest: 04:42:56.263275 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:56.263321 select * from invoice_tag_test [] gorptest: 04:42:56.263386 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:56.263491 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 04:42:56.263527 delete from alias_trans_field_test [] gorptest: 04:42:56.263596 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 04:42:56.263677 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:56.263720 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 4326733901413562412" 2:1] gorptest: 04:42:56.263793 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:56.263827 select * from alias_trans_field_test [] gorptest: 04:42:56.263873 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:56.263943 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 04:42:56.263972 drop table if exists "invoice_test"; [] gorptest: 04:42:56.264084 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.264188 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.264286 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.264419 drop table if exists "person_test"; [] gorptest: 04:42:56.264576 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.264671 drop table if exists "id_created_test"; [] gorptest: 04:42:56.264763 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.264851 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.264939 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.265048 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.265139 drop table if exists "time_test"; [] gorptest: 04:42:56.265226 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.265340 drop table if exists "invoice_test"; [] gorptest: 04:42:56.265500 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.265518 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.265539 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.265554 drop table if exists "person_test"; [] gorptest: 04:42:56.265568 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.265723 drop table if exists "id_created_test"; [] gorptest: 04:42:56.265775 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.265836 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.265893 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.265910 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.265924 drop table if exists "time_test"; [] gorptest: 04:42:56.265945 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.266127 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: 04:42:56.266337 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.266616 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.266858 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.267061 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.267211 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.267450 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.267730 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.268154 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.268439 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.268606 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.268710 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 04:42:56.268787 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 04:42:56.268825 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 04:42:56.268885 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 04:42:56.268909 drop table if exists "invoice_test"; [] gorptest: 04:42:56.269008 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.269093 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.269175 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.269714 drop table if exists "person_test"; [] gorptest: 04:42:56.269942 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.270107 drop table if exists "id_created_test"; [] gorptest: 04:42:56.270346 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.270576 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.270815 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.271027 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.271190 drop table if exists "time_test"; [] gorptest: 04:42:56.271393 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.271769 drop table if exists "invoice_test"; [] gorptest: 04:42:56.272089 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.272107 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.272122 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.272186 drop table if exists "person_test"; [] gorptest: 04:42:56.272205 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.272220 drop table if exists "id_created_test"; [] gorptest: 04:42:56.272234 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.272297 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.272316 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.272331 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.272346 drop table if exists "time_test"; [] gorptest: 04:42:56.272415 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.272631 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: 04:42:56.272799 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.272961 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.273171 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.273340 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.273526 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.273681 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.273835 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.273986 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.274145 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.274308 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.274541 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: 04:42:56.274676 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 04:42:56.274772 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: 04:42:56.274893 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 04:42:56.274944 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 04:42:56.275051 drop table if exists "invoice_test"; [] gorptest: 04:42:56.275175 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.275312 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.275409 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.275594 drop table if exists "person_test"; [] gorptest: 04:42:56.275712 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.275808 drop table if exists "id_created_test"; [] gorptest: 04:42:56.275900 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.275995 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.276107 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.276199 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.276295 drop table if exists "time_test"; [] gorptest: 04:42:56.276384 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.276513 drop table if exists "invoice_test"; [] gorptest: 04:42:56.276647 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.276664 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.276680 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.276695 drop table if exists "person_test"; [] gorptest: 04:42:56.276714 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.276731 drop table if exists "id_created_test"; [] gorptest: 04:42:56.276746 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.276782 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.276799 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.276814 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.276828 drop table if exists "time_test"; [] gorptest: 04:42:56.276849 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.277005 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: 04:42:56.277125 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.277240 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.277383 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.277551 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.277661 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.277775 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.277893 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.278006 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.278145 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.278267 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.278394 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 04:42:56.278514 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 04:42:56.278567 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 04:42:56.278652 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 04:42:56.278695 select * from embedded_struct_test [] gorptest: 04:42:56.278741 drop table if exists "invoice_test"; [] gorptest: 04:42:56.278849 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.278946 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.279038 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.279175 drop table if exists "person_test"; [] gorptest: 04:42:56.279272 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.279364 drop table if exists "id_created_test"; [] gorptest: 04:42:56.279515 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.279614 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.279713 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.279805 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.279895 drop table if exists "time_test"; [] gorptest: 04:42:56.279985 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.280093 drop table if exists "invoice_test"; [] gorptest: 04:42:56.280571 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.280628 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.280684 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.280789 drop table if exists "person_test"; [] gorptest: 04:42:56.280806 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.280820 drop table if exists "id_created_test"; [] gorptest: 04:42:56.280835 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.280849 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.280864 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.280878 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.280934 drop table if exists "time_test"; [] gorptest: 04:42:56.280963 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.281152 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: 04:42:56.281325 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.281520 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.281794 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.281964 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.282160 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.282317 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.282608 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.282714 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.282817 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.282915 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.283019 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 04:42:56.283097 drop table if exists "invoice_test"; [] gorptest: 04:42:56.283188 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.283270 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.283351 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.283647 drop table if exists "person_test"; [] gorptest: 04:42:56.283893 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.284067 drop table if exists "id_created_test"; [] gorptest: 04:42:56.284317 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.284619 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.284709 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.284795 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.284873 drop table if exists "time_test"; [] gorptest: 04:42:56.284951 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.285083 drop table if exists "invoice_test"; [] gorptest: 04:42:56.285197 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.285213 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.285229 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.285244 drop table if exists "person_test"; [] gorptest: 04:42:56.285259 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.285277 drop table if exists "id_created_test"; [] gorptest: 04:42:56.285292 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.285309 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.285324 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.285341 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.285356 drop table if exists "time_test"; [] gorptest: 04:42:56.285379 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.285619 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: 04:42:56.285745 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.285855 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.286019 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.286137 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.286245 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.286354 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.286523 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.286641 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.286755 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.286867 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.286999 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 04:42:56.287085 drop table if exists "invoice_test"; [] gorptest: 04:42:56.287189 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.287283 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.287373 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.287549 drop table if exists "person_test"; [] gorptest: 04:42:56.287651 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.287740 drop table if exists "id_created_test"; [] gorptest: 04:42:56.287829 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.287918 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.288006 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.288093 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.288191 drop table if exists "time_test"; [] gorptest: 04:42:56.288280 drop table if exists "id_created_test"; [] gorptest: 04:42:56.288369 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 04:42:56.288685 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: 04:42:56.288768 select Int64 from TableWithNull where Str='abc' [] gorptest: 04:42:56.288802 select count(*) from TableWithNull [] gorptest: 04:42:56.288829 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 04:42:56.288857 select Int64 from TableWithNull where Str='notfound' [] gorptest: 04:42:56.288880 select Int64 from TableWithNull where Str='abc' [] gorptest: 04:42:56.288903 select Float64 from TableWithNull where Str='abc' [] gorptest: 04:42:56.288926 select min(Float64) from TableWithNull [] gorptest: 04:42:56.288968 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 04:42:56.289001 select Float64 from TableWithNull where Str='notfound' [] gorptest: 04:42:56.289026 select Float64 from TableWithNull where Str='abc' [] gorptest: 04:42:56.289052 select Str from TableWithNull where Int64=? [1:78] gorptest: 04:42:56.289079 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 04:42:56.289103 select Str from TableWithNull where Int64=? [1:78] gorptest: 04:42:56.289129 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 04:42:56.289160 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 04:42:56.289189 select Str from TableWithNull where Int64=? [1:78] gorptest: 04:42:56.289218 drop table if exists "TableWithNull"; [] 2023/01/27 04:42:56 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: 04:42:56.289406 drop table if exists "invoice_test"; [] gorptest: 04:42:56.289550 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.289568 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.289584 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.289610 drop table if exists "person_test"; [] gorptest: 04:42:56.289626 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.289642 drop table if exists "id_created_test"; [] gorptest: 04:42:56.289660 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.289675 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.289691 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.289708 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.289724 drop table if exists "time_test"; [] gorptest: 04:42:56.289745 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.289880 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: 04:42:56.289995 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.290125 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.290267 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.290383 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.290530 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.290642 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.290758 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.290878 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.290998 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.291111 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.291652 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576291638608 2:1674794576291638608 3:"Bob" 4:"Smith" 5:1] gorptest: 04:42:56.291798 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576291789165 2:1674794576291789165 3:"Jane" 4:"Smith" 5:1] gorptest: 04:42:56.291929 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576291916541 2:1674794576291916541 3:"Mike" 4:"Smith" 5:1] gorptest: 04:42:56.292051 drop table if exists "invoice_test"; [] gorptest: 04:42:56.292201 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.292337 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.292543 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.292735 drop table if exists "person_test"; [] gorptest: 04:42:56.292924 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.293069 drop table if exists "id_created_test"; [] gorptest: 04:42:56.293243 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.293332 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.293413 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.293725 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.293811 drop table if exists "time_test"; [] gorptest: 04:42:56.293901 drop table if exists "id_created_test"; [] gorptest: 04:42:56.293970 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 04:42:56.294191 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 04:42:56.294255 drop table if exists "string_pk_test"; [] 2023/01/27 04:42:56 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: 04:42:56.294672 drop table if exists "invoice_test"; [] gorptest: 04:42:56.294791 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.294807 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.294821 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.294835 drop table if exists "person_test"; [] gorptest: 04:42:56.294851 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.294866 drop table if exists "id_created_test"; [] gorptest: 04:42:56.294880 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.294894 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.294907 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.294922 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.294938 drop table if exists "time_test"; [] gorptest: 04:42:56.294958 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.295081 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: 04:42:56.295180 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.295272 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.295389 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.295730 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.295885 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.296298 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.296571 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.296744 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.296906 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.297082 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.297273 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-27 04:11:56.297242582 +0000 UTC] gorptest: 04:42:56.297390 insert into "time_test" ("Id","Time") values (null,?); [1:2023-01-27 04:12:57.297242582 +0000 UTC] gorptest: 04:42:56.297536 SELECT id FROM time_test WHERE Time < ? [1:2023-01-27 04:12:56.297242582 +0000 UTC] gorptest: 04:42:56.297606 drop table if exists "invoice_test"; [] gorptest: 04:42:56.297816 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.297944 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.298079 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.298319 drop table if exists "person_test"; [] gorptest: 04:42:56.298502 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.298623 drop table if exists "id_created_test"; [] gorptest: 04:42:56.298759 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.298891 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.299006 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.299138 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.299276 drop table if exists "time_test"; [] gorptest: 04:42:56.299399 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.299564 drop table if exists "invoice_test"; [] gorptest: 04:42:56.299731 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.299766 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.299783 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.299800 drop table if exists "person_test"; [] gorptest: 04:42:56.299816 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.299849 drop table if exists "id_created_test"; [] gorptest: 04:42:56.299866 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.299884 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.299917 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.299936 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.299952 drop table if exists "time_test"; [] gorptest: 04:42:56.299974 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.300180 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: 04:42:56.300342 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.300514 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.300659 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.300801 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.300918 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.301045 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.301183 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.301298 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.301419 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.301568 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.301695 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576301679795 2:1674794576301679795 3:"bob" 4:"smith" 5:1] gorptest: 04:42:56.301944 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 04:42:56.302261 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 04:42:56.302328 drop table if exists "invoice_test"; [] gorptest: 04:42:56.302641 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.302741 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.302825 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.302978 drop table if exists "person_test"; [] gorptest: 04:42:56.303068 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.303148 drop table if exists "id_created_test"; [] gorptest: 04:42:56.303545 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.303686 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.303774 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.303951 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.304079 drop table if exists "time_test"; [] gorptest: 04:42:56.304169 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.304366 drop table if exists "invoice_test"; [] gorptest: 04:42:56.304600 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.304617 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.304631 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.304687 drop table if exists "person_test"; [] gorptest: 04:42:56.304705 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.304720 drop table if exists "id_created_test"; [] gorptest: 04:42:56.304735 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.304750 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.304765 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.304828 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.304844 drop table if exists "time_test"; [] gorptest: 04:42:56.304865 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.305098 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: 04:42:56.305345 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.305603 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.305734 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.305837 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.306173 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.306332 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.306517 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.306642 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.306766 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.306886 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2023/01/27 04:42:56 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: 04:42:56.308524 drop table if exists "invoice_test"; [] gorptest: 04:42:56.308650 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.308667 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.308683 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.308698 drop table if exists "person_test"; [] gorptest: 04:42:56.308714 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.308736 drop table if exists "id_created_test"; [] gorptest: 04:42:56.308752 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.308767 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.308783 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.308804 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.308823 drop table if exists "time_test"; [] gorptest: 04:42:56.308844 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.308989 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: 04:42:56.309111 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.309223 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.309360 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.309518 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.309628 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.309744 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.309859 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.309972 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.310086 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.310199 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.310327 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576310313958 2:1674794576310313958 3:"bob" 4:"smith" 5:1] gorptest: 04:42:56.310447 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576310421046 2:1674794576310421046 3:"jane" 4:"doe" 5:1] gorptest: 04:42:56.310546 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:56.310598 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 04:42:56.310640 select * from person_test where Id=? [1:1] gorptest: 04:42:56.310692 select * from person_test order by fname asc [] gorptest: 04:42:56.310754 drop table if exists "invoice_test"; [] gorptest: 04:42:56.310868 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.310963 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.311056 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.311237 drop table if exists "person_test"; [] gorptest: 04:42:56.311345 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.311523 drop table if exists "id_created_test"; [] gorptest: 04:42:56.311919 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.312016 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.312097 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.312175 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.312252 drop table if exists "time_test"; [] gorptest: 04:42:56.312327 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.312462 drop table if exists "invoice_test"; [] gorptest: 04:42:56.312592 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.312609 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.312625 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.312640 drop table if exists "person_test"; [] gorptest: 04:42:56.312655 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.312672 drop table if exists "id_created_test"; [] gorptest: 04:42:56.312687 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.312703 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.312720 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.312737 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.312753 drop table if exists "time_test"; [] gorptest: 04:42:56.312782 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.312930 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: 04:42:56.313062 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.313187 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.313326 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.313564 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.313695 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.313811 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.313930 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.314044 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.314166 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.314290 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.314418 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576314405669 2:1674794576314405669 3:"bob" 4:"smith" 5:1] gorptest: 04:42:56.314542 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 04:42:56.314594 select * from person_test where Id=? [1:1] gorptest: 04:42:56.314656 select FName from person_test where Id=? [1:1] gorptest: 04:42:56.314757 select * from person_test where Id=? [1:1] gorptest: 04:42:56.314855 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 04:42:56.314946 select * from person_test where Id=? [1:-2222] gorptest: 04:42:56.315043 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1674794576314988035 2:1674794576314988035 3:"bob" 4:"smith" 5:1] gorptest: 04:42:56.315181 select * from person_test where Fname='bob' [] gorptest: 04:42:56.315295 select * from person_test where Id=-123 [] gorptest: 04:42:56.315323 select * from person_test where Id=-123 [] gorptest: 04:42:56.315392 select * from person_test where Id=-123 [] gorptest: 04:42:56.315415 select * from person_test where Id=-123 [] gorptest: 04:42:56.315491 drop table if exists "invoice_test"; [] gorptest: 04:42:56.315601 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.315695 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.315789 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.315941 drop table if exists "person_test"; [] gorptest: 04:42:56.316047 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.316140 drop table if exists "id_created_test"; [] gorptest: 04:42:56.316236 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.316328 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.316420 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.316640 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.316887 drop table if exists "time_test"; [] gorptest: 04:42:56.316983 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.317109 drop table if exists "invoice_test"; [] gorptest: 04:42:56.317228 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.317244 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.317258 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.317272 drop table if exists "person_test"; [] gorptest: 04:42:56.317287 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.317301 drop table if exists "id_created_test"; [] gorptest: 04:42:56.317315 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.317329 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.317343 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.317358 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.317373 drop table if exists "time_test"; [] gorptest: 04:42:56.317395 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.317654 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: 04:42:56.317782 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.317899 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.318044 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.318163 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.318273 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.318391 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.318536 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.318646 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.318758 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.318866 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.319150 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 04:42:56.319225 select * from id_created_test where Id=1 [] gorptest: 04:42:56.319268 SELECT *, 1 AS external FROM id_created_test [] gorptest: 04:42:56.319320 drop table if exists "invoice_test"; [] gorptest: 04:42:56.319781 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.319892 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.320058 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.320330 drop table if exists "person_test"; [] gorptest: 04:42:56.320492 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.320591 drop table if exists "id_created_test"; [] gorptest: 04:42:56.320692 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.320785 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.320876 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.320979 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.321076 drop table if exists "time_test"; [] gorptest: 04:42:56.321168 drop table if exists "id_created_test"; [] 2023/01/27 04:42:56 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: 04:42:56.321389 drop table if exists "invoice_test"; [] gorptest: 04:42:56.321608 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.321654 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.321670 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.321686 drop table if exists "person_test"; [] gorptest: 04:42:56.321701 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.321740 drop table if exists "id_created_test"; [] gorptest: 04:42:56.321756 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.321771 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.321786 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.321801 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.321833 drop table if exists "time_test"; [] gorptest: 04:42:56.321857 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.322013 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: 04:42:56.322142 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.322268 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.322455 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.322586 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.322695 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.322807 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.322918 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.323030 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.323147 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.323259 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.323371 drop table if exists "invoice_test"; [] gorptest: 04:42:56.323526 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.323684 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.323808 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.324031 drop table if exists "person_test"; [] gorptest: 04:42:56.324152 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.324269 drop table if exists "id_created_test"; [] gorptest: 04:42:56.324348 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.324463 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.324562 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.324656 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.324746 drop table if exists "time_test"; [] gorptest: 04:42:56.324837 drop table if exists "id_created_test"; [] gorptest: 04:42:56.324858 drop table if exists "single_column_table"; [] gorptest: 04:42:56.324880 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: 04:42:56.325020 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: 04:42:56.325144 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.325269 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: 04:42:56.325412 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: 04:42:56.325598 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.325709 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.325815 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.325957 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.326146 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.326327 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: 04:42:56.326471 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.326657 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 04:42:56.326684 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 04:42:56.326819 delete from "invoice_test"; [] gorptest: 04:42:56.326886 delete from "invoice_tag_test"; [] gorptest: 04:42:56.326948 delete from "alias_trans_field_test"; [] gorptest: 04:42:56.327006 delete from "invoice_override_test"; [] gorptest: 04:42:56.327066 delete from "person_test"; [] gorptest: 04:42:56.327161 delete from "ignored_column_test"; [] gorptest: 04:42:56.327250 delete from "id_created_test"; [] gorptest: 04:42:56.327337 delete from "type_conv_test"; [] gorptest: 04:42:56.327477 delete from "embedded_struct_test"; [] gorptest: 04:42:56.327540 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.327601 delete from "embedded_autoincr_test"; [] gorptest: 04:42:56.327660 delete from "time_test"; [] gorptest: 04:42:56.327720 delete from "id_created_test"; [] gorptest: 04:42:56.327779 delete from "single_column_table"; [] gorptest: 04:42:56.327858 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 04:42:56.327899 drop table if exists "invoice_test"; [] gorptest: 04:42:56.327998 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.328168 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.328322 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.328571 drop table if exists "person_test"; [] gorptest: 04:42:56.328675 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.328796 drop table if exists "id_created_test"; [] gorptest: 04:42:56.328891 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.328997 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.329093 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.329187 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.329278 drop table if exists "time_test"; [] gorptest: 04:42:56.329370 drop table if exists "id_created_test"; [] gorptest: 04:42:56.329392 drop table if exists "single_column_table"; [] 2023/01/27 04:42:56 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: 04:42:56.329934 drop table if exists "invoice_test"; [] gorptest: 04:42:56.330164 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.330180 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.330195 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.330239 drop table if exists "person_test"; [] gorptest: 04:42:56.330256 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.330271 drop table if exists "id_created_test"; [] gorptest: 04:42:56.330285 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.330300 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.330320 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.330336 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.330353 drop table if exists "time_test"; [] gorptest: 04:42:56.330375 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.330574 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: 04:42:56.330703 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 04:42:56.330824 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 04:42:56.330965 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 04:42:56.331098 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.331212 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 04:42:56.331325 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 04:42:56.331540 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 04:42:56.331671 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 04:42:56.331815 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 04:42:56.331953 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 04:42:56.332104 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 04:42:56.332226 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 04:42:56.332299 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 04:42:56.332412 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 04:42:56.332540 begin; [] gorptest: 04:42:56.332578 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 04:42:56.332655 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 04:42:56.332907 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 04:42:56.332972 commit; [] gorptest: 04:42:56.333067 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 04:42:56.333132 drop table if exists "invoice_test"; [] gorptest: 04:42:56.333308 drop table if exists "invoice_tag_test"; [] gorptest: 04:42:56.333416 drop table if exists "alias_trans_field_test"; [] gorptest: 04:42:56.333562 drop table if exists "invoice_override_test"; [] gorptest: 04:42:56.333802 drop table if exists "person_test"; [] gorptest: 04:42:56.333904 drop table if exists "ignored_column_test"; [] gorptest: 04:42:56.333999 drop table if exists "id_created_test"; [] gorptest: 04:42:56.334090 drop table if exists "type_conv_test"; [] gorptest: 04:42:56.334181 drop table if exists "embedded_struct_test"; [] gorptest: 04:42:56.334271 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 04:42:56.334364 drop table if exists "embedded_autoincr_test"; [] gorptest: 04:42:56.334477 drop table if exists "time_test"; [] gorptest: 04:42:56.334567 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 0.138s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-5.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8qWFJa + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WephZn + umask 022 + cd /builddir/build/BUILD + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64/usr/share/licenses/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(gopkg.in/gorp.v1) = 1.7.2-5.fc38 golang-gopkg-gorp-1-devel = 1.7.2-5.fc38 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Processing files: compat-golang-github-gorp-1-devel-1.7.2-5.fc38.noarch grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: compat-golang-github-gorp-1-devel = 1.7.2-5.fc38 golang(github.com/go-gorp/gorp/v1) = 1.7.2-5.fc38 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-5.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang-ipath(gopkg.in/gorp.v1) = 1.7.2-5.fc38 Obsoletes: golang-github-gorp-1-devel < 1.7.2-5.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-gopkg-gorp-1-1.7.2-5.fc38.x86_64 Wrote: /builddir/build/RPMS/compat-golang-github-gorp-1-devel-1.7.2-5.fc38.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-5.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ldzSLB + 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.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.QXWd1O + 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