Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f43-build-58263856-6563725/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.kq8517zp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.kq8517zp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'f8afb9e6bc8049e0ad289c5ffbab1c94', '-D', '/var/lib/mock/f43-build-58263856-6563725/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.kq8517zp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1737072000 Wrote: /builddir/build/SRPMS/golang-gopkg-gorp-1-1.7.2-12.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/golang-gopkg-gorp-1.spec'], chrootPath='/var/lib/mock/f43-build-58263856-6563725/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.kq8517zp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.kq8517zp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c66aa76463f944019ca8f6fc6482f5d4', '-D', '/var/lib/mock/f43-build-58263856-6563725/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_CORE=infinity', '--bind=/tmp/mock-resolv.kq8517zp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1737072000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.OwgnOG Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lEQy4f + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-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/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/vendor + [[ ! -e /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build' install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin' + export GOPATH=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 ]] ++ dirname /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + install -m 0755 -vd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src' install: creating directory '/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in' + ln -fs /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2 /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src/gopkg.in/gorp.v1 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-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.X4ogGy + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + '[' /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + mkdir /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT + cd gorp-1.7.2 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-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/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build -o golang-gopkg-gorp-1-devel.file-list -O /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2 -V 1.7.2-12.fc43 -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT -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/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/gocode/src/github.com/go-gorp/gorp + ln -rs /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/gocode/src/gopkg.in/gorp.v1 /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/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 + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j80 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j80 /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT Scanned 10 directories and 6 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.k0rgMU + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-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 + GO_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,pack-relative-relocs -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/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin -s /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build -V 1.7.2-12.fc43 -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/src PATH: /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-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,pack-relative-relocs -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 2025/03/25 17:23:27 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: 17:23:27.675495 drop table if exists "invoice_test"; [] gorptest: 17:23:27.677006 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.677034 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.677052 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.677070 drop table if exists "person_test"; [] gorptest: 17:23:27.677086 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.677102 drop table if exists "id_created_test"; [] gorptest: 17:23:27.677139 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.677156 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.677172 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.677188 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.677204 drop table if exists "time_test"; [] gorptest: 17:23:27.677234 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.679715 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: 17:23:27.681450 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:27.683154 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.684855 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:27.686308 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.687745 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.689187 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:27.690655 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:27.692165 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:27.693631 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:27.695111 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:27.696704 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: 17:23:27.696751 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: 17:23:27.696769 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:27.696785 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: 17:23:27.696802 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: 17:23:27.696816 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.696830 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.696845 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:27.696859 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:27.696874 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:27.696890 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: 17:23:27.696907 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:27.696923 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:27.696936 drop table if exists "invoice_test"; [] gorptest: 17:23:27.698486 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.700068 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.701567 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.703156 drop table if exists "person_test"; [] gorptest: 17:23:27.704625 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.706072 drop table if exists "id_created_test"; [] gorptest: 17:23:27.707579 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.709067 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.710594 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.712154 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.713579 drop table if exists "time_test"; [] gorptest: 17:23:27.714999 drop table if exists "id_created_test"; [] 2025/03/25 17:23:27 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: 17:23:27.715150 drop table if exists "invoice_test"; [] gorptest: 17:23:27.715274 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.715288 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.715301 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.715312 drop table if exists "person_test"; [] gorptest: 17:23:27.715323 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.715335 drop table if exists "id_created_test"; [] gorptest: 17:23:27.715346 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.715357 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.715369 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.715381 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.715393 drop table if exists "time_test"; [] gorptest: 17:23:27.715413 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.716978 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: 17:23:27.718654 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:27.720274 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.721962 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:27.723769 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.725418 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.726977 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:27.728583 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:27.730145 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:27.731784 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:27.733700 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:27.735464 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: 17:23:27.735507 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: 17:23:27.735525 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:27.735542 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: 17:23:27.735559 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: 17:23:27.735573 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.735587 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.735602 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:27.735617 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:27.735631 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:27.735647 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: 17:23:27.735661 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:27.735675 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:27.735735 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923407735697860 2:1742923407735697860 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:27.737642 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 17:23:27.739429 delete from "invoice_test"; [] gorptest: 17:23:27.741087 delete from "invoice_tag_test"; [] gorptest: 17:23:27.742814 delete from "alias_trans_field_test"; [] gorptest: 17:23:27.744597 delete from "invoice_override_test"; [] gorptest: 17:23:27.746509 delete from "person_test"; [] gorptest: 17:23:27.748191 delete from "ignored_column_test"; [] gorptest: 17:23:27.749911 delete from "id_created_test"; [] gorptest: 17:23:27.751607 delete from "type_conv_test"; [] gorptest: 17:23:27.753296 delete from "embedded_struct_test"; [] gorptest: 17:23:27.755006 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.756803 delete from "embedded_autoincr_test"; [] gorptest: 17:23:27.758527 delete from "time_test"; [] gorptest: 17:23:27.760286 delete from "id_created_test"; [] gorptest: 17:23:27.762035 SELECT * FROM person_test [] gorptest: 17:23:27.762104 SELECT * FROM invoice_test [] gorptest: 17:23:27.762159 drop table if exists "invoice_test"; [] gorptest: 17:23:27.763924 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.765713 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.767518 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.769458 drop table if exists "person_test"; [] gorptest: 17:23:27.771341 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.773138 drop table if exists "id_created_test"; [] gorptest: 17:23:27.774975 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.776864 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.778871 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.780663 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.782442 drop table if exists "time_test"; [] gorptest: 17:23:27.784276 drop table if exists "id_created_test"; [] gorptest: 17:23:27.784379 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 17:23:27.786395 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-03-25 17:23:27 +0000 UTC] gorptest: 17:23:27.788246 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 17:23:27.788310 drop table if exists "WithCustomDate"; [] gorptest: 17:23:27.790349 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:27.792356 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:27.794274 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:27.796206 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 17:23:27.798016 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 17:23:27.799876 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 17:23:27.801827 drop table if exists "PersonUInt64"; [] gorptest: 17:23:27.803816 drop table if exists "PersonUInt32"; [] gorptest: 17:23:27.805815 drop table if exists "PersonUInt16"; [] gorptest: 17:23:27.807877 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 17:23:27.810136 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 17:23:27.812012 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 17:23:27.812073 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 17:23:27.812151 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 17:23:27.814055 drop table if exists "UniqueColumns"; [] gorptest: 17:23:27.816117 drop table if exists PersistentUser [] gorptest: 17:23:27.816281 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:27.818130 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:27.819946 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 17:23:27.820010 select * from PersistentUser [] gorptest: 17:23:27.820049 select * from PersistentUser [] gorptest: 17:23:27.820077 select * from PersistentUser [] gorptest: 17:23:27.820103 select Id from PersistentUser [] gorptest: 17:23:27.820165 select mykey from PersistentUser [] gorptest: 17:23:27.820201 select PassedTraining from PersistentUser [] gorptest: 17:23:27.820221 select Id from PersistentUser [] gorptest: 17:23:27.820240 drop table if exists "PersistentUser"; [] gorptest: 17:23:27.822040 drop table if exists PersistentUser [] gorptest: 17:23:27.822211 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:27.824115 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:27.825900 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:27.827733 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:27.827805 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:27.827841 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:27.827877 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 17:23:27.827904 drop table if exists "PersistentUser"; [] gorptest: 17:23:27.829775 drop table if exists PersistentUser [] gorptest: 17:23:27.829918 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:27.831778 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:27.833604 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:27.835389 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:27.835463 drop table if exists "PersistentUser"; [] 2025/03/25 17:23:27 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: 17:23:27.837514 drop table if exists "invoice_test"; [] gorptest: 17:23:27.837639 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.837653 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.837665 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.837677 drop table if exists "person_test"; [] gorptest: 17:23:27.837689 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.837708 drop table if exists "id_created_test"; [] gorptest: 17:23:27.837721 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.837733 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.837745 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.837756 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.837768 drop table if exists "time_test"; [] gorptest: 17:23:27.837784 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.839698 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: 17:23:27.841692 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:27.843478 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.845450 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:27.847412 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.849384 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.851349 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:27.853237 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:27.855151 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:27.857030 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:27.858907 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:27.860786 select * from invoice_test where id=99999 [] gorptest: 17:23:27.860852 select * from invoice_test where id=99999 [] gorptest: 17:23:27.860884 drop table if exists "invoice_test"; [] gorptest: 17:23:27.862767 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.864658 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.866572 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.868450 drop table if exists "person_test"; [] gorptest: 17:23:27.870203 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.872012 drop table if exists "id_created_test"; [] gorptest: 17:23:27.873892 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.875674 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.877484 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.879301 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.881062 drop table if exists "time_test"; [] gorptest: 17:23:27.882958 drop table if exists "id_created_test"; [] gorptest: 17:23:27.883080 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 17:23:27.885157 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: 17:23:27.885221 drop table if exists "InvoicePersonView"; [] 2025/03/25 17:23:27 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: 17:23:27.887213 drop table if exists "invoice_test"; [] gorptest: 17:23:27.887349 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.887363 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.887375 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.887387 drop table if exists "person_test"; [] gorptest: 17:23:27.887399 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.887410 drop table if exists "id_created_test"; [] gorptest: 17:23:27.887422 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.887433 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.887445 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.887456 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.887468 drop table if exists "time_test"; [] gorptest: 17:23:27.887486 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.889351 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: 17:23:27.891244 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:27.893073 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.895087 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:27.897062 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.898878 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.900842 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:27.902702 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:27.904618 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:27.906587 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:27.908534 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:27.910409 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923407910397218 2:1742923407910397218 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:27.912288 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:27.912391 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923407910397218 2:1742923407910397218 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 17:23:27.914136 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923407910397218 2:1742923407910397218 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 17:23:27.914194 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:27.914239 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 17:23:27.914263 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:27.914288 drop table if exists "invoice_test"; [] gorptest: 17:23:27.916040 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.917889 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.919711 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.921634 drop table if exists "person_test"; [] gorptest: 17:23:27.923523 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.925343 drop table if exists "id_created_test"; [] gorptest: 17:23:27.927127 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.929033 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.930918 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.932743 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.934605 drop table if exists "time_test"; [] gorptest: 17:23:27.936450 drop table if exists "id_created_test"; [] gorptest: 17:23:27.936599 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:27.938671 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 17:23:27.940543 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:27.940635 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: 17:23:27.942442 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:27.942555 drop table if exists "TableWithNull"; [] gorptest: 17:23:27.944509 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 17:23:27.946623 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 17:23:27.948600 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 17:23:27.948666 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 17:23:27.948704 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 17:23:27.948727 drop table if exists "Invoice"; [] 2025/03/25 17:23:27 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: 17:23:27.950841 drop table if exists "invoice_test"; [] gorptest: 17:23:27.950967 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.950981 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.950993 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.951004 drop table if exists "person_test"; [] gorptest: 17:23:27.951016 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.951028 drop table if exists "id_created_test"; [] gorptest: 17:23:27.951048 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.951061 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.951073 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.951085 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.951096 drop table if exists "time_test"; [] gorptest: 17:23:27.951124 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.952982 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: 17:23:27.954870 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:27.956757 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:27.958720 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:27.960608 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.962514 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:27.964388 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:27.966295 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:27.968201 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:27.970096 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:27.971966 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:27.973914 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923407973891104 2:1742923407973891104 3:"bob" 4:"smith" 5:1] gorptest: 17:23:27.975772 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 17:23:27.977621 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:27.977715 drop table if exists "invoice_test"; [] gorptest: 17:23:27.979542 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:27.981365 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:27.983159 drop table if exists "invoice_override_test"; [] gorptest: 17:23:27.985029 drop table if exists "person_test"; [] gorptest: 17:23:27.986898 drop table if exists "ignored_column_test"; [] gorptest: 17:23:27.988764 drop table if exists "id_created_test"; [] gorptest: 17:23:27.990635 drop table if exists "type_conv_test"; [] gorptest: 17:23:27.992487 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:27.994300 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:27.996099 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:27.997987 drop table if exists "time_test"; [] gorptest: 17:23:27.999847 drop table if exists "id_created_test"; [] 2025/03/25 17:23:27 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: 17:23:27.999991 drop table if exists "invoice_test"; [] gorptest: 17:23:28.000121 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.000142 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.000155 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.000166 drop table if exists "person_test"; [] gorptest: 17:23:28.000177 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.000188 drop table if exists "id_created_test"; [] gorptest: 17:23:28.000200 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.000211 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.000223 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.000234 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.000245 drop table if exists "time_test"; [] gorptest: 17:23:28.000261 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.002151 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: 17:23:28.004102 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.006010 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.008015 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.009967 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.011868 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.013845 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.015761 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.017828 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.019749 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.021664 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.023561 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408023550307 2:1742923408023550307 3:"bob" 4:"smith" 5:1] gorptest: 17:23:28.025593 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:28.025666 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923408023550307 2:1742923408023550307 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 17:23:28.027437 select * from person_test where id = ? [1:1] gorptest: 17:23:28.027526 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 17:23:28.029360 drop table if exists "invoice_test"; [] gorptest: 17:23:28.031217 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.033047 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.034819 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.036852 drop table if exists "person_test"; [] gorptest: 17:23:28.038755 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.040595 drop table if exists "id_created_test"; [] gorptest: 17:23:28.042379 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.044124 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.045962 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.047743 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.049535 drop table if exists "time_test"; [] gorptest: 17:23:28.051378 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.051521 drop table if exists "invoice_test"; [] gorptest: 17:23:28.051644 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.051658 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.051671 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.051682 drop table if exists "person_test"; [] gorptest: 17:23:28.051693 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.051705 drop table if exists "id_created_test"; [] gorptest: 17:23:28.051716 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.051727 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.051738 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.051750 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.051761 drop table if exists "time_test"; [] gorptest: 17:23:28.051776 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.053709 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: 17:23:28.055854 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.058325 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.060329 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.062292 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.064242 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.066170 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.068037 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.069848 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.071682 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.074623 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.076546 begin; [] gorptest: 17:23:28.076596 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 17:23:28.076744 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 17:23:28.076765 commit; [] gorptest: 17:23:28.078587 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:28.078658 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:28.078693 drop table if exists "invoice_test"; [] gorptest: 17:23:28.080661 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.082497 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.084403 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.086374 drop table if exists "person_test"; [] gorptest: 17:23:28.088312 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.090240 drop table if exists "id_created_test"; [] gorptest: 17:23:28.092298 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.094319 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.096225 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.098126 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.099999 drop table if exists "time_test"; [] gorptest: 17:23:28.101994 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.102157 drop table if exists "invoice_test"; [] gorptest: 17:23:28.102289 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.102304 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.102316 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.102327 drop table if exists "person_test"; [] gorptest: 17:23:28.102338 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.102350 drop table if exists "id_created_test"; [] gorptest: 17:23:28.102361 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.102372 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.102383 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.102395 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.102406 drop table if exists "time_test"; [] gorptest: 17:23:28.102427 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.104410 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: 17:23:28.106427 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.108400 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.110466 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.112379 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.114305 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.116330 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.118323 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.120272 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.122155 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.124102 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.125939 begin; [] gorptest: 17:23:28.125978 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 17:23:28.126130 select memo from invoice_test [] gorptest: 17:23:28.126167 savepoint "foo" [1:] gorptest: 17:23:28.126174 select memo from invoice_test [] gorptest: 17:23:28.126195 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 17:23:28.126215 select memo from invoice_test [] gorptest: 17:23:28.126231 rollback to savepoint "foo" [1:] gorptest: 17:23:28.126240 select memo from invoice_test [] gorptest: 17:23:28.126250 rollback; [] gorptest: 17:23:28.126334 drop table if exists "invoice_test"; [] gorptest: 17:23:28.128065 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.129926 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.131801 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.133704 drop table if exists "person_test"; [] gorptest: 17:23:28.135545 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.137389 drop table if exists "id_created_test"; [] gorptest: 17:23:28.139138 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.140950 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.142729 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.144572 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.146428 drop table if exists "time_test"; [] gorptest: 17:23:28.148259 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.148437 drop table if exists "invoice_test"; [] gorptest: 17:23:28.148563 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.148578 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.148589 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.148601 drop table if exists "person_test"; [] gorptest: 17:23:28.148612 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.148624 drop table if exists "id_created_test"; [] gorptest: 17:23:28.148635 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.148646 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.148658 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.148670 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.148681 drop table if exists "time_test"; [] gorptest: 17:23:28.148697 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.150653 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: 17:23:28.152665 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.154538 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.156613 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.158479 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.160319 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.162192 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.164068 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.166015 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.168057 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.170003 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.171908 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 17:23:28.173746 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 17:23:28.175570 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 17:23:28.177517 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 17:23:28.179394 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:28.181271 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:28.183149 drop table if exists "invoice_test"; [] gorptest: 17:23:28.184973 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.186922 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.188835 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.190753 drop table if exists "person_test"; [] gorptest: 17:23:28.192551 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.194379 drop table if exists "id_created_test"; [] gorptest: 17:23:28.196283 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.198092 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.199973 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.201885 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.203723 drop table if exists "time_test"; [] gorptest: 17:23:28.205542 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.205734 drop table if exists "invoice_test"; [] gorptest: 17:23:28.205863 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.205878 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.205890 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.205901 drop table if exists "person_test"; [] gorptest: 17:23:28.205920 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.205932 drop table if exists "id_created_test"; [] gorptest: 17:23:28.205944 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.205955 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.205966 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.205977 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.205989 drop table if exists "time_test"; [] gorptest: 17:23:28.206005 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.207944 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: 17:23:28.209835 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.211746 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.213742 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.216433 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.218439 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.220424 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.222263 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.224213 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.226127 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.228016 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.229848 delete from invoice_test [] gorptest: 17:23:28.231719 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 17:23:28.233748 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:28.233833 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:3473046183348044902 2:1351198288126715846 3:"random 5782855761457659397" 4:0 5:true 6:1] gorptest: 17:23:28.235655 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:28.235723 select * from invoice_test [] gorptest: 17:23:28.235774 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:28.237674 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:28.237732 delete from invoice_tag_test [] gorptest: 17:23:28.240036 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: 17:23:28.242003 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:28.242090 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:4779896851990033795 2:3497860883832552721 3:"random 2510402809262425637" 4:33 5:false 6:1] gorptest: 17:23:28.244001 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:28.244072 select * from invoice_tag_test [] gorptest: 17:23:28.244161 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:28.245922 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:28.245982 delete from alias_trans_field_test [] gorptest: 17:23:28.247839 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 17:23:28.249741 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:28.249808 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 8803257874879957121" 2:1] gorptest: 17:23:28.251636 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:28.251698 select * from alias_trans_field_test [] gorptest: 17:23:28.251733 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:28.253561 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:28.253631 drop table if exists "invoice_test"; [] gorptest: 17:23:28.255588 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.257566 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.259610 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.261636 drop table if exists "person_test"; [] gorptest: 17:23:28.263592 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.265544 drop table if exists "id_created_test"; [] gorptest: 17:23:28.267433 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.269306 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.271244 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.273079 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.275035 drop table if exists "time_test"; [] gorptest: 17:23:28.276959 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.277149 drop table if exists "invoice_test"; [] gorptest: 17:23:28.277299 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.277314 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.277326 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.277337 drop table if exists "person_test"; [] gorptest: 17:23:28.277349 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.277360 drop table if exists "id_created_test"; [] gorptest: 17:23:28.277372 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.277383 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.277395 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.277406 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.277418 drop table if exists "time_test"; [] gorptest: 17:23:28.277434 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.279480 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: 17:23:28.281565 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.283569 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.285573 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.287555 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.289522 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.291506 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.293432 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.295372 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.297338 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.299291 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.301360 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 17:23:28.303298 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:28.303369 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:28.305237 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:28.305297 drop table if exists "invoice_test"; [] gorptest: 17:23:28.307145 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.309151 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.311068 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.313043 drop table if exists "person_test"; [] gorptest: 17:23:28.315010 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.316942 drop table if exists "id_created_test"; [] gorptest: 17:23:28.318849 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.320735 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.322647 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.324577 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.326504 drop table if exists "time_test"; [] gorptest: 17:23:28.328444 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.328621 drop table if exists "invoice_test"; [] gorptest: 17:23:28.328757 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.328772 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.328784 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.328795 drop table if exists "person_test"; [] gorptest: 17:23:28.328807 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.328818 drop table if exists "id_created_test"; [] gorptest: 17:23:28.328833 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.328846 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.328857 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.328869 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.328880 drop table if exists "time_test"; [] gorptest: 17:23:28.328895 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.330900 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: 17:23:28.332909 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.334880 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.336996 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.339058 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.341046 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.343015 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.345074 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.347168 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.349205 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.351286 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.353413 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: 17:23:28.355436 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:28.355537 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: 17:23:28.357544 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:28.357622 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:28.359677 drop table if exists "invoice_test"; [] gorptest: 17:23:28.361670 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.363729 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.365669 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.367744 drop table if exists "person_test"; [] gorptest: 17:23:28.369847 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.371904 drop table if exists "id_created_test"; [] gorptest: 17:23:28.374016 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.376146 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.378130 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.380018 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.382020 drop table if exists "time_test"; [] gorptest: 17:23:28.383989 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.384170 drop table if exists "invoice_test"; [] gorptest: 17:23:28.384310 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.384324 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.384336 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.384348 drop table if exists "person_test"; [] gorptest: 17:23:28.384359 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.384371 drop table if exists "id_created_test"; [] gorptest: 17:23:28.384382 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.384393 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.384405 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.384417 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.384430 drop table if exists "time_test"; [] gorptest: 17:23:28.384446 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.386446 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: 17:23:28.388442 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.390434 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.392563 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.394597 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.396567 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.398518 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.400531 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.402520 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.404549 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.406745 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.408708 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 17:23:28.410787 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:28.410877 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 17:23:28.412743 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:28.412810 select * from embedded_struct_test [] gorptest: 17:23:28.412863 drop table if exists "invoice_test"; [] gorptest: 17:23:28.414865 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.416839 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.418765 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.420753 drop table if exists "person_test"; [] gorptest: 17:23:28.422772 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.424746 drop table if exists "id_created_test"; [] gorptest: 17:23:28.426751 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.428762 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.430658 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.432739 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.434664 drop table if exists "time_test"; [] gorptest: 17:23:28.436641 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.436806 drop table if exists "invoice_test"; [] gorptest: 17:23:28.436937 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.436952 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.436964 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.436975 drop table if exists "person_test"; [] gorptest: 17:23:28.436986 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.436997 drop table if exists "id_created_test"; [] gorptest: 17:23:28.437009 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.437020 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.437031 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.437050 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.437062 drop table if exists "time_test"; [] gorptest: 17:23:28.437082 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.439064 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: 17:23:28.441182 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.443361 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.445559 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.447792 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.449779 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.451853 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.453986 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.456234 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.458406 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.460413 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.462432 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 17:23:28.464438 drop table if exists "invoice_test"; [] gorptest: 17:23:28.466455 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.468510 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.470576 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.472726 drop table if exists "person_test"; [] gorptest: 17:23:28.474913 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.476939 drop table if exists "id_created_test"; [] gorptest: 17:23:28.478958 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.481049 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.483015 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.485166 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.487239 drop table if exists "time_test"; [] gorptest: 17:23:28.489260 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.489413 drop table if exists "invoice_test"; [] gorptest: 17:23:28.489544 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.489559 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.489571 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.489587 drop table if exists "person_test"; [] gorptest: 17:23:28.489600 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.489612 drop table if exists "id_created_test"; [] gorptest: 17:23:28.489627 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.489640 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.489651 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.489662 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.489673 drop table if exists "time_test"; [] gorptest: 17:23:28.489689 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.491836 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: 17:23:28.493936 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.495968 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.498159 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.500323 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.502472 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.504550 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.506648 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.508732 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.510840 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.512883 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.514962 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 17:23:28.517052 drop table if exists "invoice_test"; [] gorptest: 17:23:28.519096 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.521247 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.523102 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.525060 drop table if exists "person_test"; [] gorptest: 17:23:28.527116 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.529017 drop table if exists "id_created_test"; [] gorptest: 17:23:28.530970 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.532832 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.534726 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.536636 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.538614 drop table if exists "time_test"; [] gorptest: 17:23:28.540556 drop table if exists "id_created_test"; [] gorptest: 17:23:28.540675 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:28.542800 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: 17:23:28.544660 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:28.544730 select count(*) from TableWithNull [] gorptest: 17:23:28.544756 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:28.544780 select Int64 from TableWithNull where Str='notfound' [] gorptest: 17:23:28.544819 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:28.544842 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:28.544862 select min(Float64) from TableWithNull [] gorptest: 17:23:28.544886 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:28.544907 select Float64 from TableWithNull where Str='notfound' [] gorptest: 17:23:28.544927 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:28.544948 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:28.544968 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:28.544986 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:28.545005 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:28.545032 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 17:23:28.545054 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:28.545074 drop table if exists "TableWithNull"; [] 2025/03/25 17:23:28 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: 17:23:28.547197 drop table if exists "invoice_test"; [] gorptest: 17:23:28.547338 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.547352 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.547364 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.547375 drop table if exists "person_test"; [] gorptest: 17:23:28.547388 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.547399 drop table if exists "id_created_test"; [] gorptest: 17:23:28.547411 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.547422 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.547433 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.547445 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.547456 drop table if exists "time_test"; [] gorptest: 17:23:28.547472 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.549442 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: 17:23:28.551398 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.553471 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.555492 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.557464 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.559486 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.561467 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.563445 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.565458 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.567451 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.569364 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.571250 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408571239391 2:1742923408571239391 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:28.573104 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408573095848 2:1742923408573095848 3:"Jane" 4:"Smith" 5:1] gorptest: 17:23:28.574949 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408574940584 2:1742923408574940584 3:"Mike" 4:"Smith" 5:1] gorptest: 17:23:28.576825 drop table if exists "invoice_test"; [] gorptest: 17:23:28.578676 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.580528 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.582412 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.584368 drop table if exists "person_test"; [] gorptest: 17:23:28.586375 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.588321 drop table if exists "id_created_test"; [] gorptest: 17:23:28.590240 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.592151 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.594137 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.596035 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.597958 drop table if exists "time_test"; [] gorptest: 17:23:28.599907 drop table if exists "id_created_test"; [] gorptest: 17:23:28.600022 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 17:23:28.602173 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 17:23:28.604061 drop table if exists "string_pk_test"; [] 2025/03/25 17:23:28 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: 17:23:28.606232 drop table if exists "invoice_test"; [] gorptest: 17:23:28.606378 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.606393 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.606404 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.606416 drop table if exists "person_test"; [] gorptest: 17:23:28.606431 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.606444 drop table if exists "id_created_test"; [] gorptest: 17:23:28.606455 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.606466 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.606478 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.606494 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.606506 drop table if exists "time_test"; [] gorptest: 17:23:28.606522 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.608558 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: 17:23:28.610609 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.612530 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.614499 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.616471 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.618448 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.620395 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.622322 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.624300 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.626248 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.628161 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.630097 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:52:28.630084076 +0000 UTC] gorptest: 17:23:28.632160 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:53:29.630084076 +0000 UTC] gorptest: 17:23:28.634141 SELECT id FROM time_test WHERE Time < ? [1:2025-03-25 16:53:28.630084076 +0000 UTC] gorptest: 17:23:28.634225 drop table if exists "invoice_test"; [] gorptest: 17:23:28.636089 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.637967 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.639982 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.642036 drop table if exists "person_test"; [] gorptest: 17:23:28.643918 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.645852 drop table if exists "id_created_test"; [] gorptest: 17:23:28.647773 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.649743 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.651641 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.653529 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.655447 drop table if exists "time_test"; [] gorptest: 17:23:28.657385 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.657533 drop table if exists "invoice_test"; [] gorptest: 17:23:28.657671 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.657686 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.657699 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.657713 drop table if exists "person_test"; [] gorptest: 17:23:28.657727 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.657741 drop table if exists "id_created_test"; [] gorptest: 17:23:28.657758 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.657771 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.657784 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.657796 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.657807 drop table if exists "time_test"; [] gorptest: 17:23:28.657827 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.659873 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: 17:23:28.661924 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.663967 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.666071 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.668032 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.669993 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.672057 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.674122 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.676139 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.678168 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.680167 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.682220 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408682207781 2:1742923408682207781 3:"bob" 4:"smith" 5:1] gorptest: 17:23:28.684191 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 17:23:28.686146 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:28.686254 drop table if exists "invoice_test"; [] gorptest: 17:23:28.688208 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.690166 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.692118 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.694192 drop table if exists "person_test"; [] gorptest: 17:23:28.696299 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.698253 drop table if exists "id_created_test"; [] gorptest: 17:23:28.700223 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.702123 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.704859 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.707392 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.709417 drop table if exists "time_test"; [] gorptest: 17:23:28.711316 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.711468 drop table if exists "invoice_test"; [] gorptest: 17:23:28.711603 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.711619 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.711631 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.711643 drop table if exists "person_test"; [] gorptest: 17:23:28.711654 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.711665 drop table if exists "id_created_test"; [] gorptest: 17:23:28.711677 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.711688 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.711705 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.711717 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.711728 drop table if exists "time_test"; [] gorptest: 17:23:28.711747 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.713764 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: 17:23:28.715822 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.717802 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.719928 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.721963 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.724055 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.725980 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.728012 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.730173 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.732236 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.734248 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/03/25 17:23:28 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: 17:23:28.766527 drop table if exists "invoice_test"; [] gorptest: 17:23:28.766666 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.766682 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.766695 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.766708 drop table if exists "person_test"; [] gorptest: 17:23:28.766720 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.766732 drop table if exists "id_created_test"; [] gorptest: 17:23:28.766744 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.766755 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.766767 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.766779 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.766791 drop table if exists "time_test"; [] gorptest: 17:23:28.766816 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.768788 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: 17:23:28.770867 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.772928 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.775022 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.777087 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.779089 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.781246 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.783323 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.785315 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.787365 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.789373 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.791448 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408791433835 2:1742923408791433835 3:"bob" 4:"smith" 5:1] gorptest: 17:23:28.793452 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408793442773 2:1742923408793442773 3:"jane" 4:"doe" 5:1] gorptest: 17:23:28.795418 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:28.795509 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 17:23:28.795572 select * from person_test where Id=? [1:1] gorptest: 17:23:28.795620 select * from person_test order by fname asc [] gorptest: 17:23:28.795677 drop table if exists "invoice_test"; [] gorptest: 17:23:28.797651 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.799593 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.801476 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.803467 drop table if exists "person_test"; [] gorptest: 17:23:28.805513 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.807483 drop table if exists "id_created_test"; [] gorptest: 17:23:28.809440 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.811426 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.813434 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.815355 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.817194 drop table if exists "time_test"; [] gorptest: 17:23:28.819083 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.819255 drop table if exists "invoice_test"; [] gorptest: 17:23:28.819393 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.819409 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.819421 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.819433 drop table if exists "person_test"; [] gorptest: 17:23:28.819445 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.819457 drop table if exists "id_created_test"; [] gorptest: 17:23:28.819470 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.819483 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.819496 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.819508 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.819521 drop table if exists "time_test"; [] gorptest: 17:23:28.819538 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.821599 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: 17:23:28.823669 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.825660 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.827758 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.829818 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.831840 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.833802 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.835811 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.837882 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.839892 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.841987 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.843978 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408843963583 2:1742923408843963583 3:"bob" 4:"smith" 5:1] gorptest: 17:23:28.845916 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:28.845998 select * from person_test where Id=? [1:1] gorptest: 17:23:28.846046 select FName from person_test where Id=? [1:1] gorptest: 17:23:28.846070 select * from person_test where Id=? [1:1] gorptest: 17:23:28.846139 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 17:23:28.846178 select * from person_test where Id=? [1:-2222] gorptest: 17:23:28.846213 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923408846207683 2:1742923408846207683 3:"bob" 4:"smith" 5:1] gorptest: 17:23:28.848171 select * from person_test where Fname='bob' [] gorptest: 17:23:28.848267 select * from person_test where Id=-123 [] gorptest: 17:23:28.848291 select * from person_test where Id=-123 [] gorptest: 17:23:28.848310 select * from person_test where Id=-123 [] gorptest: 17:23:28.848326 select * from person_test where Id=-123 [] gorptest: 17:23:28.848344 drop table if exists "invoice_test"; [] gorptest: 17:23:28.850294 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.852241 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.854205 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.856281 drop table if exists "person_test"; [] gorptest: 17:23:28.858338 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.860325 drop table if exists "id_created_test"; [] gorptest: 17:23:28.862315 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.864330 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.866286 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.868281 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.870325 drop table if exists "time_test"; [] gorptest: 17:23:28.872280 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.872435 drop table if exists "invoice_test"; [] gorptest: 17:23:28.872574 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.872590 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.872602 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.872614 drop table if exists "person_test"; [] gorptest: 17:23:28.872625 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.872636 drop table if exists "id_created_test"; [] gorptest: 17:23:28.872647 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.872659 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.872671 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.872682 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.872694 drop table if exists "time_test"; [] gorptest: 17:23:28.872714 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.874786 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: 17:23:28.876812 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.878899 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.881160 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.883176 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.885190 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.887220 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.889278 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.891356 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.893360 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.895388 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.897467 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 17:23:28.899436 select * from id_created_test where Id=1 [] gorptest: 17:23:28.899533 SELECT *, 1 AS external FROM id_created_test [] gorptest: 17:23:28.899580 drop table if exists "invoice_test"; [] gorptest: 17:23:28.901744 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.903672 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.905684 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.907711 drop table if exists "person_test"; [] gorptest: 17:23:28.909609 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.911512 drop table if exists "id_created_test"; [] gorptest: 17:23:28.913631 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.915563 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.917569 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.919527 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.921520 drop table if exists "time_test"; [] gorptest: 17:23:28.923460 drop table if exists "id_created_test"; [] 2025/03/25 17:23:28 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: 17:23:28.923644 drop table if exists "invoice_test"; [] gorptest: 17:23:28.923794 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.923809 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.923821 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.923832 drop table if exists "person_test"; [] gorptest: 17:23:28.923843 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.923855 drop table if exists "id_created_test"; [] gorptest: 17:23:28.923873 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.923888 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.923899 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.923911 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.923922 drop table if exists "time_test"; [] gorptest: 17:23:28.923939 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.925987 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: 17:23:28.928011 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.930029 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:28.932119 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:28.934143 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.936133 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.938216 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.940244 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.942240 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.944244 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:28.946327 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.948349 drop table if exists "invoice_test"; [] gorptest: 17:23:28.950358 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:28.952329 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:28.954326 drop table if exists "invoice_override_test"; [] gorptest: 17:23:28.956412 drop table if exists "person_test"; [] gorptest: 17:23:28.958417 drop table if exists "ignored_column_test"; [] gorptest: 17:23:28.960477 drop table if exists "id_created_test"; [] gorptest: 17:23:28.962438 drop table if exists "type_conv_test"; [] gorptest: 17:23:28.964500 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:28.966473 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:28.968456 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:28.970486 drop table if exists "time_test"; [] gorptest: 17:23:28.972537 drop table if exists "id_created_test"; [] gorptest: 17:23:28.972581 drop table if exists "single_column_table"; [] gorptest: 17:23:28.972603 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: 17:23:28.974764 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: 17:23:28.976854 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:28.978972 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: 17:23:28.981080 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: 17:23:28.983178 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.985311 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:28.987398 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:28.989500 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:28.991577 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:28.993701 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: 17:23:28.995861 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:28.998549 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:28.998601 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 17:23:29.000670 delete from "invoice_test"; [] gorptest: 17:23:29.002547 delete from "invoice_tag_test"; [] gorptest: 17:23:29.004532 delete from "alias_trans_field_test"; [] gorptest: 17:23:29.006505 delete from "invoice_override_test"; [] gorptest: 17:23:29.008437 delete from "person_test"; [] gorptest: 17:23:29.010390 delete from "ignored_column_test"; [] gorptest: 17:23:29.012239 delete from "id_created_test"; [] gorptest: 17:23:29.014171 delete from "type_conv_test"; [] gorptest: 17:23:29.016049 delete from "embedded_struct_test"; [] gorptest: 17:23:29.017952 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:29.019809 delete from "embedded_autoincr_test"; [] gorptest: 17:23:29.021645 delete from "time_test"; [] gorptest: 17:23:29.023594 delete from "id_created_test"; [] gorptest: 17:23:29.025449 delete from "single_column_table"; [] gorptest: 17:23:29.027424 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 17:23:29.027494 drop table if exists "invoice_test"; [] gorptest: 17:23:29.029471 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:29.031445 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:29.033432 drop table if exists "invoice_override_test"; [] gorptest: 17:23:29.035484 drop table if exists "person_test"; [] gorptest: 17:23:29.037408 drop table if exists "ignored_column_test"; [] gorptest: 17:23:29.039334 drop table if exists "id_created_test"; [] gorptest: 17:23:29.041318 drop table if exists "type_conv_test"; [] gorptest: 17:23:29.043235 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:29.045201 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:29.047212 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:29.049271 drop table if exists "time_test"; [] gorptest: 17:23:29.051324 drop table if exists "id_created_test"; [] gorptest: 17:23:29.051368 drop table if exists "single_column_table"; [] 2025/03/25 17:23:29 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: 17:23:29.053465 drop table if exists "invoice_test"; [] gorptest: 17:23:29.053623 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:29.053639 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:29.053657 drop table if exists "invoice_override_test"; [] gorptest: 17:23:29.053669 drop table if exists "person_test"; [] gorptest: 17:23:29.053680 drop table if exists "ignored_column_test"; [] gorptest: 17:23:29.053691 drop table if exists "id_created_test"; [] gorptest: 17:23:29.053703 drop table if exists "type_conv_test"; [] gorptest: 17:23:29.053714 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:29.053726 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:29.053737 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:29.053748 drop table if exists "time_test"; [] gorptest: 17:23:29.053765 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:29.055800 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: 17:23:29.057910 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:29.060046 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:29.062249 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:29.064320 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:29.066351 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:29.068413 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:29.070537 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:29.072668 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:29.074719 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:29.076787 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:29.078816 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 17:23:29.080807 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 17:23:29.082772 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 17:23:29.084759 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 17:23:29.084860 begin; [] gorptest: 17:23:29.084878 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 17:23:29.085004 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:29.085232 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:29.085276 commit; [] gorptest: 17:23:29.087183 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:29.087278 drop table if exists "invoice_test"; [] gorptest: 17:23:29.089358 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:29.091441 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:29.093503 drop table if exists "invoice_override_test"; [] gorptest: 17:23:29.095561 drop table if exists "person_test"; [] gorptest: 17:23:29.097594 drop table if exists "ignored_column_test"; [] gorptest: 17:23:29.099506 drop table if exists "id_created_test"; [] gorptest: 17:23:29.101439 drop table if exists "type_conv_test"; [] gorptest: 17:23:29.103364 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:29.105260 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:29.107193 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:29.109261 drop table if exists "time_test"; [] gorptest: 17:23:29.111335 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 1.448s gopkg.in/gorp.v1 2025/03/25 17:23:30 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: 17:23:30.280801 drop table if exists "invoice_test"; [] gorptest: 17:23:30.282090 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.282205 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.282270 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.282292 drop table if exists "person_test"; [] gorptest: 17:23:30.282309 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.282326 drop table if exists "id_created_test"; [] gorptest: 17:23:30.282343 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.282359 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.282376 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.282393 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.282409 drop table if exists "time_test"; [] gorptest: 17:23:30.282440 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.285224 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: 17:23:30.287568 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.289719 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.291735 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.293773 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.295891 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.297902 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.299938 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.301917 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.303821 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.305805 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.307899 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: 17:23:30.307947 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: 17:23:30.307966 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.307983 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: 17:23:30.307999 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: 17:23:30.308013 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.308027 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.308042 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.308057 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.308071 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.308087 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: 17:23:30.308103 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.308128 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:30.308142 drop table if exists "invoice_test"; [] gorptest: 17:23:30.310117 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.312083 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.314047 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.316087 drop table if exists "person_test"; [] gorptest: 17:23:30.318038 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.319876 drop table if exists "id_created_test"; [] gorptest: 17:23:30.321860 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.323770 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.325704 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.327655 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.329533 drop table if exists "time_test"; [] gorptest: 17:23:30.331419 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.331571 drop table if exists "invoice_test"; [] gorptest: 17:23:30.331695 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.331709 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.331721 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.331732 drop table if exists "person_test"; [] gorptest: 17:23:30.331744 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.331755 drop table if exists "id_created_test"; [] gorptest: 17:23:30.331766 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.331777 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.331789 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.331800 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.331812 drop table if exists "time_test"; [] gorptest: 17:23:30.331832 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.333731 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: 17:23:30.335643 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.337559 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.339602 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.341588 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.343577 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.345578 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.347484 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.349500 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.351514 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.353493 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.355448 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: 17:23:30.355493 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: 17:23:30.355513 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.355530 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: 17:23:30.355547 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: 17:23:30.355562 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.355576 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.355591 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.355605 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.355620 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.355636 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: 17:23:30.355651 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.355665 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:30.355734 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923410355689905 2:1742923410355689905 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:30.357668 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:1 3:"my invoice" 4:0 5:true] gorptest: 17:23:30.359583 delete from "invoice_test"; [] gorptest: 17:23:30.361518 delete from "invoice_tag_test"; [] gorptest: 17:23:30.363309 delete from "alias_trans_field_test"; [] gorptest: 17:23:30.365085 delete from "invoice_override_test"; [] gorptest: 17:23:30.367017 delete from "person_test"; [] gorptest: 17:23:30.368808 delete from "ignored_column_test"; [] gorptest: 17:23:30.370644 delete from "id_created_test"; [] gorptest: 17:23:30.372529 delete from "type_conv_test"; [] gorptest: 17:23:30.374320 delete from "embedded_struct_test"; [] gorptest: 17:23:30.376140 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.377964 delete from "embedded_autoincr_test"; [] gorptest: 17:23:30.379723 delete from "time_test"; [] gorptest: 17:23:30.381510 delete from "id_created_test"; [] gorptest: 17:23:30.383307 SELECT * FROM person_test [] gorptest: 17:23:30.383385 SELECT * FROM invoice_test [] gorptest: 17:23:30.383425 drop table if exists "invoice_test"; [] gorptest: 17:23:30.385419 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.387302 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.389212 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.391227 drop table if exists "person_test"; [] gorptest: 17:23:30.393225 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.395097 drop table if exists "id_created_test"; [] gorptest: 17:23:30.397032 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.399031 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.400999 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.402912 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.404827 drop table if exists "time_test"; [] gorptest: 17:23:30.406863 drop table if exists "id_created_test"; [] gorptest: 17:23:30.406987 create table "WithCustomDate" ("Id" integer not null primary key autoincrement, "Added" datetime) ; [] gorptest: 17:23:30.409207 insert into "WithCustomDate" ("Id","Added") values (null,?); [1:2025-03-25 17:23:30 +0000 UTC] gorptest: 17:23:30.411223 select "Id","Added" from "WithCustomDate" where "Id"=?; [1:1] gorptest: 17:23:30.411292 drop table if exists "WithCustomDate"; [] gorptest: 17:23:30.413309 create table if not exists "PersonUInt64" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:30.415450 create table if not exists "PersonUInt32" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:30.417454 create table if not exists "PersonUInt16" ("Id" integer not null primary key autoincrement, "Name" varchar(255)) ; [] gorptest: 17:23:30.419399 insert into "PersonUInt64" ("Id","Name") values (null,?); [1:"name1"] gorptest: 17:23:30.421315 insert into "PersonUInt32" ("Id","Name") values (null,?); [1:"name2"] gorptest: 17:23:30.423290 insert into "PersonUInt16" ("Id","Name") values (null,?); [1:"name3"] gorptest: 17:23:30.425194 drop table if exists "PersonUInt64"; [] gorptest: 17:23:30.427193 drop table if exists "PersonUInt32"; [] gorptest: 17:23:30.429282 drop table if exists "PersonUInt16"; [] gorptest: 17:23:30.431432 create table if not exists "UniqueColumns" ("FirstName" varchar(255), "LastName" varchar(255), "City" varchar(255), "ZipCode" integer, unique ("FirstName", "LastName"), unique ("City", "ZipCode")) ; [] gorptest: 17:23:30.433660 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Cupertino" 4:95014] gorptest: 17:23:30.435685 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Jobs" 3:"Sunnyvale" 4:94085] gorptest: 17:23:30.435747 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Cupertino" 4:95014] gorptest: 17:23:30.435790 insert into "UniqueColumns" ("FirstName","LastName","City","ZipCode") values (?,?,?,?); [1:"Steve" 2:"Wozniak" 3:"Sunnyvale" 4:94085] gorptest: 17:23:30.437816 drop table if exists "UniqueColumns"; [] gorptest: 17:23:30.440037 drop table if exists PersistentUser [] gorptest: 17:23:30.440218 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:30.442225 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:30.444138 select "mykey","Id","PassedTraining" from "PersistentUser" where "mykey"=?; [1:43] gorptest: 17:23:30.444205 select * from PersistentUser [] gorptest: 17:23:30.444243 select * from PersistentUser [] gorptest: 17:23:30.444270 select * from PersistentUser [] gorptest: 17:23:30.444295 select Id from PersistentUser [] gorptest: 17:23:30.444314 select mykey from PersistentUser [] gorptest: 17:23:30.444347 select PassedTraining from PersistentUser [] gorptest: 17:23:30.444366 select Id from PersistentUser [] gorptest: 17:23:30.444385 drop table if exists "PersistentUser"; [] gorptest: 17:23:30.446420 drop table if exists PersistentUser [] gorptest: 17:23:30.446578 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:30.448727 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:30.450723 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:30.452692 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:30.452767 select * from PersistentUser where mykey = ? [1:43] gorptest: 17:23:30.452800 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:30.452835 select * from PersistentUser where mykey = ? and Id != 'abc:def' [1:43] gorptest: 17:23:30.452863 drop table if exists "PersistentUser"; [] gorptest: 17:23:30.454847 drop table if exists PersistentUser [] gorptest: 17:23:30.454991 create table if not exists "PersistentUser" ("mykey" integer not null primary key, "Id" varchar(255), "PassedTraining" integer) ; [] gorptest: 17:23:30.456909 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:43 2:"33r" 3:false] gorptest: 17:23:30.458751 insert into "PersistentUser" ("mykey","Id","PassedTraining") values (?,?,?); [1:500 2:"abc" 3:false] gorptest: 17:23:30.460581 select * from PersistentUser where mykey = ? and PassedTraining = ? and Id = ? [1:43 2:false 3:"33r"] gorptest: 17:23:30.460654 drop table if exists "PersistentUser"; [] 2025/03/25 17:23:30 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: 17:23:30.462554 drop table if exists "invoice_test"; [] gorptest: 17:23:30.462679 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.462692 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.462705 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.462717 drop table if exists "person_test"; [] gorptest: 17:23:30.462728 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.462746 drop table if exists "id_created_test"; [] gorptest: 17:23:30.462759 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.462771 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.462783 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.462795 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.462806 drop table if exists "time_test"; [] gorptest: 17:23:30.462822 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.464765 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: 17:23:30.466717 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.468609 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.470574 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.472437 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.474322 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.476191 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.478083 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.480103 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.482119 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.484079 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.486101 select * from invoice_test where id=99999 [] gorptest: 17:23:30.486174 select * from invoice_test where id=99999 [] gorptest: 17:23:30.486205 drop table if exists "invoice_test"; [] gorptest: 17:23:30.488173 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.490198 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.492095 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.494287 drop table if exists "person_test"; [] gorptest: 17:23:30.496335 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.498310 drop table if exists "id_created_test"; [] gorptest: 17:23:30.500196 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.502120 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.504046 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.505967 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.507874 drop table if exists "time_test"; [] gorptest: 17:23:30.509814 drop table if exists "id_created_test"; [] gorptest: 17:23:30.509926 create table "InvoicePersonView" ("InvoiceId" integer not null, "PersonId" integer not null, "Memo" varchar(255), "FName" varchar(255), "LegacyVersion" integer, primary key ("InvoiceId", "PersonId")) ; [] gorptest: 17:23:30.512118 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: 17:23:30.512185 drop table if exists "InvoicePersonView"; [] 2025/03/25 17:23:30 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: 17:23:30.514239 drop table if exists "invoice_test"; [] gorptest: 17:23:30.514375 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.514390 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.514402 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.514413 drop table if exists "person_test"; [] gorptest: 17:23:30.514425 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.514436 drop table if exists "id_created_test"; [] gorptest: 17:23:30.514448 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.514459 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.514471 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.514482 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.514493 drop table if exists "time_test"; [] gorptest: 17:23:30.514513 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.516544 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: 17:23:30.518515 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.520480 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.522621 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.524570 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.526550 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.528624 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.530595 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.532548 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.534543 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.536534 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.538497 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923410538477975 2:1742923410538477975 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:30.540416 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:30.540508 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923410538477975 2:1742923410538477975 3:"preupdate" 4:"Edwards" 5:2 6:1 7:1] gorptest: 17:23:30.542411 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923410538477975 2:1742923410538477975 3:"preupdate" 4:"Howard" 5:2 6:1 7:1] gorptest: 17:23:30.542471 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:30.542522 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:1] gorptest: 17:23:30.542546 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:30.542581 drop table if exists "invoice_test"; [] gorptest: 17:23:30.544611 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.546552 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.548449 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.550453 drop table if exists "person_test"; [] gorptest: 17:23:30.552544 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.554622 drop table if exists "id_created_test"; [] gorptest: 17:23:30.556552 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.558499 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.560443 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.562352 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.564210 drop table if exists "time_test"; [] gorptest: 17:23:30.566152 drop table if exists "id_created_test"; [] gorptest: 17:23:30.566303 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:30.568468 insert into TableWithNull values (10, null, null, null, null, null) [] gorptest: 17:23:30.570420 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:30.570522 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: 17:23:30.572457 select "Id","Str","Int64","Float64","Bool","Bytes" from "TableWithNull" where "Id"=?; [1:10] gorptest: 17:23:30.572550 drop table if exists "TableWithNull"; [] gorptest: 17:23:30.574551 create table "Invoice" ("Id" integer not null primary key autoincrement, "date_created" integer, "Memo" varchar(10), "PersonId" integer unique, "IsPaid" integer) ; [] gorptest: 17:23:30.576782 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice" 3:0 4:true] gorptest: 17:23:30.578771 select "Id","date_created","Memo","PersonId","IsPaid" from "Invoice" where "Id"=?; [1:1] gorptest: 17:23:30.578839 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"this memo is too long" 3:0 4:true] gorptest: 17:23:30.578877 insert into "Invoice" ("Id","date_created","Memo","PersonId","IsPaid") values (null,?,?,?,?); [1:0 2:"my invoice2" 3:0 4:false] gorptest: 17:23:30.578900 drop table if exists "Invoice"; [] 2025/03/25 17:23:30 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: 17:23:30.581081 drop table if exists "invoice_test"; [] gorptest: 17:23:30.581223 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.581237 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.581249 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.581261 drop table if exists "person_test"; [] gorptest: 17:23:30.581273 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.581284 drop table if exists "id_created_test"; [] gorptest: 17:23:30.581305 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.581318 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.581330 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.581341 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.581353 drop table if exists "time_test"; [] gorptest: 17:23:30.581369 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.583390 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: 17:23:30.585872 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.587820 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.589951 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.591970 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.593952 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.595899 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.598904 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.600988 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.603097 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.605212 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.607262 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923410607237708 2:1742923410607237708 3:"bob" 4:"smith" 5:1] gorptest: 17:23:30.609339 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:true] gorptest: 17:23:30.611328 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:30.611425 drop table if exists "invoice_test"; [] gorptest: 17:23:30.613980 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.616179 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.618179 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.620431 drop table if exists "person_test"; [] gorptest: 17:23:30.622533 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.624572 drop table if exists "id_created_test"; [] gorptest: 17:23:30.626588 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.628538 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.630500 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.632452 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.634432 drop table if exists "time_test"; [] gorptest: 17:23:30.636458 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.636614 drop table if exists "invoice_test"; [] gorptest: 17:23:30.636743 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.636757 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.636769 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.636781 drop table if exists "person_test"; [] gorptest: 17:23:30.636792 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.636804 drop table if exists "id_created_test"; [] gorptest: 17:23:30.636815 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.636826 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.636838 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.636850 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.636861 drop table if exists "time_test"; [] gorptest: 17:23:30.636876 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.638957 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: 17:23:30.641037 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.643041 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.645226 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.647244 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.649323 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.651393 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.653441 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.655492 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.657519 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.659578 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.661654 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923410661641033 2:1742923410661641033 3:"bob" 4:"smith" 5:1] gorptest: 17:23:30.663696 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:30.663773 update "person_test" set "Created"=?, "Updated"=?, "FName"=?, "LName"=?, "Version"=? where "Id"=? and "Version"=?; [1:1742923410661641033 2:1742923410661641033 3:"preupdate" 4:"postget" 5:2 6:1 7:1] gorptest: 17:23:30.665675 select * from person_test where id = ? [1:1] gorptest: 17:23:30.665770 delete from "person_test" where "Id"=? and "Version"=?; [1:1 2:2] gorptest: 17:23:30.667792 drop table if exists "invoice_test"; [] gorptest: 17:23:30.669815 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.671766 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.673705 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.675828 drop table if exists "person_test"; [] gorptest: 17:23:30.677975 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.679903 drop table if exists "id_created_test"; [] gorptest: 17:23:30.681891 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.683864 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.685880 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.687886 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.689829 drop table if exists "time_test"; [] gorptest: 17:23:30.691786 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.691933 drop table if exists "invoice_test"; [] gorptest: 17:23:30.692069 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.692084 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.692096 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.692124 drop table if exists "person_test"; [] gorptest: 17:23:30.692141 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.692152 drop table if exists "id_created_test"; [] gorptest: 17:23:30.692163 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.692175 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.692187 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.692199 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.692210 drop table if exists "time_test"; [] gorptest: 17:23:30.692226 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.694243 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: 17:23:30.696336 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.698350 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.700438 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.702449 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.704488 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.706573 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.708601 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.710646 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.712641 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.714682 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.716727 begin; [] gorptest: 17:23:30.716774 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t1" 4:0 5:true] gorptest: 17:23:30.716933 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"t2" 4:0 5:false] gorptest: 17:23:30.716954 commit; [] gorptest: 17:23:30.718976 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:30.719050 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:30.719083 drop table if exists "invoice_test"; [] gorptest: 17:23:30.721233 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.723147 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.725105 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.727149 drop table if exists "person_test"; [] gorptest: 17:23:30.729130 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.731084 drop table if exists "id_created_test"; [] gorptest: 17:23:30.733097 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.735097 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.737546 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.739592 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.741608 drop table if exists "time_test"; [] gorptest: 17:23:30.743601 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.743758 drop table if exists "invoice_test"; [] gorptest: 17:23:30.743891 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.743905 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.743917 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.743929 drop table if exists "person_test"; [] gorptest: 17:23:30.743940 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.743952 drop table if exists "id_created_test"; [] gorptest: 17:23:30.743963 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.743974 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.743985 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.743997 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.744008 drop table if exists "time_test"; [] gorptest: 17:23:30.744038 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.746117 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: 17:23:30.748236 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.750371 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.752545 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.754608 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.756678 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.758714 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.760858 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.762952 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.765127 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.767269 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.771802 begin; [] gorptest: 17:23:30.771897 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"unpaid" 4:0 5:false] gorptest: 17:23:30.772225 select memo from invoice_test [] gorptest: 17:23:30.772318 savepoint "foo" [1:] gorptest: 17:23:30.772336 select memo from invoice_test [] gorptest: 17:23:30.772392 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"paid" 4:0 5:false 6:1] gorptest: 17:23:30.772467 select memo from invoice_test [] gorptest: 17:23:30.772508 rollback to savepoint "foo" [1:] gorptest: 17:23:30.772529 select memo from invoice_test [] gorptest: 17:23:30.772556 rollback; [] gorptest: 17:23:30.772739 drop table if exists "invoice_test"; [] gorptest: 17:23:30.776646 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.780383 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.784205 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.788431 drop table if exists "person_test"; [] gorptest: 17:23:30.792105 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.796195 drop table if exists "id_created_test"; [] gorptest: 17:23:30.800036 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.803644 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.805891 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.808086 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.810055 drop table if exists "time_test"; [] gorptest: 17:23:30.812006 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.812222 drop table if exists "invoice_test"; [] gorptest: 17:23:30.812397 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.812413 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.812426 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.812438 drop table if exists "person_test"; [] gorptest: 17:23:30.812449 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.812461 drop table if exists "id_created_test"; [] gorptest: 17:23:30.812473 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.812485 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.812497 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.812508 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.812520 drop table if exists "time_test"; [] gorptest: 17:23:30.812544 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.814604 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: 17:23:30.816606 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.818559 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.820718 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.822724 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.824689 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.826672 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.828631 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.830602 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.832662 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.834727 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.836725 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"a" 4:0 5:false] gorptest: 17:23:30.838728 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"b" 4:0 5:true] gorptest: 17:23:30.840648 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"c" 4:0 5:false 6:1] gorptest: 17:23:30.842580 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:100 2:200 3:"d" 4:0 5:true 6:2] gorptest: 17:23:30.844497 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:30.846409 delete from "invoice_test" where "Id"=?; [1:2] gorptest: 17:23:30.848282 drop table if exists "invoice_test"; [] gorptest: 17:23:30.850377 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.852304 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.854179 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.856164 drop table if exists "person_test"; [] gorptest: 17:23:30.858093 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.860145 drop table if exists "id_created_test"; [] gorptest: 17:23:30.862394 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.864444 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.866447 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.868366 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.870353 drop table if exists "time_test"; [] gorptest: 17:23:30.872297 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.872452 drop table if exists "invoice_test"; [] gorptest: 17:23:30.872591 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.872605 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.872617 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.872629 drop table if exists "person_test"; [] gorptest: 17:23:30.872641 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.872652 drop table if exists "id_created_test"; [] gorptest: 17:23:30.872663 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.872674 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.872686 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.872698 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.872709 drop table if exists "time_test"; [] gorptest: 17:23:30.872726 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.874740 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: 17:23:30.876834 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.878868 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.880935 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.882867 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.884843 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.886840 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.889059 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.891200 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.893165 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.895066 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.896969 delete from invoice_test [] gorptest: 17:23:30.898788 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"first order" 4:0 5:true] gorptest: 17:23:30.900641 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:30.900745 update "invoice_test" set "Created"=?, "Updated"=?, "Memo"=?, "PersonId"=?, "IsPaid"=? where "Id"=?; [1:7864280641205004684 2:2407956945306804727 3:"random 5472672948366258323" 4:0 5:true 6:1] gorptest: 17:23:30.902537 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:30.902608 select * from invoice_test [] gorptest: 17:23:30.902669 delete from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:30.904782 select "Id","Created","Updated","Memo","PersonId","IsPaid" from "invoice_test" where "Id"=?; [1:1] gorptest: 17:23:30.904852 delete from invoice_tag_test [] gorptest: 17:23:30.906712 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: 17:23:30.908683 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:30.908764 update "invoice_tag_test" set "myCreated"=?, "date_updated"=?, "Memo"=?, "person_id"=?, "is_Paid"=? where "myid"=?; [1:8056015631512476877 2:7654841219412062826 3:"random 9043150799011439363" 4:33 5:false 6:1] gorptest: 17:23:30.910587 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:30.910657 select * from invoice_tag_test [] gorptest: 17:23:30.910706 delete from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:30.912565 select "myid","myCreated","date_updated","Memo","person_id","is_Paid" from "invoice_tag_test" where "myid"=?; [1:1] gorptest: 17:23:30.912625 delete from alias_trans_field_test [] gorptest: 17:23:30.914433 insert into "alias_trans_field_test" ("id","bar") values (null,?); [1:"some bar"] gorptest: 17:23:30.916279 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:30.916350 update "alias_trans_field_test" set "bar"=? where "id"=?; [1:"random 3892025235330741394" 2:1] gorptest: 17:23:30.918293 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:30.918358 select * from alias_trans_field_test [] gorptest: 17:23:30.918391 delete from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:30.920307 select "id","bar" from "alias_trans_field_test" where "id"=?; [1:1] gorptest: 17:23:30.920365 drop table if exists "invoice_test"; [] gorptest: 17:23:30.922334 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.924344 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.926317 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.928397 drop table if exists "person_test"; [] gorptest: 17:23:30.930335 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.932298 drop table if exists "id_created_test"; [] gorptest: 17:23:30.934314 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.936292 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.938304 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.940244 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.942156 drop table if exists "time_test"; [] gorptest: 17:23:30.944103 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.944267 drop table if exists "invoice_test"; [] gorptest: 17:23:30.944404 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.944419 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.944431 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.944446 drop table if exists "person_test"; [] gorptest: 17:23:30.944459 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.944470 drop table if exists "id_created_test"; [] gorptest: 17:23:30.944482 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.944493 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.944505 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.944516 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.944527 drop table if exists "time_test"; [] gorptest: 17:23:30.944544 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.946748 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: 17:23:30.948914 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:30.951135 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.953284 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:30.955311 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.957353 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:30.959318 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:30.961304 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:30.963297 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:30.965361 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:30.967449 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:30.969467 insert into "ignored_column_test" ("Id","Created") values (null,?); [1:1] gorptest: 17:23:30.971410 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:30.971481 delete from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:30.973404 select "Id","Created" from "ignored_column_test" where "Id"=?; [1:1] gorptest: 17:23:30.973475 drop table if exists "invoice_test"; [] gorptest: 17:23:30.975502 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.977473 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.979782 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.981709 drop table if exists "person_test"; [] gorptest: 17:23:30.983631 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.985490 drop table if exists "id_created_test"; [] gorptest: 17:23:30.987427 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.989308 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.991073 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.992914 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.994828 drop table if exists "time_test"; [] gorptest: 17:23:30.996779 drop table if exists "id_created_test"; [] 2025/03/25 17:23:30 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: 17:23:30.996935 drop table if exists "invoice_test"; [] gorptest: 17:23:30.997074 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:30.997088 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:30.997100 drop table if exists "invoice_override_test"; [] gorptest: 17:23:30.997126 drop table if exists "person_test"; [] gorptest: 17:23:30.997140 drop table if exists "ignored_column_test"; [] gorptest: 17:23:30.997152 drop table if exists "id_created_test"; [] gorptest: 17:23:30.997163 drop table if exists "type_conv_test"; [] gorptest: 17:23:30.997174 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:30.997186 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:30.997198 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:30.997209 drop table if exists "time_test"; [] gorptest: 17:23:30.997231 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:30.999211 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: 17:23:31.001314 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.003373 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.005462 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.007529 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.009488 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.011428 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.013488 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.015539 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.017636 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.019674 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.021835 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: 17:23:31.023823 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:31.023915 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: 17:23:31.025887 select "Id","PersonJSON","Name" from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:31.025966 delete from "type_conv_test" where "Id"=?; [1:1] gorptest: 17:23:31.028341 drop table if exists "invoice_test"; [] gorptest: 17:23:31.030699 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.032834 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.034959 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.036980 drop table if exists "person_test"; [] gorptest: 17:23:31.039050 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.040970 drop table if exists "id_created_test"; [] gorptest: 17:23:31.042944 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.045035 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.046938 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.048937 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.050958 drop table if exists "time_test"; [] gorptest: 17:23:31.052943 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.053092 drop table if exists "invoice_test"; [] gorptest: 17:23:31.053247 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.053262 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.053274 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.053285 drop table if exists "person_test"; [] gorptest: 17:23:31.053297 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.053308 drop table if exists "id_created_test"; [] gorptest: 17:23:31.053320 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.053331 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.053342 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.053355 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.053366 drop table if exists "time_test"; [] gorptest: 17:23:31.053389 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.055472 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: 17:23:31.057528 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.059555 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.061656 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.063631 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.065578 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.067557 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.069575 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.071589 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.073613 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.075639 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.077638 insert into "embedded_struct_test" ("Id","FirstName","LastName") values (null,?,?); [1:"Alice" 2:"Smith"] gorptest: 17:23:31.079610 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:31.079695 update "embedded_struct_test" set "FirstName"=?, "LastName"=? where "Id"=?; [1:"Bob" 2:"Smith" 3:1] gorptest: 17:23:31.081576 select "Id","FirstName","LastName" from "embedded_struct_test" where "Id"=?; [1:1] gorptest: 17:23:31.081641 select * from embedded_struct_test [] gorptest: 17:23:31.081679 drop table if exists "invoice_test"; [] gorptest: 17:23:31.083644 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.085561 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.087560 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.089581 drop table if exists "person_test"; [] gorptest: 17:23:31.091509 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.093517 drop table if exists "id_created_test"; [] gorptest: 17:23:31.095511 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.097459 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.099583 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.101541 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.103598 drop table if exists "time_test"; [] gorptest: 17:23:31.105520 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.105670 drop table if exists "invoice_test"; [] gorptest: 17:23:31.105803 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.105818 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.105830 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.105842 drop table if exists "person_test"; [] gorptest: 17:23:31.105853 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.105864 drop table if exists "id_created_test"; [] gorptest: 17:23:31.105876 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.105888 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.105899 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.105910 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.105925 drop table if exists "time_test"; [] gorptest: 17:23:31.105941 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.108120 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: 17:23:31.110206 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.112294 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.114591 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.116709 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.118707 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.120663 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.122740 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.124776 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.126784 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.128887 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.130917 insert into "embedded_struct_before_autoincr_test" ("FirstName","LastName","Id") values (?,?,null); [1:"Alice" 2:"Smith"] gorptest: 17:23:31.132912 drop table if exists "invoice_test"; [] gorptest: 17:23:31.134964 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.136824 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.138739 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.140685 drop table if exists "person_test"; [] gorptest: 17:23:31.142598 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.144606 drop table if exists "id_created_test"; [] gorptest: 17:23:31.146518 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.148378 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.150194 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.152142 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.154053 drop table if exists "time_test"; [] gorptest: 17:23:31.156039 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.156203 drop table if exists "invoice_test"; [] gorptest: 17:23:31.156344 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.156359 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.156371 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.156382 drop table if exists "person_test"; [] gorptest: 17:23:31.156394 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.156405 drop table if exists "id_created_test"; [] gorptest: 17:23:31.156417 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.156428 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.156439 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.156452 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.156463 drop table if exists "time_test"; [] gorptest: 17:23:31.156483 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.158537 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: 17:23:31.160642 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.162686 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.164769 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.166747 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.168911 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.171066 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.173028 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.175146 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.177260 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.179325 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.181328 insert into "embedded_autoincr_test" ("Id","FirstName","LastName","MiddleName") values (null,?,?,?); [1:"Alice" 2:"Smith" 3:"Rose"] gorptest: 17:23:31.183263 drop table if exists "invoice_test"; [] gorptest: 17:23:31.185299 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.187253 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.189275 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.191333 drop table if exists "person_test"; [] gorptest: 17:23:31.193266 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.195236 drop table if exists "id_created_test"; [] gorptest: 17:23:31.197138 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.199080 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.201011 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.203059 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.205118 drop table if exists "time_test"; [] gorptest: 17:23:31.207206 drop table if exists "id_created_test"; [] gorptest: 17:23:31.207326 create table "TableWithNull" ("Id" integer not null primary key, "Str" varchar(255), "Int64" integer, "Float64" real, "Bool" integer, "Bytes" blob) ; [] gorptest: 17:23:31.209553 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: 17:23:31.211507 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:31.211572 select count(*) from TableWithNull [] gorptest: 17:23:31.211598 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:31.211623 select Int64 from TableWithNull where Str='notfound' [] gorptest: 17:23:31.211642 select Int64 from TableWithNull where Str='abc' [] gorptest: 17:23:31.211660 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:31.211678 select min(Float64) from TableWithNull [] gorptest: 17:23:31.211700 select count(*) from TableWithNull where Str=? [1:"asdfasdf"] gorptest: 17:23:31.211734 select Float64 from TableWithNull where Str='notfound' [] gorptest: 17:23:31.211752 select Float64 from TableWithNull where Str='abc' [] gorptest: 17:23:31.211771 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:31.211790 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:31.211807 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:31.211825 select Str from TableWithNull where Str='asdfasdf' [] gorptest: 17:23:31.211865 select Int64 from TableWithNull where Str=? [1:"abc"] gorptest: 17:23:31.211888 select Str from TableWithNull where Int64=? [1:78] gorptest: 17:23:31.211908 drop table if exists "TableWithNull"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.213952 drop table if exists "invoice_test"; [] gorptest: 17:23:31.214091 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.214105 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.214135 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.214148 drop table if exists "person_test"; [] gorptest: 17:23:31.214159 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.214177 drop table if exists "id_created_test"; [] gorptest: 17:23:31.214190 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.214201 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.214212 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.214227 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.214240 drop table if exists "time_test"; [] gorptest: 17:23:31.214256 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.216218 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: 17:23:31.218310 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.220322 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.222445 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.224456 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.226436 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.228376 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.230331 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.232332 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.234457 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.236475 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.238383 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411238369616 2:1742923411238369616 3:"Bob" 4:"Smith" 5:1] gorptest: 17:23:31.240409 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411240399834 2:1742923411240399834 3:"Jane" 4:"Smith" 5:1] gorptest: 17:23:31.242344 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411242328652 2:1742923411242328652 3:"Mike" 4:"Smith" 5:1] gorptest: 17:23:31.244251 drop table if exists "invoice_test"; [] gorptest: 17:23:31.246210 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.248184 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.250187 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.252279 drop table if exists "person_test"; [] gorptest: 17:23:31.254391 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.256319 drop table if exists "id_created_test"; [] gorptest: 17:23:31.258309 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.260336 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.262299 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.264242 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.266324 drop table if exists "time_test"; [] gorptest: 17:23:31.268402 drop table if exists "id_created_test"; [] gorptest: 17:23:31.268518 create table string_pk_test (Id varchar(255), Name varchar(255)); [] gorptest: 17:23:31.270640 insert into "string_pk_test" ("Id","Name") values (null,?); [1:"foo"] gorptest: 17:23:31.272516 drop table if exists "string_pk_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.274702 drop table if exists "invoice_test"; [] gorptest: 17:23:31.274849 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.274863 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.274875 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.274887 drop table if exists "person_test"; [] gorptest: 17:23:31.274898 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.274909 drop table if exists "id_created_test"; [] gorptest: 17:23:31.274921 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.274932 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.274943 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.274954 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.274965 drop table if exists "time_test"; [] gorptest: 17:23:31.274981 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.277139 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: 17:23:31.279197 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.281183 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.283341 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.285403 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.287578 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.289869 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.292789 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.294842 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.296861 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.298970 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.301017 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:52:31.301000455 +0000 UTC] gorptest: 17:23:31.302969 insert into "time_test" ("Id","Time") values (null,?); [1:2025-03-25 16:53:32.301000455 +0000 UTC] gorptest: 17:23:31.305008 SELECT id FROM time_test WHERE Time < ? [1:2025-03-25 16:53:31.301000455 +0000 UTC] gorptest: 17:23:31.305105 drop table if exists "invoice_test"; [] gorptest: 17:23:31.307076 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.309081 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.311129 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.313155 drop table if exists "person_test"; [] gorptest: 17:23:31.315142 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.317204 drop table if exists "id_created_test"; [] gorptest: 17:23:31.319224 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.321254 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.323199 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.325314 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.327247 drop table if exists "time_test"; [] gorptest: 17:23:31.329360 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.329511 drop table if exists "invoice_test"; [] gorptest: 17:23:31.329645 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.329663 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.329676 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.329688 drop table if exists "person_test"; [] gorptest: 17:23:31.329699 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.329711 drop table if exists "id_created_test"; [] gorptest: 17:23:31.329722 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.329733 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.329744 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.329756 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.329767 drop table if exists "time_test"; [] gorptest: 17:23:31.329783 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.331913 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: 17:23:31.333977 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.336051 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.338283 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.340295 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.342361 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.344435 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.346479 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.348637 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.350698 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.352853 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.354931 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411354916616 2:1742923411354916616 3:"bob" 4:"smith" 5:1] gorptest: 17:23:31.356924 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:0 2:0 3:"xmas order" 4:1 5:false] gorptest: 17:23:31.359007 select i.Id InvoiceId, p.Id PersonId, i.Memo, p.FName from invoice_test i, person_test p where i.PersonId = p.Id [] gorptest: 17:23:31.359124 drop table if exists "invoice_test"; [] gorptest: 17:23:31.361146 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.363154 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.365201 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.367186 drop table if exists "person_test"; [] gorptest: 17:23:31.369307 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.371319 drop table if exists "id_created_test"; [] gorptest: 17:23:31.373521 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.375989 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.378053 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.380040 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.381983 drop table if exists "time_test"; [] gorptest: 17:23:31.383938 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.384089 drop table if exists "invoice_test"; [] gorptest: 17:23:31.384236 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.384251 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.384263 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.384275 drop table if exists "person_test"; [] gorptest: 17:23:31.384286 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.384297 drop table if exists "id_created_test"; [] gorptest: 17:23:31.384309 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.384321 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.384332 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.384349 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.384361 drop table if exists "time_test"; [] gorptest: 17:23:31.384378 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.386470 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: 17:23:31.388507 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.390441 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.392562 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.394624 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.396784 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.398773 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.400739 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.402743 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.404758 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.406678 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.435156 drop table if exists "invoice_test"; [] gorptest: 17:23:31.435315 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.435331 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.435343 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.435356 drop table if exists "person_test"; [] gorptest: 17:23:31.435368 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.435381 drop table if exists "id_created_test"; [] gorptest: 17:23:31.435393 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.435405 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.435417 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.435429 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.435441 drop table if exists "time_test"; [] gorptest: 17:23:31.435464 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.438240 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: 17:23:31.440352 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.442355 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.444440 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.446472 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.448449 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.450651 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.452641 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.454790 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.456769 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.458798 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.460903 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411460887881 2:1742923411460887881 3:"bob" 4:"smith" 5:1] gorptest: 17:23:31.463007 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411462996379 2:1742923411462996379 3:"jane" 4:"doe" 5:1] gorptest: 17:23:31.465087 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:31.465174 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:2] gorptest: 17:23:31.465213 select * from person_test where Id=? [1:1] gorptest: 17:23:31.465250 select * from person_test order by fname asc [] gorptest: 17:23:31.465317 drop table if exists "invoice_test"; [] gorptest: 17:23:31.467383 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.469433 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.472782 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.483422 drop table if exists "person_test"; [] gorptest: 17:23:31.485557 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.487539 drop table if exists "id_created_test"; [] gorptest: 17:23:31.489551 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.491555 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.493533 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.495519 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.497523 drop table if exists "time_test"; [] gorptest: 17:23:31.499588 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.499763 drop table if exists "invoice_test"; [] gorptest: 17:23:31.499920 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.499937 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.499950 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.499962 drop table if exists "person_test"; [] gorptest: 17:23:31.499974 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.499986 drop table if exists "id_created_test"; [] gorptest: 17:23:31.499997 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.500008 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.500020 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.500031 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.500042 drop table if exists "time_test"; [] gorptest: 17:23:31.500059 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.502258 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: 17:23:31.504352 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.506437 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.508752 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.510766 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.512911 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.514923 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.516995 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.519132 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.521227 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.523329 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.525362 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411525341655 2:1742923411525341655 3:"bob" 4:"smith" 5:1] gorptest: 17:23:31.527342 select "Id","Created","Updated","FName","LName","Version" from "person_test" where "Id"=?; [1:1] gorptest: 17:23:31.527425 select * from person_test where Id=? [1:1] gorptest: 17:23:31.527475 select FName from person_test where Id=? [1:1] gorptest: 17:23:31.527497 select * from person_test where Id=? [1:1] gorptest: 17:23:31.527534 select * from person_test where 2<1 AND Id=? [1:1] gorptest: 17:23:31.527567 select * from person_test where Id=? [1:-2222] gorptest: 17:23:31.527602 insert into "person_test" ("Id","Created","Updated","FName","LName","Version") values (null,?,?,?,?,?); [1:1742923411527596316 2:1742923411527596316 3:"bob" 4:"smith" 5:1] gorptest: 17:23:31.529572 select * from person_test where Fname='bob' [] gorptest: 17:23:31.529674 select * from person_test where Id=-123 [] gorptest: 17:23:31.529705 select * from person_test where Id=-123 [] gorptest: 17:23:31.529725 select * from person_test where Id=-123 [] gorptest: 17:23:31.529741 select * from person_test where Id=-123 [] gorptest: 17:23:31.529760 drop table if exists "invoice_test"; [] gorptest: 17:23:31.531755 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.533715 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.535778 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.537810 drop table if exists "person_test"; [] gorptest: 17:23:31.539847 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.541856 drop table if exists "id_created_test"; [] gorptest: 17:23:31.543880 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.546863 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.548811 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.550784 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.552859 drop table if exists "time_test"; [] gorptest: 17:23:31.554808 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.554964 drop table if exists "invoice_test"; [] gorptest: 17:23:31.555104 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.555135 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.555147 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.555158 drop table if exists "person_test"; [] gorptest: 17:23:31.555170 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.555181 drop table if exists "id_created_test"; [] gorptest: 17:23:31.555192 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.555204 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.555215 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.555226 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.555237 drop table if exists "time_test"; [] gorptest: 17:23:31.555259 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.557150 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: 17:23:31.559121 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.561040 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.563161 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.565185 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.567199 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.569208 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.571252 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.573284 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.575323 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.577313 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.579279 insert into "id_created_test" ("Id","Created") values (null,?); [1:3] gorptest: 17:23:31.581251 select * from id_created_test where Id=1 [] gorptest: 17:23:31.581341 SELECT *, 1 AS external FROM id_created_test [] gorptest: 17:23:31.581389 drop table if exists "invoice_test"; [] gorptest: 17:23:31.583540 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.585514 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.587521 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.589535 drop table if exists "person_test"; [] gorptest: 17:23:31.591488 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.593535 drop table if exists "id_created_test"; [] gorptest: 17:23:31.595550 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.597576 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.599644 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.601781 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.603779 drop table if exists "time_test"; [] gorptest: 17:23:31.605726 drop table if exists "id_created_test"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.605932 drop table if exists "invoice_test"; [] gorptest: 17:23:31.606069 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.606083 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.606095 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.606120 drop table if exists "person_test"; [] gorptest: 17:23:31.606133 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.606145 drop table if exists "id_created_test"; [] gorptest: 17:23:31.606156 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.606167 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.606179 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.606196 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.606209 drop table if exists "time_test"; [] gorptest: 17:23:31.606225 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.608320 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: 17:23:31.610483 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.612509 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.614721 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.616816 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.618913 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.620915 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.622897 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.625074 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.627132 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.629300 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.631314 drop table if exists "invoice_test"; [] gorptest: 17:23:31.633300 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.635339 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.637259 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.639344 drop table if exists "person_test"; [] gorptest: 17:23:31.641321 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.643349 drop table if exists "id_created_test"; [] gorptest: 17:23:31.645307 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.647311 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.649242 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.651201 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.653218 drop table if exists "time_test"; [] gorptest: 17:23:31.655281 drop table if exists "id_created_test"; [] gorptest: 17:23:31.655325 drop table if exists "single_column_table"; [] gorptest: 17:23:31.655344 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: 17:23:31.657373 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: 17:23:31.659460 create table if not exists "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.661473 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: 17:23:31.663677 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: 17:23:31.665783 create table if not exists "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.667796 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.670000 create table if not exists "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.672032 create table if not exists "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.674131 create table if not exists "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.676222 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: 17:23:31.678332 create table if not exists "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.680437 create table if not exists "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer, "External" integer) ; [] gorptest: 17:23:31.680484 create table if not exists "single_column_table" ("SomeId" varchar(255) not null primary key) ; [] gorptest: 17:23:31.682517 delete from "invoice_test"; [] gorptest: 17:23:31.684497 delete from "invoice_tag_test"; [] gorptest: 17:23:31.686422 delete from "alias_trans_field_test"; [] gorptest: 17:23:31.688250 delete from "invoice_override_test"; [] gorptest: 17:23:31.690165 delete from "person_test"; [] gorptest: 17:23:31.692129 delete from "ignored_column_test"; [] gorptest: 17:23:31.694034 delete from "id_created_test"; [] gorptest: 17:23:31.696043 delete from "type_conv_test"; [] gorptest: 17:23:31.697930 delete from "embedded_struct_test"; [] gorptest: 17:23:31.699872 delete from "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.701761 delete from "embedded_autoincr_test"; [] gorptest: 17:23:31.703676 delete from "time_test"; [] gorptest: 17:23:31.705551 delete from "id_created_test"; [] gorptest: 17:23:31.707470 delete from "single_column_table"; [] gorptest: 17:23:31.709492 update "single_column_table" set "SomeId"=? where "SomeId"=?; [1:"A Unique Id String" 2:"A Unique Id String"] gorptest: 17:23:31.709560 drop table if exists "invoice_test"; [] gorptest: 17:23:31.711550 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.713658 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.715641 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.717692 drop table if exists "person_test"; [] gorptest: 17:23:31.719645 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.721622 drop table if exists "id_created_test"; [] gorptest: 17:23:31.723709 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.725789 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.727757 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.729778 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.731892 drop table if exists "time_test"; [] gorptest: 17:23:31.733884 drop table if exists "id_created_test"; [] gorptest: 17:23:31.733927 drop table if exists "single_column_table"; [] 2025/03/25 17:23:31 Warning: Automatic mapping of Version struct members to version columns (see optimistic locking) will be deprecated in next version (V2) See: https://github.com/go-gorp/gorp/pull/214 gorptest: 17:23:31.736086 drop table if exists "invoice_test"; [] gorptest: 17:23:31.736252 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.736268 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.736280 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.736292 drop table if exists "person_test"; [] gorptest: 17:23:31.736303 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.736315 drop table if exists "id_created_test"; [] gorptest: 17:23:31.736326 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.736337 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.736349 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.736366 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.736379 drop table if exists "time_test"; [] gorptest: 17:23:31.736402 create table "invoice_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.738437 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: 17:23:31.740489 create table "alias_trans_field_test" ("id" integer not null primary key autoincrement, "bar" varchar(255)) ; [] gorptest: 17:23:31.742593 create table "invoice_override_test" ("Id" varchar(255) not null primary key, "Created" integer, "Updated" integer, "Memo" varchar(255), "PersonId" integer, "IsPaid" integer) ; [] gorptest: 17:23:31.744673 create table "person_test" ("Id" integer not null primary key autoincrement, "Created" integer, "Updated" integer, "FName" varchar(255), "LName" varchar(255), "Version" integer) ; [] gorptest: 17:23:31.746898 create table "ignored_column_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.748951 create table "id_created_test" ("Id" integer not null primary key autoincrement, "Created" integer) ; [] gorptest: 17:23:31.751021 create table "type_conv_test" ("Id" integer not null primary key autoincrement, "PersonJSON" varchar(255), "Name" varchar(255)) ; [] gorptest: 17:23:31.753148 create table "embedded_struct_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255)) ; [] gorptest: 17:23:31.755236 create table "embedded_struct_before_autoincr_test" ("FirstName" varchar(255), "LastName" varchar(255), "Id" integer not null primary key autoincrement) ; [] gorptest: 17:23:31.757318 create table "embedded_autoincr_test" ("Id" integer not null primary key autoincrement, "FirstName" varchar(255), "LastName" varchar(255), "MiddleName" varchar(255)) ; [] gorptest: 17:23:31.759366 create table "time_test" ("Id" integer not null primary key autoincrement, "Time" datetime) ; [] gorptest: 17:23:31.761499 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-foo" 4:0 5:false] gorptest: 17:23:31.763508 insert into "invoice_test" ("Id","Created","Updated","Memo","PersonId","IsPaid") values (null,?,?,?,?,?); [1:100 2:200 3:"prepare-bar" 4:0 5:false] gorptest: 17:23:31.765535 UPDATE invoice_test SET Memo=? WHERE Id=? [1:] gorptest: 17:23:31.767463 SELECT * from invoice_test WHERE Memo='prepare-baz' [] gorptest: 17:23:31.767562 begin; [] gorptest: 17:23:31.767581 UPDATE invoice_test SET IsPaid=? WHERE Id=? [1:] gorptest: 17:23:31.767686 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:31.767897 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:31.767942 commit; [] gorptest: 17:23:31.769841 SELECT * from invoice_test WHERE IsPaid=? [1:true] gorptest: 17:23:31.770070 drop table if exists "invoice_test"; [] gorptest: 17:23:31.773705 drop table if exists "invoice_tag_test"; [] gorptest: 17:23:31.776263 drop table if exists "alias_trans_field_test"; [] gorptest: 17:23:31.778290 drop table if exists "invoice_override_test"; [] gorptest: 17:23:31.780404 drop table if exists "person_test"; [] gorptest: 17:23:31.782406 drop table if exists "ignored_column_test"; [] gorptest: 17:23:31.784388 drop table if exists "id_created_test"; [] gorptest: 17:23:31.786455 drop table if exists "type_conv_test"; [] gorptest: 17:23:31.788397 drop table if exists "embedded_struct_test"; [] gorptest: 17:23:31.790438 drop table if exists "embedded_struct_before_autoincr_test"; [] gorptest: 17:23:31.792500 drop table if exists "embedded_autoincr_test"; [] gorptest: 17:23:31.794432 drop table if exists "time_test"; [] gorptest: 17:23:31.796435 drop table if exists "id_created_test"; [] PASS ok gopkg.in/gorp.v1 1.528s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-gopkg-gorp-1-devel-1.7.2-12.fc43.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BFbPg3 + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + cd gorp-1.7.2 + DOCDIR=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/doc/golang-gopkg-gorp-1-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/doc/golang-gopkg-gorp-1-devel + cp -pr /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/README.md /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/doc/golang-gopkg-gorp-1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mWTH3e + umask 022 + cd /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build + cd gorp-1.7.2 + LICENSEDIR=/builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/licenses/golang-gopkg-gorp-1-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/usr/share/licenses/golang-gopkg-gorp-1-devel + cp -pr /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/gorp-1.7.2/LICENSE /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT/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-12.fc43 golang-gopkg-gorp-1-devel = 1.7.2-12.fc43 golang-ipath(gopkg.in/gorp.v1) = 1.7.2-12.fc43 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-12.fc43.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-12.fc43 golang(github.com/go-gorp/gorp/v1) = 1.7.2-12.fc43 golang-symlink(github.com/go-gorp/gorp/v1) = 1.7.2-12.fc43 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-12.fc43 Obsoletes: golang-github-gorp-1-devel < 1.7.2-12.fc43 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/golang-gopkg-gorp-1-1.7.2-build/BUILDROOT Wrote: /builddir/build/RPMS/compat-golang-github-gorp-1-devel-1.7.2-12.fc43.noarch.rpm Wrote: /builddir/build/RPMS/golang-gopkg-gorp-1-devel-1.7.2-12.fc43.noarch.rpm Child return code was: 0