From 90d97f1562e7ca030b9950a7bf3291cf624955c9 Mon Sep 17 00:00:00 2001 From: Crispen Gari Date: Sat, 3 Feb 2024 21:42:48 +0200 Subject: [PATCH] querying data from different dialects and docummentation updates --- README.md | 115 +- dataloom.png | Bin 0 -> 8235 bytes dataloom.sql | 1630 +++++++++++++++--- dataloom/db/__init__.py | 150 +- dataloom/model/__init__.py | 149 ++ dataloom/model/statements.py | 20 +- dataloom/statements/__init__.py | 101 ++ dataloom/tests/mysql/test_insert_mysql.py | 54 + dataloom/tests/mysql/test_query_msql.py | 102 ++ dataloom/tests/postgres/test_insert_pg.py | 86 +- dataloom/tests/postgres/test_query_pg.py | 102 ++ dataloom/tests/sqlite3/test_insert_sqlite.py | 48 + dataloom/tests/sqlite3/test_query_sqlite.py | 97 ++ dataloom/tests/test_query.py | 70 - hi.db | Bin 28672 -> 28672 bytes logs.sql | 60 + playground.py | 18 +- sqlite-logs.sql | 153 ++ 18 files changed, 2489 insertions(+), 466 deletions(-) create mode 100644 dataloom.png create mode 100644 dataloom/tests/mysql/test_query_msql.py create mode 100644 dataloom/tests/postgres/test_query_pg.py create mode 100644 dataloom/tests/sqlite3/test_query_sqlite.py delete mode 100644 dataloom/tests/test_query.py diff --git a/README.md b/README.md index 7090099..9f9e0e6 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,35 @@ **`dataloom`** is a lightweight and versatile Object-Relational Mapping (ORM) library for Python. With support for `PostgreSQL`, `MySQL`, and `SQLite3` databases, `dataloom` simplifies database interactions, providing a seamless experience for developers. +

+dataloom +

+ +### Table of Contents + +- [dataloom](#dataloom) +- [Table of Contents](#table-of-contents) +- [Key Features:](#key-features) +- [Installation](#installation) +- [Python Version Compatibility](#python-version-compatibility) +- [Usage](#usage) +- [Connection](#connection) +- [Dataloom Classes](#dataloom-classes) + - [`Model` Class](#model-class) + - [`Column` Class](#column-class) + - [`PrimaryKeyColumn` Class](#primarykeycolumn-class) + - [`ForeignKeyColumn` Class](#foreignkeycolumn-class) + - [`CreatedAtColumn` Class](#createdatcolumn-class) + - [`UpdatedAtColumn` Class](#updatedatcolumn-class) +- [Syncing Tables](#syncing-tables) +- [CRUD Operations with Dataloom](#crud-operations-with-dataloom) + - [1. Creating a Record](#1-creating-a-record) + - [2. Getting records](#2-getting-records) + - [3. Getting a single record](#3-getting-a-single-record) + - [4. Deleting a record](#4-deleting-a-record) + - [5. Updating a record](#5-updating-a-record) +- [Associations](#associations) + ### Key Features: - **Lightweight**: `dataloom` is designed to be minimalistic and easy to use, ensuring a streamlined `ORM` experience without unnecessary complexities. @@ -14,6 +43,24 @@ - **Flexible Data Types**: The `ORM` seamlessly handles various data types, offering flexibility in designing database schemas. +### Installation + +To install `dataloom`, you just need to run the following command using `pip`: + +```bash +pip install dataloom +``` + +### Python Version Compatibility + +`dataloom` supports **`Python`** version **`3.12`** and above. Ensure that you are using a compatible version of **`Python`** before installing or using `dataloom`. + +You can check your **`Python`** version by running: + +```bash +python --version +``` + ### Usage In this section we are going to go through how you can use our `orm` package in your project. @@ -105,7 +152,9 @@ The `Dataloom` class takes in the following options: | `logs_filename` | Filename for the query logs | `str` or `None` | `dataloom.sql` | `No` | | `port` | Port number for the database connection (only for `mysql` and `postgres`) | `int` or `None` | `None` | `No` | -### `Model` Class +### Dataloom Classes + +#### `Model` Class A model in Dataloom is a top-level class that facilitates the creation of complex SQL tables using regular Python classes. This example demonstrates how to define two tables, `User` and `Post`, by creating classes that inherit from the `Model` class. @@ -181,7 +230,7 @@ class Post(Model): - The `ForeignKeyColumn` establishes a relationship between the current (child) table and a referenced (parent) table. - A `to_dict` property has been created, providing a convenient way to retrieve the data in the form of a Python dictionary when invoked. -### `Column` Class +#### `Column` Class In the context of a database table, each property marked as a column in a model is treated as an individual attribute. Here's an example of how to define a column in a table using the `Column` class: @@ -275,7 +324,7 @@ Here are some other options that you can pass to the `Column`: > Note: Every table is required to have a primary key column and this column should be 1. Let's talk about the `PrimaryKeyColumn` -### `PrimaryKeyColumn` Class +#### `PrimaryKeyColumn` Class This class is used to create a unique index in every table you create. In the context of a table that inherits from the `Model` class, exactly one `PrimaryKeyColumn` is required. Below is an example of creating an `id` column as a primary key in a table named `Post`: @@ -297,7 +346,7 @@ The following are the arguments that the `PrimaryKeyColumn` class accepts. |`nullable` | Optional to specify if the column will allow null values or not. |`bool` |`False` | |`unique` | Optional to specify if the column will contain unique values or not. |`bool` |`True` | -### `ForeignKeyColumn` Class +#### `ForeignKeyColumn` Class This class is utilized when informing `dataloom` that a column has a relationship with a primary key in another table. Consider the following model definition of a `Post`: @@ -334,11 +383,11 @@ It is crucial to specify the actions for `onDelete` and `onUpdate` to ensure tha 2. `"SET NULL"` - If you delete or update the parent table, the corresponding value in the child table will be set to `null`. 3. `"CASCADE"` - If you delete or update the table, the same action will also be applied to the child table. -### `CreatedAtColumn` Class +#### `CreatedAtColumn` Class When a column is designated as `CreatedAtColumn`, its value will be automatically generated each time you create a new record in a database, serving as a timestamp. -### `UpdatedAtColumn` Class +#### `UpdatedAtColumn` Class When a column is designated as `UpdatedAtColumn`, its value will be automatically generated each time you create a new record or update an existing record in a database table, acting as a timestamp. @@ -377,22 +426,24 @@ if __name__ == "__main__": Returns a `conn` and the list of `tablenames` that exist in the database. The method accepts the same arguments as the `sync` method. -### CRUD operations +### CRUD Operations with Dataloom -In this section of the docs we are going to demonstrate how to perform some `CRUD` operations using `dataloom` on simple `Models`. Note that in these small code snippets i will be using `sqlite_loom` not that you can use any `loom` that you have to follow along. +In this section of the documentation, we will illustrate how to perform basic `CRUD` operations using `dataloom` on simple `Models`. Please note that in the following code snippets, I will be utilizing `sqlite_loom`. However, it's important to highlight that you can use any `loom` of your choice to follow along. -1. Creating a Record +#### 1. Creating a Record -The `insert_one` method let you insert save a single row in a particular table. When you save this will return the `pk` value of the inserted document +The `insert_one` method allows you to save a single row in a specific table. Upon saving, it will return the primary key (`pk`) value of the inserted document. -```py +```python +# Example: Creating a user record user = User(username="@miller") -userId = sqlite_loom.insert_one(user) +user_id = sqlite_loom.insert_one(user) ``` -Using the `insert_bulk` you will be able to save in bulk as the method explains itself. The following is an example showing how we can add `3` post to the database table at the same time. +The `insert_bulk` method facilitates the bulk insertion of records, as its name suggests. The following example illustrates how you can add `3` posts to the database table simultaneously. -```py +```python +# Example: Inserting multiple posts posts = [ Post(userId=userId, title="What are you thinking"), Post(userId=userId, title="What are you doing?"), @@ -401,27 +452,29 @@ posts = [ row_count = sqlite_loom.insert_bulk(posts) ``` -> Unlike the `insert_one`, `insert_bulk` method returns the row count of the inserted documents rather that individual `pks` of those documents. +> In contrast to the `insert_one` method, the `insert_bulk` method returns the row count of the inserted documents rather than the individual primary keys (`pks`) of those documents. -2. Getting records +#### 2. Getting records -To get the records in the database you use `find_all()` and `find_many()` +To retrieve records from the database, you can utilize the `find_all()` and `find_many()` methods. ```py users = sqlite_loom.find_all(User) print([u.to_dict for u in users]) ``` -Here is an example of the `find_many()` function with some filters. +Here is an example demonstrating the usage of the `find_many()` function with specific filters. ```py -many = sqlite_loom.find_many(User, {"id": 5}) -print([u.to_dict() for u in many]) +many = sqlite_loom.find_many(Post, {"userId": 5}) +print([u.to_dict for u in many]) ``` -3. Getting a single record +The distinction between the `find_all()` and `find_many()` methods lies in the fact that `find_many()` enables you to apply specific filters, whereas `find_all()` retrieves all the documents within the specified model. + +#### 3. Getting a single record -The find `find_by_pk` and the `find_one` methods are used to find a single record in the database. +The `find_by_pk()` and `find_one()` methods are employed to locate a single record in the database. ```py user = User(name="Crispen", username="heyy") @@ -430,48 +483,48 @@ print(me.to_dict) ``` -Using the `find_one` you can specify the filters of your query as follows: +With the `find_one()` method, you can specify the filters of your query as follows: ```py him = sqlite_loom.find_one(User, filters={"id": 1}) print(him.to_dict) ``` -4. Deleting a record +#### 4. Deleting a record -With the `delete_by_pk` method you can delete a record in a database based on the primary-key value: +Using the `delete_by_pk()` method, you can delete a record in a database based on the primary-key value. ```py affected_rows = sqlite_loom.delete_by_pk(User, userId) ``` -You cal also use `filters` to delete a record in a database. The `delete_one` function allows you to delete a single record in a database that matches a filter. +You can also use `filters` to delete a record in a database. The `delete_one()` function enables you to delete a single record in a database that matches a filter. ```py affected_rows = sqlite_loom.delete_one(User, {"name": "Crispen"}) ``` -You can also the `delete_bulk` which delete a lot of records that matches a filter: +You can also use the `delete_bulk()` method to delete a multitude of records that match a given filter: ```py affected_rows = sqlite_loom.delete_bulk(User, {"name": "Crispen"}) ``` -5. Updating a record +#### 5. Updating a record -You can update a record in a database table using the methods, `update_by_pk` , `update_one` and `update_bulk`. The `update_pk` can be used as follows: +To update a record in a database table, you can utilize the methods `update_by_pk()`, `update_one()`, and `update_bulk()`. The `update_pk()` method can be used as follows: ```py affected_rows = sqlite_loom.update_by_pk(User, 1, {"name": "Gari"}) ``` -This is how you can use the `update_one` +Here is an example illustrating how to use the `update_one()` method: ```py affected_rows = sqlite_loom.update_one(User, {"name": "Crispen"}, {"name": "Gari"}) ``` -The update bulk updates all teh records that matches a filter in a database table: +The `update_bulk()` method updates all records that match a filter in a database table. ```py affected_rows = sqlite_loom.update_bulk(User, {"name": "Crispen"}, {"name": "Tinashe Gari"}) diff --git a/dataloom.png b/dataloom.png new file mode 100644 index 0000000000000000000000000000000000000000..8574ebf1ad6daf3801ee8eebad98ccfc0c5755ec GIT binary patch literal 8235 zcma)h^;cWp6D%~-66PBw763|1b3I9L4p=} zeBVFt-Vb-3vu52jcg;O#&&;0vLsLVE2%icc4GoP*`2$G%dA)mn{Bg1WXBi{BcwW%m zw3X!0s>W&d(a`92ltJ%xy+0qD5_l)hr1^I~<)AgIneVXZ*34JcC+p9RES}6#Rm2wR z*|(}3m%WE*0R_;lSY&xZj=v3I2B`(=+jD9jb2vHvL%ia|{c>2=a4ctEZ`#oCg2T&z zUjS42@q%mbBTL%9dw~m>C5zY|*!R1@+U>a4s@tkq6Vf+4H(pMbffoVHeQzeO_dYaG z4lNQBMrUqg@=V~ zdeb)0Fmb2*`-&s#>FZAAr=Cc9M6t(Qy)m=A{~_+xgWjWsm&ws!zJ&iQG1m39hKp9J zcK!+?pp+!)(gloT@N%?K5n4i=ATPV9>F5=lVMrvztFiUHm@8qo4fIK zotJR0)CKVbHqte0thy0x*kIqdVVP^#ky%#9QKLWDR<7-|i+Ct9^J(I;K}lYox9>zR zuXm(kNey-Np$juFZ8rTgU4>beTk`Hap_rVrSVKI82;y2Cg`yZhBy_!xV+EbH#k-k* z>-rUdQpT8dqev9^Gd8`~1djY&_Oow4UfsTEaa~8p0McAn`bS5_I|@CtG73Qn<62Ir z^)%qhvJ3@w`nvwbr=C3QRp&_govyRa^Xt|WsjK2%+V(7!It>keB8Erkwj;I7t#*lO zpSp@9$+@zv`fO^HvmEVeMZ?1xAprvO3hrWltf!3*gH;hu)KZfMy8CW(yf&)mnZG5> z_EQo&X(ACQ|%H3hMZhvi{i#rOjAH6tmyfDw3c+LSODV){No{RkYF_`#xh|Hs$3#<`^ zYL@BhS`$DZA?^FpnC6jDF4)~SWWYx@3de$r&v4W8!}ae;;gyLSsAlJj)^uUxxHtIx z&w$KJ;+ocak%c>wdaERkYS71{%Y%3YTWpVXyJ7Lh;ce0Lrbj5gDEZ!9I4Vh)UKEsu zhhXesXTenNB3Xax@?CaWC(YV!!Z;C9dYAf!i4l)@;y+4U`KH(XYW@csN3(Zj<7U)>%X__q5h`?F1D z8j9o`qd}1_kT}OSjt_*izUO9HE&RFhF{k8TW1+2Ik#Ipq^|uG;2$pT#hx`D*#SZ+I z9KJ>NaNvmib>z?Et={6TG$=q_DU?8`2ZG`E-&<>_p?Hlc0?d1OaPLFbW>6#d#(1K} z%TKsAb3tSO&UF$NawDpWPB7p~1TAW+pqPsHq##GqWzSti_KFR`xU;yWlER2c z3oI<};}k;?p9Pg*I<|1IX7csn$0HveuS<-Bt50;g8}_J=4)#1;VxdM0^$CjaJ~?OI z>j*)ugE!H(#{v;QDkQO8mePoR>(C!q?&@G3y#3mIHmm$gho6Z|ku*Q?hvHzAI3pGM zu6Cdj+FLv+7GsL(2-*NpHRR93s~0xA6b9CJ7XOVJWtW98FD`v@8}E-qEL=@W?tKhL zP-X?~HA~n2F(G?Mdr)#>vYGqTPEG3k*sYfFHCsabu!O60U9a_|l$45btymuQU(nk* z&|34;dx&QzNUg8298U2+z$D&S3{C0uHCZt9*2?wnkLn3lCH5cJP_Fd?|t zk<5SqOU%%`htJO_wHaFOl=dq*iu@PyKD%mm%FH=@ z=A|#okvdGVv4~_m2P57FK4ImT81OHr-}3S}3@ob`Cp#!Y>?jPK$SPcCYJyo~b9ZOO z5(Wx6lz>v?a$@(=Lt+p$$sL;XFXadSG2H!Pw=fPkn}vsdc3Cp%Eda+7?rXDQrv zRS9zVr3p@8ioKkc!s=>X>G~;?!Nvkrz4`Y3N*7eUcsC1hf%$;*maO%@7-;WU=lI{O zV}-dw8mmZ_u8z3KKC4epMl_Y_p3>~cDebfyIAGNwc1CTp$I2` zCEZELp;!*#4zCP`M*XZ>ONX7k4|U+&ms}&DRE9oVZd)W`Uqo>h6mU`E`;x(b(l%|m zWP}S&vW$1?HM&>IAlx{c+1inUc!r2zyPf^N05l3mr|nXp)B~}0gxEF~aJK$6LAP+m z?1l4lO}O5vm0oxumF9Sk;F<%a?3gtd`Xwu-auy#}Y!JL%=bt;20;N3U=>Vlt+HKI> zpVL+opJ5dY`~7BfGqI%B5hx|UsY+~jgh;r#gJpJC;0N{2k`HDZ(Rwi2aY(oEbc8f6 z8}Kt$F^ue1*p_cL=7#lgv504T5w*#B=MQGxU}Dh-@e>zw5(dq^3!Dw9VPcRTsz^!& zA=NP@J6gX^9@+TLd^M@^$sD`O>bNUJtFAF}l%CGQhJOlh+=};o`AQwN*WCURho1*L zztOvr@)=^AG94RJ>N6wn91Wm(eQCJdUhQ#`=p{d^lrW2`IaF^^be56W%ba@&7jQoO zKE$5i$^SD0tp!il1#Xt_8b39vBosv_=IS-|v`x_G0!7-$Kx9&DecF?1yao#RcB6P( zBm8%gAEpB8|%7s(h-pQt!xkE_EIte`0zSFOt8N#M1oO3wZ-W0{wUFP z*U!H-LfY@*@zAiC+1yuBp#0sQIM&4OY`WWS;c%YhmNtXs)HVP2a(cm_{R<$6kYCx; zi5{O$ZLFFZf@L$!yahAl%dVGEYqPPw3r&|QsQwL=BQmw~jwpkE=z}_61zet7z`2^w zbV+K!>$Lh|RtXXbl#>oSplG$o8GI{xV>vlF_a;Wh==TR3_oB&!nW zl@4ZoJDkA@&G@~U+5w24LS+`s;Vm{*W&0*m%J|j1RY1|y7u-^Dc$1+gFe%y(G)Ww^ z?LstJ2tYB7Csu*}>gy?3ww=XaOgo$W(mPwbwI1zU(z)wxm&p!{9$8c9nDujq$>Cln zGFODbpVRojC^=3~OO7dO-}5|&9zCm1p4=DgP*&Nwh0O)R0U7=aPxYzB;(w7gNFPfn zYEXy_n&Cn9WjbGT9X&+So`iqnI{uy%MGO>IV4JSHU;6hXD*%PaiwDLfXqg9%&=Rit=Nuc?rj9qu!ZCv#$GBPJj1#SR3N~gdIf7j3ec~Sv3<7 zol@Mhm;KsBXsGqCYXT!grQjcCd=x@rF-C@D_xf#~2lQtsLr3BMol2k#;Y3W@jRwPf zn;@e_UtxMOC)C(E1)5M{<03Uq~_`P7SyszBm-o;r4VUOgccl;;Vj{$oI9) zOIg3W%_Mp|j}#V(m_4I)j~`dhE=Bafw!oEzIz|d8+Is%(Zv63~h{w^#{OcDsrIO=> zOdG zK=Y6R@|rIL1@IAacsMUSOZxg%pxrwUA%bg}$ZW)`0~@SzHJ2Kw2oUZ?E9sB!b*4xO zi1hFSyubhO!jx&6Z(ez#CH2OH;ih9^+7vr5@u>*77+22vD;lq`ViuwQsi4b>BmK2H z)1)O@M*-5e*f>f}{7({arO41}U!T?D_Sw0%;iM1*cG5x_{WEaP;3KVo$jj=LY4v&- zyi#4J(t{^9!!_?*Zt5O!P7bfE|A0Os>UU{|aT8>cnyQS0WN10^?x$1c2(e`mHMEV< z)w#A_ifNDeF;XpU?Xafa_=bP8-07q?gXzyqL4*@|DIn2J*oPK#gR_~RD}mU_3It1P zzd}T1A+5g$lN)>1(-{-)+GAQ2li#{q3aVQ$gfyEK+Pc#U6g?-3-E(*MzJwheC28Cs zBXbLP71MN!tn^$a8(e2B9}%V&VxJZrcwRG@Y6d6Z^ z7I2v1BgO|Z`09x6TXkU2l?t-eIzGSe>}?>yvCW{%o3t10?#DgXNr{P){l8WRb3Kid z>HJ2$1vU2`w5wEq&Rf3|hdwO2^l1l$nZ}pPBA$evlnI*;##u>aciFQZ-Bau81sIe#%0!N{S`Gx6*aA6j6?tGl=c3myJB&pp+rSf&=t*#+&+SEFAJ zjr=E(b}i!^h(c+Y81b$ieG4=EkVV7n;Trw1RxfLI2O;#I)|}QHs{T^4l$q>^=N>!c z&G-JQT>GfwlkCz;6)xbbliQqpYpqDc!wr!#G-t=Y=B|0_@((d>nrSZF@C-iTHUE7zO(oSPoFpCd6J1O^ zj=?A3Va3g;j?JLKL zaY0$9t)zFRJ$I$AIQi=Z(6heZCKe^!&JkX}Gn9U3GQE-Qwm{rG`Q|;!i$uMfmtQ#@ zyvfZWv6PAaS`uCu2RBfpoF{bw+vlURU94PqiPJ2h`SS8DfIV{?OOaGLQwC45zDGPd zygyD?qCYtgUl$3?&}GADp-W$W_=!(bwbP9-NO+LEUtg}V6bzXsKDF|z;q5r8z8GkW z*mpP^#oEGAZe?_nBJlq~vzXHLN2=G!2W{Q?&Qv`^U^K^5SOHbfz*$BJ2kj+kW z_AZxy_Q-!099f?J)e%mt>7m7(-=h3)h)FxB=Tv%rM8GJS$fkGclcGej3L^hISQV)i znOnm+z+1GYg4Hu=&KWv#uk=pNM-h=1|4R6Fv5DWBk$}r7Zr8q6V_Z${_v1%4^5?dG zMFUHI(aD1-(QT=ZcZ%zsq%rz3)zyOEGs3h+OFHr%b>13|qa8(>pSKFcVNxHVCh8PJ z{n>?}#Xk*Qhd80(4Jm|e>n@_6090N_3}w^pVVf~DqhWH-sH;o7d@RfRVB9z~`c6&q zq9WN*p^84j>0nPSU1VvG^i&Byqna@u5x%!DrK6lGsp?WSO#12 zbv4Q2?hC~GN4{p`N2T3!>afMWt#2*yz5k;d`V#Z`a*V%%sqiMFs7G7xk% zt_7O$RB(bq=A#CtnP^cj+NvPZy&-M+Y)2YNega-@9F&>Xt!SO|2(xTiS9~Mc%D&qg zHdNv96H?IU%l@4H{>8o2$e$HV>-oV)^3HPhU7D4JBO^f1@OI;bJ!S>MMQE6)^SkPE zgqP;`Z@t2H0z7jSQQJ)7UbL(D$r-S3$K!ev_4eJHi?mNMtFTmL;QAbW{$x=Eqdn(y z+ZOYynq{jZ3*5xrx>XW)_$r6h{dY*jmHV`?G|kEoXZqnD*;!Z(Yz>Y(!)n*w`6Ia! z1*Wwy_mqT^B3v;Hf$sg;BYV+?`?ksN8HoJms}sPFg~hIcg+Kg{svX(7ix;?9@30+6_lvgQ1^OSV7cwbmI(d31A7Wz=QS=t zerXz*a{qq$8elWMW(pvkyKdaSI(?zc|(sCeD*3?0B(EWHU+_!p5 zbIoJ=GyyO|EOW~%s6a`0#H^mP@jNy?1MphQs((;Hb=XvSW8@Z|e+i?7V(1DxK@e-a zzjnaPErRsB++rKB@h?_%QC>i1U=I-Z^)BSk4AL$V{JOlNUqH)x5&aa)uM+~|3R+Y& zcm|69nNs$Y-&C7C^#@|^6N_Ojwfh^ef&=8Q`WaA zT1j6i!Fy^7x*%C0L4J`uoJ>R#3AZExt7@ZyW8y7<+u5`%jNNRn&)?9g9jVyiBDsf-Yj{5oU>T{S zSu&6=mGDULj&^wOAy6(X-&s@T#qJQ{!VyJdR9KAvjC;wK-!uhgc&BRs6eNaNI{muT zXYeL6xnHkOZuRY9tEvX5X~5Vz{9ISK)jo~Q%KQfi!jU2MG#ug_CUk=L0@`BHoo+@h zA8c*8b%L#AWxS_8`fh6~K$z)G^Vr*7sV6myV>nsW%z3I#Asc3VHJrH_j!tyE8!^6E zD0|%?6(fLRVc1rv>P*$Seng2TMa3+{)OrY1#r)Co8bTMxJ?P+A6_=PXJ^$c<$VDi6 zoMsQC
    +HVygjBTvc(qz=V#d`MI&PQ;!v_Boc_sIs`&;kSK82uV|-Qwp1T4W@zi zFVP#_@=fvsTILCdLUt z3OCJ9-V1xsHxI&>c!WYXq)5tNCUdoCC%cIHwp#=fWxU;#87_T zl##E8?LZ1iH#NJ*zp}BA#}k|_qNr2x5O0hgZ&Rs>SW_Rj(+LlHM_^auTH~*pU-Z@u z#wG5)!?NtQ;DJzl*GBIu4Ed@#pOg5Ew=*5<)y8kO?zI*+Z$-ZPu5h^bmF$;XJo0|( znA}_K%RR-%>e4-~w)b5vb7C$g9b^RrZ(e;0g*^}f{3Hnf$k?tQkX04QCP|5Gbn;;#s-5R3^?>4WrMdn#{3jr-k)$PqIL2Tl@H` z-Bu$zS?ntjY_;0SX&s5j5;kSwY?#;r03)C&KnLjD%he5$QV!9NS=(`}#dkka0|b1X ztsdJM6EAOM7YmhTV2l-lTNU>3w4?O-haf8#U)Nq{pW>$`-yEFy@W+Pl3-d-In) z&lgj2cH>-yl`QEc06&Ng(}AHytoEPeM>2X0iLgmB{}h9cG4eP_j=`cjC`K;A*<)Jh zvgM(0PI&yeVG9}P{59HdcHNq;ZDOikO~YJCNal$V=$*^d$(?PH%C#+ z>J1b!mCfS1{K-J~`RF6^{TB5L$KAqmvms7QYyv>zb5z>@)5X~MOPGEhK6uzO@)XZU zWKZqIiOk&j_N4L3JaZs$`Pcws5=W>koWYzEZgu?3;JsisUDu{%IHy!85uAXFS(+g% zaWbSc+eN3>xg#1+FslD?QST}1=eI@-SipG(~XEs4?oZ4?AHB&I^IFI zL0AX4?~1!PckqLFF~4cJ8|n8$V5S9MEJV-0BP_ZX=O?tvJf2Sv{U30U0IvRgdL(2n zZieLkdtP9k+D;Xf{AYohG)i_gVzu=%vU6gRjNDE>e8jjsUE%pE4srp&%#fWsA07*J zB-kNOgzro}XtC(;H)HieQwH98;2q*AT0dL<1y6!U4JXpQB>~1Gxmf47;-2R1C@OPTsBNbpeD#bN{)dS^I1Tq14LDn ml{{|@{GN65|3Ax3z%5;id3UqO>9hKermUa=s**GR{(k^pZ5S^A literal 0 HcmV?d00001 diff --git a/dataloom.sql b/dataloom.sql index fde33d1..8cf9292 100644 --- a/dataloom.sql +++ b/dataloom.sql @@ -1,236 +1,1394 @@ -[2024-02-03 14:49:01.694058] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 14:49:01.714060] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 14:49:01.745063] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 14:49:01.761057] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 14:49:01.784289] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 14:49:01.796057] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; -[2024-02-03 14:49:01.813091] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; -[2024-02-03 15:20:03.027522] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:20:03.151122] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:20:03.236725] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:20:03.268319] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); -[2024-02-03 15:20:03.345992] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:20:03.434842] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:20:03.537030] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:20:03.617309] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:20:03.715273] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:20:03.783027] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:20:03.856030] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); -[2024-02-03 15:20:03.908033] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:20:04.742008] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:20:04.930611] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:20:05.253432] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:20:05.290039] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); -[2024-02-03 15:20:05.354032] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:20:05.380038] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:20:05.410035] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:20:05.527361] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:20:05.554492] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:20:05.616379] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:20:05.667930] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); -[2024-02-03 15:20:05.720230] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:20:05.845288] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:20:05.916997] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:20:05.979989] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:20:06.011054] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); -[2024-02-03 15:20:06.042989] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:20:06.071990] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:20:06.110991] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:20:06.157355] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:20:06.219684] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:20:06.268684] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:20:06.311677] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); -[2024-02-03 15:20:06.351738] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:28:54.781174] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:28:54.868142] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:28:54.940691] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:28:54.964573] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); -[2024-02-03 15:28:55.029694] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:28:55.086731] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:28:55.163708] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:28:55.211290] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:28:55.267250] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:28:55.346248] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:28:55.405794] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); -[2024-02-03 15:28:55.470140] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:28:56.204247] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:28:56.338843] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:28:56.815583] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:28:56.845246] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); -[2024-02-03 15:28:56.916261] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:28:56.958215] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:28:57.010381] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:28:57.303944] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:28:57.327944] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:28:57.362570] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:28:57.383571] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); -[2024-02-03 15:28:57.411571] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:28:57.625679] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:28:57.664742] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 15:28:57.729361] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:28:57.773020] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 15:28:57.827711] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:28:57.877590] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; -[2024-02-03 15:28:57.911640] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; -[2024-02-03 15:28:58.175905] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:28:58.213908] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:28:58.249908] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:28:58.279905] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); -[2024-02-03 15:28:58.307914] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:28:58.334253] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:28:58.361929] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:28:58.391998] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:28:58.434104] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:28:58.475954] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:28:58.524001] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); -[2024-02-03 15:28:58.576289] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:29:51.998484] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:29:52.102706] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:29:52.169258] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:29:52.212203] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); -[2024-02-03 15:29:52.298338] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:29:52.373175] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:29:52.477410] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:29:52.552219] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:29:52.604219] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:29:52.720281] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:29:52.784275] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); -[2024-02-03 15:29:52.857984] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:29:53.809444] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:29:54.027320] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:29:54.416174] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:29:54.449169] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); -[2024-02-03 15:29:54.527159] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:29:54.583711] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:29:54.641984] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:29:54.947270] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:29:54.995349] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:29:55.069424] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:29:55.116165] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); -[2024-02-03 15:29:55.159156] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:29:55.397795] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:29:55.425828] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 15:29:55.470495] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:29:55.519449] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 15:29:55.573387] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:29:55.623615] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; -[2024-02-03 15:29:55.656216] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; -[2024-02-03 15:29:55.715999] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:29:55.783604] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:29:55.878750] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:29:55.918807] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); -[2024-02-03 15:29:55.945878] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:29:55.965697] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:29:55.982785] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:29:56.007699] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:29:56.040703] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:29:56.067702] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:29:56.102257] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); -[2024-02-03 15:29:56.130261] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:31:12.814914] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:31:12.908377] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:31:13.001988] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:31:13.032987] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); -[2024-02-03 15:31:13.099832] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:31:13.154831] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:31:13.224833] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:31:13.285833] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:31:13.342614] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:31:13.413616] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:31:13.489675] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); -[2024-02-03 15:31:13.546788] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:31:14.150728] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:31:14.287475] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:31:14.697499] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:31:14.729426] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); -[2024-02-03 15:31:14.807557] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:31:14.859681] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:31:14.903455] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:31:15.124761] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:31:15.176767] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:31:15.257767] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:31:15.297758] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); -[2024-02-03 15:31:15.338766] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:31:15.568346] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:31:15.619353] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 15:31:15.687207] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:31:15.736210] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 15:31:15.787258] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:31:15.844272] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; -[2024-02-03 15:31:15.881207] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; -[2024-02-03 15:31:15.949202] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:31:16.017834] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:31:16.066827] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:31:16.106826] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); -[2024-02-03 15:31:16.150945] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:31:16.188829] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:31:16.225675] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:31:16.275716] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:31:16.326768] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:31:16.366712] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:31:16.408822] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); -[2024-02-03 15:31:16.451828] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:31:16.501783] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:31:16.561788] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 15:31:16.611782] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:31:16.645777] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 15:31:16.665783] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:31:16.707794] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); -[2024-02-03 15:31:16.738794] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); -[2024-02-03 15:32:43.472885] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:32:43.553532] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:32:43.617668] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:32:43.646584] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); -[2024-02-03 15:32:43.724537] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:32:43.849090] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:32:43.971087] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:32:44.009086] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:32:44.071397] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:32:44.145864] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:32:44.212864] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); -[2024-02-03 15:32:44.307025] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:32:44.363172] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; -[2024-02-03 15:32:44.428206] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 15:32:44.497904] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; -[2024-02-03 15:32:44.541611] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 15:32:44.642170] : Dataloom[mysql]: SHOW TABLES; -[2024-02-03 15:32:44.667174] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); -[2024-02-03 15:32:44.693213] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); -[2024-02-03 15:32:45.404805] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:32:45.606395] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:32:45.944088] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:32:45.966885] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); -[2024-02-03 15:32:46.014885] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:32:46.053378] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:32:46.084377] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:32:46.239118] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:32:46.271185] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:32:46.331286] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:32:46.362180] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); -[2024-02-03 15:32:46.388186] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:32:46.518182] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; -[2024-02-03 15:32:46.545288] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 15:32:46.653764] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; -[2024-02-03 15:32:46.706757] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 15:32:46.748061] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; -[2024-02-03 15:32:46.770760] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; -[2024-02-03 15:32:46.791756] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; -[2024-02-03 15:32:46.836761] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:32:46.872755] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:32:46.909024] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:32:46.939758] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); -[2024-02-03 15:32:46.970761] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:32:47.005067] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); -[2024-02-03 15:32:47.030764] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:32:47.067761] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:32:47.099276] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); -[2024-02-03 15:32:47.126291] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:32:47.162291] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); -[2024-02-03 15:32:47.191295] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:32:47.238689] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; -[2024-02-03 15:32:47.278552] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); -[2024-02-03 15:32:47.342543] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; -[2024-02-03 15:32:47.404537] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); -[2024-02-03 15:32:47.453529] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; -[2024-02-03 15:32:47.474533] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); -[2024-02-03 15:32:47.502537] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:20:39.884647] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:20:39.900499] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:20:39.927921] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:20:39.953901] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:20:39.985905] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:20:40.012914] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:20:40.029913] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:20:40.052918] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:22:43.353727] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:22:43.382606] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:22:43.427576] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:22:43.456634] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:22:43.489646] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:22:43.521648] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:22:43.548822] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:22:43.575824] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:23:30.181570] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:23:30.221021] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:23:30.273172] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:23:30.311046] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:23:30.350987] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:23:30.388477] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:23:30.420134] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:23:30.452715] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:23:48.456212] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:23:48.496040] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:23:48.540717] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:23:48.564723] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:23:48.605735] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:23:48.645736] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:23:48.677327] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:23:48.712304] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s; +[2024-02-03 20:24:09.642191] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:24:09.681196] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:24:09.730833] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:24:09.768835] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:24:09.807513] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:24:09.848562] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:24:09.881530] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:24:09.909536] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:35:46.905285] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:35:46.944339] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:35:46.988305] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:35:47.016307] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:35:47.056019] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:35:47.095029] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:35:47.124088] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:35:47.152682] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:40:02.721616] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:40:02.804200] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:40:02.859208] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:40:02.881210] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:40:03.038966] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:40:03.132984] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:40:03.229353] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:40:03.313307] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:40:03.366277] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:40:03.412280] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:40:03.451285] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:40:03.501352] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:40:03.538010] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:40:03.589949] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:03.668933] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:40:03.716000] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:40:03.810103] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:40:03.844100] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:40:03.881962] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:40:03.962867] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:40:04.063464] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:04.172465] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:40:04.226480] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:40:04.333235] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:40:04.363295] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:40:04.395126] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:40:04.465185] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:40:04.572192] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:04.667209] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:40:04.776165] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:40:04.885130] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:40:04.922582] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:40:04.960269] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:40:05.018145] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:40:06.067481] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:40:06.295566] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:40:06.531265] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:40:06.546266] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:40:06.581271] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:40:06.612766] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:40:06.650783] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:40:06.805248] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:40:06.852258] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:40:06.924870] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:40:06.979865] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:40:07.028061] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:40:07.237428] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:40:07.263552] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:07.296434] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:40:07.321443] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:40:07.362073] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:40:07.411930] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:40:07.446831] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:40:07.625524] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:40:07.692529] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:07.732685] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:40:07.762650] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:40:07.782651] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:40:07.811660] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:40:07.834661] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:40:08.052464] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:40:08.090356] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:08.127547] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:40:08.153638] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:40:08.183554] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:40:08.211561] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:40:08.234099] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:40:08.253101] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:40:08.310960] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:40:08.356605] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:40:08.394606] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:40:08.436620] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:40:08.484671] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:40:08.522679] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:40:08.558629] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:40:08.599168] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:40:08.661196] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:40:08.705189] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:40:08.745083] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:40:08.781134] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:40:08.830084] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:40:08.881115] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:08.919116] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:40:08.961049] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:40:09.003778] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:40:09.043240] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:40:09.082246] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:40:09.140265] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:40:09.186260] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:09.227266] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:40:09.271730] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:40:09.323737] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:40:09.355744] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:40:09.383742] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:40:09.410749] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:40:09.439683] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:40:09.460685] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:40:09.483163] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:40:09.502692] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:40:09.519695] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:40:09.541695] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:40:09.561698] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:41:18.683782] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:41:18.721465] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:41:18.767569] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:41:18.803596] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:41:18.844614] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:41:18.882613] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:41:18.912267] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:41:18.945276] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:41:30.646760] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:41:30.702456] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:41:30.765331] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:41:30.821473] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:41:30.878916] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:41:30.939684] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:41:30.985303] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:41:31.035313] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:43:21.321474] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:21.405475] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:21.458964] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:21.483963] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:43:21.560958] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:21.648054] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:43:21.813242] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:21.852472] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:21.900900] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:43:22.013898] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:22.083198] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:43:22.157218] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:22.204240] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:22.321525] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:22.464536] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:22.537144] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:22.637345] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:22.662159] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:43:22.686161] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:43:22.721813] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:22.821652] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:22.890976] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:22.991551] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:23.088748] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:23.132529] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:43:23.176537] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:43:23.252567] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:23.320311] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:23.396183] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:23.450229] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:43:23.537743] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:23.561680] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:43:23.597397] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:43:23.628689] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:43:24.970831] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:25.142018] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:25.359675] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:25.377677] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:43:25.409682] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:25.437695] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:43:25.478217] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:25.704819] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:25.734483] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:43:25.775977] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:25.803981] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:43:25.834987] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:25.970140] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:25.985143] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:26.027148] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:26.063780] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:26.116796] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:26.171794] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:43:26.208799] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:43:26.352400] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:26.398411] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:26.461843] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:26.526861] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:26.573504] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:26.631504] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:43:26.670515] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:43:26.871535] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:26.919551] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:26.978900] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:27.027303] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:43:27.096479] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:27.150316] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:43:27.178282] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:43:27.208455] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:43:27.291934] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:43:27.331936] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:43:27.367946] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:43:27.393944] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:43:27.417945] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:43:27.437947] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:43:27.457952] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:43:27.478958] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:43:27.501959] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:43:27.540970] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:43:27.569201] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:43:27.595971] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:43:27.639996] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:43:27.680361] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:27.717988] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:43:27.757009] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:27.790015] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:43:27.818006] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:43:27.866064] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:43:27.906030] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:43:27.949029] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:27.993451] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:43:28.030507] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:28.072658] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:43:28.101659] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:43:28.138665] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:43:28.196320] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:43:28.242327] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:28.283520] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:43:28.322509] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:43:28.350513] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:43:28.369518] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:43:28.400298] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:43:28.429338] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:43:55.799838] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:55.868847] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:55.920883] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:55.941860] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:43:56.018653] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:56.068018] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:43:56.126973] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:56.178524] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:56.241695] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:43:56.323692] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:56.397964] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:43:56.499978] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:56.569551] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:56.669044] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:56.747575] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:56.831277] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:56.945247] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:56.971264] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:43:56.996250] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:43:57.048259] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:57.093270] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:57.195819] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:57.237625] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:57.316188] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:57.350195] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:43:57.387242] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:43:57.469870] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:43:57.583491] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:57.669659] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:43:57.763363] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:43:57.844309] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:43:57.864314] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:43:57.884486] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:43:57.911780] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:43:58.567295] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:58.769886] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:59.220633] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:59.253644] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:43:59.344650] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:59.377655] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:43:59.415993] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:59.568014] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:59.583012] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:43:59.615018] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:59.639021] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:43:59.660026] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:59.802042] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:43:59.827180] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:43:59.870054] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:43:59.902110] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:43:59.940066] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:43:59.971070] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:43:59.994119] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:44:00.159100] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:44:00.190097] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:44:00.219102] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:44:00.245106] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:44:00.275110] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:44:00.306116] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:44:00.332119] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:44:00.492545] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:44:00.531551] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:44:00.571557] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:44:00.596558] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:44:00.622280] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:44:00.650378] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:44:00.668475] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:44:00.705175] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:44:00.810837] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:44:00.867170] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:44:00.917180] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:44:00.950186] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:44:00.996186] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:44:01.049963] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:44:01.076964] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:44:01.101965] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:44:01.130514] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:44:01.157515] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:44:01.180519] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:44:01.199522] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:44:01.219527] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:44:01.244435] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:44:01.267443] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:44:01.290533] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:44:01.308450] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:44:01.323457] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:44:01.344453] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:44:01.376464] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:44:01.404472] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:44:01.430462] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:44:01.457468] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:44:01.492473] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:44:01.522487] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:44:01.565652] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:44:01.648648] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:44:01.681651] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:44:01.707649] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:44:01.733661] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:44:01.758657] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:44:01.778660] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:44:01.809672] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:44:01.841265] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:45:31.383144] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:45:31.487330] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:45:31.569408] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:45:31.602701] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:45:31.694492] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:45:31.784713] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:45:31.903313] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:45:31.946246] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:45:32.005117] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:45:32.090127] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:45:32.172142] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:45:32.262885] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:45:32.346675] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:45:32.386362] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:32.461928] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:45:32.513931] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:45:32.561938] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:45:32.580940] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:45:32.598947] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:45:32.632948] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:45:32.669956] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:32.739413] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:45:32.809224] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:45:32.868291] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:45:32.898348] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:45:32.932097] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:45:32.997096] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:45:33.098548] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:33.207350] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:45:33.287705] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:45:33.379730] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:45:33.417448] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:45:33.455447] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:45:33.496391] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:45:34.292772] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:45:34.578175] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:45:34.774148] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:45:34.792022] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:45:34.827928] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:45:34.850931] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:45:34.878298] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:45:35.089675] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:45:35.140696] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:45:35.225282] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:45:35.269279] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:45:35.316287] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:45:35.503421] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:45:35.526426] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:35.559427] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:45:35.574932] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:45:35.598936] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:45:35.621943] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:45:35.644953] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:45:35.913891] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:45:35.965696] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:36.044629] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:45:36.109912] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:45:36.156638] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:45:36.194644] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:45:36.223645] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:45:36.364188] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:45:36.382162] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:36.412789] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:45:36.447204] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:45:36.501181] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:45:36.557131] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:45:36.598801] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:45:36.637748] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:45:36.721752] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:45:36.789593] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:45:36.851602] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:45:36.893614] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:45:36.936620] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:45:36.976629] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:45:37.022633] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:45:37.070641] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:45:37.120153] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:45:37.161185] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:45:37.200161] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:45:37.239177] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:45:37.284174] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:45:37.336238] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:37.376249] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:45:37.415359] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:45:37.452371] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:45:37.500331] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:45:37.551350] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:45:37.628285] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:45:37.684301] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:37.712292] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:45:37.731290] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:45:37.753297] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:45:37.772299] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:45:37.797542] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:45:37.835548] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:45:37.863543] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:45:37.891580] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:45:37.934614] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:45:37.979631] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:45:38.020035] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:45:38.066575] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:45:38.112641] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:49:36.870075] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:49:36.969609] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:49:37.056909] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:49:37.088915] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:49:37.164651] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:49:37.231271] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:49:37.287279] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:49:37.351951] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:49:37.450943] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:49:37.533625] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:49:37.606455] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:49:37.699645] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:49:37.773645] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:49:37.840647] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:37.886658] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:49:37.926215] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:49:37.992218] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:49:38.013517] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:49:38.030521] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:49:38.073528] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:49:38.109528] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:38.169536] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:49:38.238546] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:49:38.304381] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:49:38.326569] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:49:38.361691] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:49:38.418064] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:49:38.586071] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:38.656560] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:49:38.722026] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:49:38.773032] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:49:38.790065] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:49:38.809115] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:49:38.832222] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:49:39.729628] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:49:39.989228] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:49:40.334819] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:49:40.365853] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:49:40.427814] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:49:40.472470] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:49:40.521508] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:49:40.750701] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:49:40.798142] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:49:40.865246] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:49:40.914296] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:49:40.960189] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:49:41.153037] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:49:41.191042] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:41.253611] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:49:41.303616] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:49:41.356781] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:49:41.409786] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:49:41.448790] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:49:41.635955] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:49:41.660956] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:41.697966] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:49:41.730399] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:49:41.763574] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:49:41.797576] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:49:41.822579] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:49:41.983899] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:49:42.020901] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:42.065288] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:49:42.100521] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:49:42.135691] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:49:42.177693] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:49:42.208230] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:49:42.242243] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:49:42.366853] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:49:42.417869] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:49:42.469530] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:49:42.508555] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:49:42.542535] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:49:42.574540] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:49:42.599554] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:49:42.627543] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:49:42.655814] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:49:42.678543] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:49:42.706551] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:49:42.742555] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:49:42.792617] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:49:42.844566] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:42.903572] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:49:42.957578] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:49:43.005582] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:49:43.029580] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:49:43.054579] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:49:43.089585] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:49:43.119589] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:43.145587] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:49:43.172594] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:49:43.198595] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:49:43.218597] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:49:43.250657] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:49:43.305869] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:49:43.360269] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:49:43.404275] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:49:43.445272] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:49:43.466271] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:49:43.482347] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:49:43.538471] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:49:43.584827] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:50:15.894119] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:50:15.933834] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:50:15.978456] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:50:16.017729] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:50:16.058312] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:50:16.096315] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:50:16.129316] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:50:34.358684] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:50:34.380552] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:50:34.408552] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:50:34.438349] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:50:34.459477] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:50:34.490763] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:50:34.515388] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:50:34.550149] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:51:00.012151] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:51:00.046648] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:51:00.082348] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:51:00.116410] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:51:00.150349] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:51:00.184638] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:51:00.212665] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:51:00.235643] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:51:57.822555] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:51:57.857645] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:51:57.907541] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:51:57.950548] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:51:57.989546] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:51:58.028720] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:51:58.056640] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:51:58.086638] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:53:31.856794] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:53:31.892314] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:31.927160] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:31.955160] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:53:31.984441] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:53:32.009475] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:53:32.031592] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:53:32.052594] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts"; +[2024-02-03 20:53:45.711033] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:53:45.791933] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:53:45.837945] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:53:45.866940] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:53:45.947947] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:53:45.998559] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:53:46.178577] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:53:46.198127] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:53:46.257134] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:53:46.314133] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:53:46.360144] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:53:46.430885] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:53:46.469891] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:53:46.528186] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:46.596899] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:53:46.634598] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:53:46.681963] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:53:46.702606] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:53:46.719605] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:53:46.759617] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:53:46.827617] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:46.901251] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:53:46.954937] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:53:47.055260] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:53:47.072259] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:53:47.089262] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:53:47.116557] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:53:47.217922] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:47.299935] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:53:47.336155] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:53:47.429650] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:53:47.453651] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:53:47.475650] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:53:47.498654] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:53:47.517656] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:53:47.536659] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:53:48.310003] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:48.496675] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:48.708882] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:48.725246] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:53:48.758249] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:53:48.780251] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:53:48.805295] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:53:48.933293] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:48.959301] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:53:48.992296] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:53:49.013309] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:53:49.035852] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:53:49.244333] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:53:49.272373] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:49.310344] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:49.344101] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:53:49.377109] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:53:49.409139] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:53:49.438130] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:53:49.603093] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:53:49.648613] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:49.698658] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:49.742623] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:53:49.789619] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:53:49.832630] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:53:49.866995] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:53:50.044355] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:53:50.088837] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:50.138789] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:53:50.182844] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:53:50.225807] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:53:50.271853] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:53:50.306865] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:53:50.344817] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:53:50.376870] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users"; +[2024-02-03 20:53:50.409873] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:53:50.442830] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:53:50.481826] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:53:50.517852] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:53:50.552333] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:53:50.584843] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:53:50.619974] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:53:50.658675] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:53:50.699671] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:53:50.732680] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:53:50.766266] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts"; +[2024-02-03 20:53:50.861943] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:53:50.923964] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:53:50.963063] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:53:51.010066] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:53:51.053528] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:53:51.090072] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:53:51.126085] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:53:51.156109] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:53:51.181375] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:53:51.212081] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:53:51.244095] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:53:51.276090] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:53:51.318095] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:53:51.362349] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:51.394721] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:53:51.425721] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:53:51.458857] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:53:51.486304] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:53:51.518734] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:53:51.562414] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:53:51.594385] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:51.630347] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:53:51.661349] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:53:51.684354] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:53:51.704353] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:53:51.734363] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:53:51.781916] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:53:51.814918] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:53:51.847918] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:53:51.875051] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:53:51.913055] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:53:51.943065] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:53:51.982543] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:53:52.030499] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:53:52.051537] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:53:52.070535] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:53:52.090526] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:53:52.109493] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 20:53:52.129494] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `username` = ?; +[2024-02-03 20:53:52.148496] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = ? AND `username` = ?; +[2024-02-03 20:53:52.168125] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts`; +[2024-02-03 20:54:40.603192] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:54:40.687054] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:54:40.758449] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:54:40.787495] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:54:40.853500] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:54:40.902078] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:54:40.953130] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:54:41.021047] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:54:41.072973] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:54:41.172519] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:54:41.225526] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:54:41.294574] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:54:41.327613] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:54:41.384965] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:41.446497] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:54:41.492509] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:54:41.565798] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:54:41.583799] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:54:41.605806] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:54:41.642022] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:54:41.712511] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:41.763030] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:54:41.804038] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:54:41.870594] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:54:41.890607] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:54:41.913604] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:54:41.974959] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:54:42.054392] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:42.162298] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:54:42.236303] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:54:42.310324] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:54:42.332107] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:54:42.354673] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:54:42.377672] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:54:42.396757] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:54:42.418672] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:54:43.140111] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:54:43.266129] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:54:43.583441] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:54:43.601894] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:54:43.642857] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:54:43.671059] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:54:43.700861] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:54:43.852874] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:54:43.879907] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:54:43.922933] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:54:43.953936] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:54:43.978936] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:54:44.149517] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:54:44.175252] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:44.213786] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:54:44.244790] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:54:44.277793] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:54:44.315416] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:54:44.340780] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:54:44.511152] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:54:44.546852] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:44.581026] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:54:44.614044] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:54:44.640043] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:54:44.666045] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:54:44.687046] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:54:44.807062] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:54:44.832833] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:44.855837] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:54:44.883883] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:54:44.908840] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:54:44.937850] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:54:44.958846] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:54:44.977849] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:54:44.993849] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users"; +[2024-02-03 20:54:45.008856] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:54:45.024886] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:54:45.039856] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:54:45.054893] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:54:45.069864] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:54:45.086895] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:54:45.103861] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:54:45.123862] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:54:45.149864] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:54:45.183872] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:54:45.220873] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:54:45.248874] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:54:45.272877] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts"; +[2024-02-03 20:54:45.330988] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:54:45.366889] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:54:45.393890] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:54:45.418983] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:54:45.456895] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:54:45.483894] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:54:45.508226] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:54:45.540007] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:54:45.570008] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:54:45.600009] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:54:45.621014] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:54:45.638013] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:54:45.659019] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:54:45.683019] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:45.704019] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:54:45.723021] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:54:45.746029] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:54:45.761029] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:54:45.785034] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:54:45.816034] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:54:45.844046] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:45.868040] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:54:45.893177] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:54:45.918040] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:54:45.938644] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:54:45.963647] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:54:46.001644] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:54:46.039191] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:54:46.062326] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:54:46.083191] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:54:46.103229] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:54:46.121246] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:54:46.147567] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:54:46.173533] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:54:46.202543] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:54:46.233545] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:54:46.276554] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:54:46.320538] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 20:54:46.367343] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `username` = ?; +[2024-02-03 20:54:46.403338] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = ? AND `username` = ?; +[2024-02-03 20:54:46.429344] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts`; +[2024-02-03 20:55:32.711885] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:55:32.824608] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:55:32.889618] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:55:32.926622] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:55:33.004311] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:55:33.075440] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:55:33.163924] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:55:33.210901] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:55:33.249919] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:55:33.429507] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:55:33.468508] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:55:33.526456] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:55:33.565460] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:55:33.623629] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:33.692631] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:55:33.762649] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:55:33.841665] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:55:33.871286] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:55:33.905290] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:55:33.966791] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:55:34.039432] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:34.087567] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:55:34.151449] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:55:34.227449] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:55:34.250501] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:55:34.283465] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:55:34.365468] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:55:34.436152] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:34.536801] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:55:34.629342] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:55:34.740486] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:55:34.763488] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:55:34.793771] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:55:34.823494] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:55:34.846983] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:55:34.872376] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:55:35.666241] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:55:35.813929] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:55:36.053123] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:55:36.069124] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:55:36.124133] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:55:36.174139] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:55:36.217187] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:55:36.339704] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:55:36.369734] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:55:36.403742] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:55:36.427706] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:55:36.451302] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:55:36.727378] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:55:36.773389] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:36.846923] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:55:36.902911] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:55:36.944919] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:55:36.992916] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:55:37.015919] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:55:37.141942] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:55:37.178285] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:37.238901] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:55:37.287906] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:55:37.328910] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:55:37.363436] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:55:37.385910] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:55:37.495923] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:55:37.524274] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:37.543928] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:55:37.569969] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:55:37.598045] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:55:37.621934] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:55:37.643937] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:55:37.667944] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:55:37.688715] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users"; +[2024-02-03 20:55:37.713723] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:55:37.733719] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:55:37.757731] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:55:37.789735] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:55:37.820750] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:55:37.852752] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:55:37.881743] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:55:37.900733] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:55:37.914867] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:55:37.928735] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:55:37.943739] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:55:37.959738] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:55:37.974740] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts"; +[2024-02-03 20:55:38.011747] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:55:38.048071] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:55:38.077752] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:55:38.102895] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:55:38.124758] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:55:38.144761] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:55:38.166796] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:55:38.199691] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:55:38.235138] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:55:38.266145] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:55:38.290615] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:55:38.315622] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:55:38.362633] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:55:38.413769] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:38.453763] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:55:38.493767] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:55:38.530770] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:55:38.561773] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:55:38.604399] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:55:38.664391] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:55:38.716511] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:38.768956] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:55:38.816518] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:55:38.858523] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:55:38.888525] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:55:38.931531] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:55:38.989012] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:55:39.045632] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:55:39.085253] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:55:39.123519] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:55:39.164250] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:55:39.195894] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:55:39.240912] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:55:39.284907] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:55:39.314910] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:55:39.346129] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:55:39.376754] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:55:39.396911] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 20:55:39.410953] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `username` = ?; +[2024-02-03 20:55:39.424955] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = ? AND `username` = ?; +[2024-02-03 20:55:39.441916] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts`; +[2024-02-03 20:58:02.884825] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:58:02.947801] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:58:03.009182] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:58:03.035578] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:58:03.141036] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:58:03.198960] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:58:03.276177] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:58:03.322187] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:58:03.372374] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:58:03.432378] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:58:03.499384] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:58:03.585394] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:58:03.637400] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:58:03.686401] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:03.763409] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:58:03.799878] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:58:03.850469] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:58:03.870426] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:58:03.890427] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:58:03.923434] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:58:03.958436] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:04.007709] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:58:04.045337] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:58:04.120939] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:58:04.142949] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:58:04.167949] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:58:04.200950] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:58:04.264951] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:04.328416] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:58:04.366422] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:58:04.419846] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:58:04.436843] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:58:04.462819] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:58:04.495161] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:58:04.521164] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:58:04.542206] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:58:05.333778] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:58:05.456335] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:58:05.811759] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:58:05.841302] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:58:05.887305] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:58:05.922310] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:58:05.951923] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:58:06.086453] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:58:06.110457] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:58:06.145459] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:58:06.169464] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:58:06.193463] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:58:06.321475] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:58:06.346172] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:06.379482] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:58:06.408494] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:58:06.440487] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:58:06.468490] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:58:06.490500] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:58:06.634673] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:58:06.669654] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:06.707658] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:58:06.739662] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:58:06.767730] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:58:06.794738] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:58:06.811739] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:58:07.093499] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:58:07.134492] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:07.168495] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:58:07.193497] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:58:07.221499] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:58:07.246502] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:58:07.267497] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:58:07.286498] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:58:07.301506] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users"; +[2024-02-03 20:58:07.318501] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:58:07.334503] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:58:07.349504] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:58:07.366505] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:58:07.381507] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:58:07.396510] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:58:07.413509] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:58:07.431516] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:58:07.452515] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:58:07.485951] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:58:07.523522] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:58:07.555531] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:58:07.590545] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts"; +[2024-02-03 20:58:07.669605] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:58:07.703115] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:58:07.735115] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:58:07.755804] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:58:07.778799] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:58:07.799801] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:58:07.818803] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:58:07.839805] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:58:07.868865] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:58:07.892869] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:58:07.917871] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:58:07.942873] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:58:07.971883] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:58:08.007923] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:08.035980] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:58:08.062886] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:58:08.085887] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:58:08.107325] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:58:08.132937] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:58:08.165780] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:58:08.201397] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:08.232788] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:58:08.262388] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:58:08.289386] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:58:08.314389] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:58:08.338391] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:58:08.381637] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:58:08.415639] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:58:08.442639] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:58:08.471644] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:58:08.495642] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:58:08.514646] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:58:08.542647] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:58:08.566655] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:58:08.585659] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:58:08.606665] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:59:02.810981] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:59:02.897022] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:59:02.966489] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:59:02.996000] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 20:59:03.059043] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:59:03.112347] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:59:03.188399] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:59:03.233363] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:59:03.419920] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:59:03.464920] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:59:03.521926] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 20:59:03.593945] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:59:03.625880] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:59:03.681501] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:03.778112] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:59:03.845425] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:59:03.947048] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:59:03.992913] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:59:04.033524] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:59:04.131183] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:59:04.230758] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:04.325764] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:59:04.406771] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:59:04.506792] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:59:04.539783] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:59:04.574787] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:59:04.648792] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:59:04.699806] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:04.769406] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:59:04.985417] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:59:05.068396] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:59:05.092396] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:59:05.126412] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:59:05.157647] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:59:05.181648] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:59:05.201652] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:59:05.232196] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:59:05.255199] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:59:05.279202] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:59:05.295202] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `name` = %s; +[2024-02-03 20:59:05.314205] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `username` = %s; +[2024-02-03 20:59:05.333207] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = %s AND `username` = %s; +[2024-02-03 20:59:05.348207] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:59:05.363209] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:59:05.381686] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `name` = %s; +[2024-02-03 20:59:05.399241] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `username` = %s; +[2024-02-03 20:59:05.414218] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = %s AND `username` = %s; +[2024-02-03 20:59:05.432531] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts`; +[2024-02-03 20:59:05.978778] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:59:06.148167] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:59:06.403099] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:59:06.424098] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 20:59:06.482100] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:59:06.511104] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:59:06.537108] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:59:06.636043] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:59:06.665588] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:59:06.697807] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:59:06.725589] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 20:59:06.744626] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:59:06.865610] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:59:06.890601] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:06.921613] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:59:06.945868] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:59:06.971868] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:59:06.997869] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:59:07.016876] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 20:59:07.139828] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:59:07.193858] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:07.271763] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:59:07.310977] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:59:07.365871] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:59:07.417925] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:59:07.457883] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:59:07.636891] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 20:59:07.662435] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:07.698438] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 20:59:07.722442] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 20:59:07.748443] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 20:59:07.772451] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 20:59:07.792482] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 20:59:07.811449] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 20:59:07.827489] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users"; +[2024-02-03 20:59:07.848452] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:59:07.867879] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:59:07.888878] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:59:07.909926] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:59:07.941897] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:59:07.974005] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:59:08.008078] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:59:08.041021] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:59:08.074032] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 20:59:08.111033] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 20:59:08.146138] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 20:59:08.210237] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 20:59:08.239235] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts"; +[2024-02-03 20:59:08.317241] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:59:08.352244] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:59:08.382147] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:59:08.401171] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 20:59:08.425155] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:59:08.445155] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 20:59:08.465161] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:59:08.489527] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:59:08.515274] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 20:59:08.541284] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:59:08.567277] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 20:59:08.593279] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:59:08.622288] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:59:08.657284] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:08.688111] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:59:08.720897] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:59:08.754898] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:59:08.781903] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:59:08.806935] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:59:08.837904] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:59:08.867291] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:08.893076] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:59:08.919087] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 20:59:08.949081] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:59:08.970086] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:59:08.997258] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:59:09.035260] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:59:09.076260] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:59:09.104565] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:59:09.129562] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:59:09.156561] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:59:09.176561] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:59:09.202159] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:59:09.226162] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 20:59:09.246275] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 20:59:09.266165] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:59:09.286181] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:59:09.306206] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:59:09.325215] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:59:09.344220] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 20:59:09.364209] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `username` = ?; +[2024-02-03 20:59:09.384230] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = ? AND `username` = ?; +[2024-02-03 20:59:09.404231] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:59:09.424179] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:59:09.447182] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 20:59:09.466222] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `username` = ?; +[2024-02-03 20:59:09.485226] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = ? AND `username` = ?; +[2024-02-03 20:59:09.506187] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts`; +[2024-02-03 21:42:07.645216] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 21:42:07.760583] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 21:42:07.853230] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 21:42:07.903228] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255), `username` TEXT NOT NULL); +[2024-02-03 21:42:08.035528] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 21:42:08.112089] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 21:42:08.203443] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 21:42:08.276455] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 21:42:08.423055] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) UNIQUE, `username` VARCHAR(255) NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 21:42:08.636031] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 21:42:08.726450] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL); +[2024-02-03 21:42:08.897241] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 21:42:08.984295] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 21:42:09.165857] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:09.319719] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 21:42:09.499813] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 21:42:09.610292] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 21:42:09.647293] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 21:42:09.681415] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 21:42:09.745951] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 21:42:09.851587] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:09.963420] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 21:42:10.063541] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 21:42:10.171345] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 21:42:10.206345] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 21:42:10.241540] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 21:42:10.315596] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 21:42:10.432192] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:10.517086] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 21:42:10.613748] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 21:42:10.728641] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 21:42:10.761678] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 21:42:10.802540] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 21:42:10.841252] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 21:42:10.873230] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 21:42:10.906266] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 21:42:10.946404] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 21:42:11.001495] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 21:42:11.055561] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 21:42:11.082491] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `name` = %s; +[2024-02-03 21:42:11.108396] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `username` = %s; +[2024-02-03 21:42:11.128116] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = %s AND `username` = %s; +[2024-02-03 21:42:11.148394] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 21:42:11.165394] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 21:42:11.182393] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `name` = %s; +[2024-02-03 21:42:11.198395] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `username` = %s; +[2024-02-03 21:42:11.215486] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = %s AND `username` = %s; +[2024-02-03 21:42:11.231398] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts`; +[2024-02-03 21:42:12.056293] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 21:42:12.289987] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 21:42:12.652293] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 21:42:12.683327] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255), "username" TEXT NOT NULL); +[2024-02-03 21:42:12.773130] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 21:42:12.824175] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 21:42:12.869930] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 21:42:13.092486] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 21:42:13.140434] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" VARCHAR(255) UNIQUE, "username" TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 21:42:13.206786] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 21:42:13.246688] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL); +[2024-02-03 21:42:13.285309] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 21:42:13.501883] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 21:42:13.545886] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:13.610405] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 21:42:13.652782] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 21:42:13.701215] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 21:42:13.747974] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 21:42:13.788236] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING "id"; +[2024-02-03 21:42:13.920790] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 21:42:13.954570] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:13.992825] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 21:42:14.023977] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 21:42:14.058986] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 21:42:14.097157] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 21:42:14.121985] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 21:42:14.265392] : Dataloom[postgres]: DROP TABLE IF EXISTS "posts" CASCADE; +[2024-02-03 21:42:14.291947] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "posts" ("completed" BOOLEAN DEFAULT False, "id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "title" VARCHAR(255) NOT NULL, "createdAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "updatedAt" TIMESTAMP DEFAULT CURRENT_TIMESTAMP, "userId" BIGSERIAL NOT NULL REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:14.329060] : Dataloom[postgres]: DROP TABLE IF EXISTS "users" CASCADE; +[2024-02-03 21:42:14.363525] : Dataloom[postgres]: CREATE TABLE IF NOT EXISTS "users" ("id" BIGSERIAL PRIMARY KEY UNIQUE NOT NULL, "name" TEXT NOT NULL DEFAULT 'Bob', "username" VARCHAR(255) UNIQUE); +[2024-02-03 21:42:14.398560] : Dataloom[postgres]: SELECT tablename FROM pg_catalog.pg_tables WHERE schemaname='public'; +[2024-02-03 21:42:14.432555] : Dataloom[postgres]: INSERT INTO "users" ("username") VALUES (%s) RETURNING "id"; +[2024-02-03 21:42:14.457550] : Dataloom[postgres]: INSERT INTO "posts" ("title", "userId") VALUES (%s, %s) RETURNING *; +[2024-02-03 21:42:14.482552] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts" WHERE "id" = %s AND "userId" = %s; +[2024-02-03 21:42:14.503552] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users"; +[2024-02-03 21:42:14.524816] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 21:42:14.579816] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 21:42:14.608816] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 21:42:14.635923] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 21:42:14.661816] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 21:42:14.685817] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 21:42:14.704247] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 21:42:14.719248] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 21:42:14.740314] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s; +[2024-02-03 21:42:14.764310] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "name" = %s; +[2024-02-03 21:42:14.789308] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "id" = %s AND "username" = %s; +[2024-02-03 21:42:14.815152] : Dataloom[postgres]: SELECT "id", "name", "username" FROM "users" WHERE "name" = %s AND "username" = %s; +[2024-02-03 21:42:14.842782] : Dataloom[postgres]: SELECT "completed", "createdAt", "id", "title", "updatedAt", "userId" FROM "posts"; +[2024-02-03 21:42:14.891705] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 21:42:14.952765] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 21:42:15.005735] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 21:42:15.040732] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR, `username` TEXT NOT NULL); +[2024-02-03 21:42:15.073732] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 21:42:15.103747] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` TEXT NOT NULL); +[2024-02-03 21:42:15.136742] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 21:42:15.175575] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 21:42:15.216463] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` VARCHAR UNIQUE, `username` TEXT NOT NULL DEFAULT 'Hello there!!'); +[2024-02-03 21:42:15.263294] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 21:42:15.314066] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL); +[2024-02-03 21:42:15.357067] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 21:42:15.406717] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 21:42:15.459714] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:15.498112] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 21:42:15.542739] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 21:42:15.584725] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 21:42:15.614241] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 21:42:15.655329] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 21:42:15.706327] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 21:42:15.749545] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:15.788282] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 21:42:15.828353] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 21:42:15.867307] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 21:42:15.896308] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 21:42:15.948443] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 21:42:16.028362] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 21:42:16.094080] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 21:42:16.135795] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 21:42:16.168791] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 21:42:16.196794] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 21:42:16.217852] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 21:42:16.257797] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 21:42:16.316427] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 21:42:16.361564] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users`; +[2024-02-03 21:42:16.408028] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 21:42:16.452829] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 21:42:16.475827] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 21:42:16.499824] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 21:42:16.526380] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 21:42:16.553849] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `username` = ?; +[2024-02-03 21:42:16.577382] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = ? AND `username` = ?; +[2024-02-03 21:42:16.602379] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 21:42:16.626098] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 21:42:16.644945] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 21:42:16.662942] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `username` = ?; +[2024-02-03 21:42:16.681999] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `name` = ? AND `username` = ?; +[2024-02-03 21:42:16.704217] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts`; diff --git a/dataloom/db/__init__.py b/dataloom/db/__init__.py index b3a3b34..55beecf 100644 --- a/dataloom/db/__init__.py +++ b/dataloom/db/__init__.py @@ -134,7 +134,7 @@ def _execute_sql( cursor.execute(sql) else: if bulk: - cursor.executemany(sql, __parameters=args) + cursor.executemany(sql, args) else: cursor.execute(sql, args) # options @@ -260,97 +260,85 @@ def insert_one(self, instance: Model): ) return row[0] if type(row) in [list, tuple] else row + def insert_bulk(self, instances: list[Model]): + columns = None + placeholders = None + data = list() + for instance in instances: + ( + column_names, + placeholder_values, + _values, + ) = instance._get_insert_bulk_attrs(dialect=self.dialect) + if columns is None: + columns = column_names + if placeholders is None: + placeholders = placeholder_values -# class Database: - + data.append(_values) + sql, values = instance._get_insert_bulk_smt( + dialect=self.dialect, + placeholders=placeholder_values, + columns=columns, + data=data, + ) + row_count = self._execute_sql(sql, args=tuple(values), fetchall=True, bulk=True) + return row_count -# def create_bulk(self, instances: list[Model]): -# columns = None -# placeholders = None -# data = list() -# for instance in instances: -# ( -# column_names, -# placeholder_values, -# _values, -# ) = instance._get_insert_bulk_attrs() -# if columns is None: -# columns = column_names -# if placeholders is None: -# placeholders = placeholder_values + def find_many[T](self, instance: Model, filters: dict = {}) -> list[T]: + sql, fields, params = instance._get_select_where_stm( + dialect=self.dialect, args=filters + ) + data = list() + rows = self._execute_sql(sql, fetchall=True, args=params) + for row in rows: + res = dict(zip(fields, row)) + data.append(instance(**res)) + return data -# data.append(_values) -# sql, values = instance._get_insert_bulk_smt(placeholders, columns, data) -# row_count = self._execute_sql(sql, args=tuple(values), fetchall=True, bulk=True) -# return row_count + def find_all[T](self, instance: Model) -> list[T]: + sql, fields, params = instance._get_select_where_stm(dialect=self.dialect) + data = list() + rows = self._execute_sql(sql, fetchall=True) + for row in rows: + res = dict(zip(fields, row)) + data.append(instance(**res)) + return data -# def find_all(self, instance: Model): -# fields = list() -# for name, field in inspect.getmembers(instance): -# if isinstance(field, Column): -# fields.append(name) -# sql, _, __ = instance._get_select_where_stm(fields) -# data = list() -# rows = self._execute_sql(sql, fetchall=True) -# for row in rows: -# res = dict(zip(fields, row)) -# data.append(instance(**res)) -# return data + def find_by_pk(self, instance: Model, pk, options: dict = {}): + # what is the name of the primary key column? well we will find out + sql, fields = instance._get_select_by_pk_stm(dialect=self.dialect) + row = self._execute_sql(sql, args=(pk,), fetchone=True) + return None if row is None else instance(**dict(zip(fields, row))) -# def find_many(self, instance: Model, filters: dict = {}): -# fields = list() -# for name, field in inspect.getmembers(instance): -# if isinstance(field, Column): -# fields.append(name) -# sql, _, params = instance._get_select_where_stm(fields, filters) -# data = list() -# rows = self._execute_sql(sql, args=params, fetchall=True) -# for row in rows: -# res = dict(zip(fields, row)) -# data.append(instance(**res)) -# return data + def find_one(self, instance: Model, filters: dict = {}): + sql, fields, params = instance._get_select_where_stm( + dialect=self.dialect, args=filters + ) + print(params) + row = self._execute_sql(sql, args=params, fetchone=True) + return None if row is None else instance(**dict(zip(fields, row))) -# def find_by_pk(self, instance: Model, pk, options: dict = {}): -# # what is the name of the primary key column? -# """ -# SELECT -# posts.post_id, -# posts.content, -# posts.created_at, -# users.user_id, -# users.username -# FROM -# posts -# JOIN -# users ON posts.user_id = users.user_id -# WHERE -# posts.post_id = 1; -- Replace 1 with the specific post_id you are interested in -# """ -# pk_name = "id" -# fields = list() -# for name, field in inspect.getmembers(instance): -# if ( -# isinstance(field, Column) -# or isinstance(field, ForeignKeyColumn) -# or isinstance(field, CreatedAtColumn) -# or isinstance(field, UpdatedAtColumn) -# ): -# fields.append(name) -# elif isinstance(field, PrimaryKeyColumn): -# pk_name = name -# fields.append(name) -# sql, fields = instance._get_select_by_pk_stm(pk, pk_name, fields=fields) -# row = self._execute_sql(sql, fetchone=True) -# return None if row is None else instance(**dict(zip(fields, row))) -# def find_one(self, instance: Model, filters: dict = {}): +# """ +# SELECT +# posts.post_id, +# posts.content, +# posts.created_at, +# users.user_id, +# users.username +# FROM +# posts +# JOIN +# users ON posts.user_id = users.user_id +# WHERE +# posts.post_id = 1; -- Replace 1 with the specific post_id you are interested in +# """ # fields = list() # for name, field in inspect.getmembers(instance): # if isinstance(field, Column): # fields.append(name) -# sql, _, params = instance._get_select_where_stm(fields, filters) -# row = self._execute_sql(sql, args=params, fetchone=True) -# return None if row is None else instance(**dict(zip(fields, row))) + # def delete_bulk(self, instance: Model, filters: dict = {}): # sql, params = instance._get_delete_bulk_where_stm(filters) diff --git a/dataloom/model/__init__.py b/dataloom/model/__init__.py index 8469795..1a47eeb 100644 --- a/dataloom/model/__init__.py +++ b/dataloom/model/__init__.py @@ -6,6 +6,8 @@ TableColumn, ForeignKeyColumn, Column, + CreatedAtColumn, + UpdatedAtColumn, ) @@ -98,6 +100,153 @@ def _get_insert_one_stm(self, dialect: str): ) return values + def _get_insert_bulk_attrs(self, dialect: str): + cls = self.__class__ + fields = [] + placeholders = [] + values = [] + for _name, field in inspect.getmembers(cls): + if isinstance(field, Column): + value = getattr(self, _name) + if not isinstance(value, Column): + fields.append(_name) + values.append(value) + placeholders.append("?" if dialect == "sqlite" else "%s") + elif isinstance(field, ForeignKeyColumn): + value = getattr(self, _name) + if not isinstance(value, ForeignKeyColumn): + fields.append(_name) + values.append(value) + placeholders.append("?" if dialect == "sqlite" else "%s") + elif isinstance(field, PrimaryKeyColumn): + value = getattr(self, _name) + if not isinstance(value, PrimaryKeyColumn): + fields.append(_name) + values.append(value) + placeholders.append("?" if dialect == "sqlite" else "%s") + column_names = ", ".join( + [f'"{f}"' if dialect == "postgres" else f"`{f}`" for f in fields] + ) + placeholder_values = ", ".join(placeholders) + return column_names, placeholder_values, values + + @classmethod + def _get_insert_bulk_smt(cls, dialect: str, placeholders, columns, data): + if dialect == "postgres" or "mysql" or "sqlite": + sql, values = GetStatement( + dialect=dialect, model=cls, table_name=cls._get_table_name() + )._get_insert_bulk_command(data=(placeholders, columns, data)) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql, values + + @classmethod + def _get_select_where_stm(cls, dialect: str, args: dict = {}): + fields = [] + filters = [] + params = [] + for name, field in inspect.getmembers(cls): + if isinstance(field, Column): + fields.append(name) + elif isinstance(field, ForeignKeyColumn): + fields.append(name) + elif isinstance(field, PrimaryKeyColumn): + fields.append(name) + elif isinstance(field, CreatedAtColumn): + fields.append(name) + elif isinstance(field, UpdatedAtColumn): + fields.append(name) + for key, value in args.items(): + filters.append( + f'"{key}" = %s' + if dialect == "postgres" + else f"`{key}` = {'%s' if dialect == 'mysql' else '?'}" + ) + params.append(value) + + if dialect == "postgres" or "mysql" or "sqlite": + if len(filters) == 0: + sql = GetStatement( + dialect=dialect, model=cls, table_name=cls._get_table_name() + )._get_select_command(fields=fields) + else: + sql = GetStatement( + dialect=dialect, model=cls, table_name=cls._get_table_name() + )._get_select_where_command(filters=filters, fields=fields) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql, params, fields + + @classmethod + def _get_select_by_pk_stm(cls, dialect: str): + fields = [] + pk_name = None + # what is the pk name? + for name, field in inspect.getmembers(cls): + if isinstance(field, Column): + fields.append(name) + elif isinstance(field, ForeignKeyColumn): + fields.append(name) + elif isinstance(field, PrimaryKeyColumn): + fields.append(name) + pk_name = f'"{name}"' if dialect == "postgres" else f"`{name}`" + elif isinstance(field, CreatedAtColumn): + fields.append(name) + elif isinstance(field, UpdatedAtColumn): + fields.append(name) + if dialect == "postgres" or "mysql" or "sqlite": + sql = GetStatement( + dialect=dialect, model=cls, table_name=cls._get_table_name() + )._get_select_by_pk_command(fields=fields, pk_name=pk_name) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql, fields + + @classmethod + def _get_select_where_stm(cls, dialect: str, args: dict = {}): + fields = [] + filters = [] + params = [] + for name, field in inspect.getmembers(cls): + if isinstance(field, Column): + fields.append(name) + elif isinstance(field, ForeignKeyColumn): + fields.append(name) + elif isinstance(field, PrimaryKeyColumn): + fields.append(name) + elif isinstance(field, CreatedAtColumn): + fields.append(name) + elif isinstance(field, UpdatedAtColumn): + fields.append(name) + for key, value in args.items(): + filters.append( + f'"{key}" = %s' + if dialect == "postgres" + else f"`{key}` = {'%s' if dialect == 'mysql' else '?'}" + ) + params.append(value) + + if dialect == "postgres" or "mysql" or "sqlite": + if len(filters) == 0: + sql = GetStatement( + dialect=dialect, model=cls, table_name=cls._get_table_name() + )._get_select_command(fields=fields) + else: + sql = GetStatement( + dialect=dialect, model=cls, table_name=cls._get_table_name() + )._get_select_where_command(filters=filters, fields=fields) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql, fields, params + # class IModel[T](ABC): diff --git a/dataloom/model/statements.py b/dataloom/model/statements.py index 6786504..7be0c99 100644 --- a/dataloom/model/statements.py +++ b/dataloom/model/statements.py @@ -14,9 +14,23 @@ class MySqlStatements: INSERT_COMMAND_ONE = ( "INSERT INTO {table_name} ({column_names}) VALUES ({placeholder_values});" ) + INSERT_COMMAND_MANY = ( + "INSERT INTO {table_name} ({column_names}) VALUES ({placeholder_values});" + ) + + # selecting data + SELECT_COMMAND = "SELECT {column_names} FROM {table_name};" + SELECT_BY_PK = "SELECT {column_names} FROM {table_name} WHERE {pk_name} = {pk};" + SELECT_WHERE_COMMAND = "SELECT {column_names} FROM {table_name} WHERE {filters};" class Sqlite3Statements: + + # selecting data + SELECT_COMMAND = "SELECT {column_names} FROM {table_name};" + SELECT_BY_PK = "SELECT {column_names} FROM {table_name} WHERE {pk_name} = {pk};" + SELECT_WHERE_COMMAND = "SELECT {column_names} FROM {table_name} WHERE {filters};" + # dropping table DROP_TABLE = "DROP TABLE IF EXISTS {table_name};" # getting tables @@ -27,9 +41,13 @@ class Sqlite3Statements: CREATE_NEW_TABLE_IF_NOT_EXITS = ( "CREATE TABLE IF NOT EXISTS {table_name} ({fields_name});" ) + # insterting INSERT_COMMAND_ONE = ( "INSERT INTO {table_name} ({column_names}) VALUES ({placeholder_values});" ) + INSERT_COMMAND_MANY = ( + "INSERT INTO {table_name} ({column_names}) VALUES ({placeholder_values});" + ) class PgStatements: @@ -56,7 +74,7 @@ class PgStatements: DELETE_ALL_COMMAND = "DELETE FROM {table_name};" # select SELECT_COMMAND = "SELECT {column_names} FROM {table_name};" - SELECT_BY_PK = "SELECT {column_names} FROM {table_name} WHERE {pk_name}={pk};" + SELECT_BY_PK = "SELECT {column_names} FROM {table_name} WHERE {pk_name} = {pk};" SELECT_WHERE_COMMAND = "SELECT {column_names} FROM {table_name} WHERE {filters};" # insert INSERT_COMMAND_ONE = "INSERT INTO {table_name} ({column_names}) VALUES ({placeholder_values}) RETURNING {pk};" diff --git a/dataloom/statements/__init__.py b/dataloom/statements/__init__.py index 883505d..3e93c24 100644 --- a/dataloom/statements/__init__.py +++ b/dataloom/statements/__init__.py @@ -58,6 +58,32 @@ def _get_insert_one_command(self, pk, data) -> tuple[Optional[str], list]: ) return sql, values + def _get_insert_bulk_command(self, data) -> tuple[Optional[str], list]: + placeholder_values, column_names, values = data + if self.dialect == "postgres": + sql = PgStatements.INSERT_COMMAND_MANY.format( + table_name=f'"{self.table_name}"', + column_names=column_names, + placeholder_values=placeholder_values, + ) + elif self.dialect == "mysql": + sql = MySqlStatements.INSERT_COMMAND_MANY.format( + table_name=f"`{self.table_name}`", + column_names=column_names, + placeholder_values=placeholder_values, + ) + elif self.dialect == "sqlite": + sql = Sqlite3Statements.INSERT_COMMAND_MANY.format( + table_name=f"`{self.table_name}`", + column_names=column_names, + placeholder_values=placeholder_values, + ) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql, values + @property def _get_drop_table_command(self) -> Optional[str]: if self.dialect == "postgres": @@ -327,3 +353,78 @@ def _get_create_table_command(self) -> Optional[str]: raise UnsupportedDialectException( "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" ) + + def _get_select_where_command(self, filters: list = [], fields: list = []): + if self.dialect == "postgres": + sql = PgStatements.SELECT_WHERE_COMMAND.format( + column_names=", ".join([f'"{f}"' for f in fields]), + table_name=f'"{self.table_name}"', + filters=" AND ".join(filters), + ) + elif self.dialect == "mysql": + sql = MySqlStatements.SELECT_WHERE_COMMAND.format( + column_names=", ".join([f"`{name}`" for name in fields]), + table_name=f"`{self.table_name}`", + filters=" AND ".join(filters), + ) + elif self.dialect == "sqlite": + sql = Sqlite3Statements.SELECT_WHERE_COMMAND.format( + column_names=", ".join([f"`{name}`" for name in fields]), + table_name=f"`{self.table_name}`", + filters=" AND ".join(filters), + ) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql + + def _get_select_command(self, fields: list = []): + if self.dialect == "postgres": + sql = PgStatements.SELECT_COMMAND.format( + column_names=", ".join([f'"{name}"' for name in fields]), + table_name=f'"{self.table_name}"', + ) + elif self.dialect == "mysql": + sql = MySqlStatements.SELECT_COMMAND.format( + column_names=", ".join([f"`{name}`" for name in fields]), + table_name=f"`{self.table_name}`", + ) + elif self.dialect == "sqlite": + sql = Sqlite3Statements.SELECT_COMMAND.format( + column_names=", ".join([f"`{name}`" for name in fields]), + table_name=f"`{self.table_name}`", + ) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql + + def _get_select_by_pk_command(self, pk_name: str, fields: list = []): + if self.dialect == "postgres": + sql = PgStatements.SELECT_BY_PK.format( + column_names=", ".join([f'"{name}"' for name in fields]), + table_name=f'"{self.table_name}"', + pk_name=pk_name, + pk="%s", + ) + elif self.dialect == "mysql": + sql = MySqlStatements.SELECT_BY_PK.format( + column_names=", ".join([f"`{name}`" for name in fields]), + table_name=f"`{self.table_name}`", + pk_name=pk_name, + pk="%s", + ) + elif self.dialect == "sqlite": + sql = Sqlite3Statements.SELECT_BY_PK.format( + column_names=", ".join([f"`{name}`" for name in fields]), + table_name=f"`{self.table_name}`", + pk_name=pk_name, + pk="?", + ) + else: + raise UnsupportedDialectException( + "The dialect passed is not supported the supported dialects are: {'postgres', 'mysql', 'sqlite'}" + ) + return sql diff --git a/dataloom/tests/mysql/test_insert_mysql.py b/dataloom/tests/mysql/test_insert_mysql.py index f0a6a47..d051ff1 100644 --- a/dataloom/tests/mysql/test_insert_mysql.py +++ b/dataloom/tests/mysql/test_insert_mysql.py @@ -53,3 +53,57 @@ class Post(Model): assert userId == 1 assert post_id == 1 conn.close() + + def test_insetting_multiple_document(self): + from dataloom import ( + Dataloom, + Model, + Column, + PrimaryKeyColumn, + CreatedAtColumn, + UpdatedAtColumn, + TableColumn, + ForeignKeyColumn, + ) + from dataloom.keys import MySQLConfig + from typing import Optional + + mysql_loom = Dataloom( + dialect="mysql", + database=MySQLConfig.database, + password=MySQLConfig.password, + user=MySQLConfig.user, + ) + + class User(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="users") + id = PrimaryKeyColumn(type="int", auto_increment=True) + name = Column(type="text", nullable=False, default="Bob") + username = Column(type="varchar", unique=True, length=255) + + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + + class Post(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="posts") + id = PrimaryKeyColumn( + type="int", auto_increment=True, nullable=False, unique=True + ) + completed = Column(type="boolean", default=False) + title = Column(type="varchar", length=255, nullable=False) + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + # relations + userId = ForeignKeyColumn( + User, type="int", required=True, onDelete="CASCADE", onUpdate="CASCADE" + ) + + conn, _ = mysql_loom.connect_and_sync([Post, User], drop=True, force=True) + user = User(username="@miller") + userId = mysql_loom.insert_one(user) + post = Post(title="What are you doing?", userId=userId) + count = mysql_loom.insert_bulk([post for i in range(5)]) + assert count == 5 + conn.close() diff --git a/dataloom/tests/mysql/test_query_msql.py b/dataloom/tests/mysql/test_query_msql.py new file mode 100644 index 0000000..fe464ba --- /dev/null +++ b/dataloom/tests/mysql/test_query_msql.py @@ -0,0 +1,102 @@ +class TestQueryingMySQL: + def test_querying_data(self): + from dataloom import ( + Dataloom, + Model, + Column, + PrimaryKeyColumn, + CreatedAtColumn, + UpdatedAtColumn, + TableColumn, + ForeignKeyColumn, + ) + from dataloom.keys import MySQLConfig + from typing import Optional + + mysql_loom = Dataloom( + dialect="mysql", + database=MySQLConfig.database, + password=MySQLConfig.password, + user=MySQLConfig.user, + ) + + class User(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="users") + id = PrimaryKeyColumn(type="int", auto_increment=True) + name = Column(type="text", nullable=False, default="Bob") + username = Column(type="varchar", unique=True, length=255) + + @property + def to_dict(self): + return { + "id": self.id, + "name": self.name, + "username": self.username, + } + + class Post(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="posts") + id = PrimaryKeyColumn( + type="int", auto_increment=True, nullable=False, unique=True + ) + completed = Column(type="boolean", default=False) + title = Column(type="varchar", length=255, nullable=False) + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + # relations + userId = ForeignKeyColumn( + User, type="int", required=True, onDelete="CASCADE", onUpdate="CASCADE" + ) + + conn, _ = mysql_loom.connect_and_sync([Post, User], drop=True, force=True) + user = User(username="@miller") + userId = mysql_loom.insert_one(user) + post = Post(title="What are you doing?", userId=userId) + rows = mysql_loom.insert_bulk([post for i in range(5)]) + posts = mysql_loom.find_many(Post, {"id": 1, "userId": 1}) + users = mysql_loom.find_all(User) + me = mysql_loom.find_by_pk(User, 1).to_dict + her = mysql_loom.find_by_pk(User, 2) + many_0 = mysql_loom.find_many(User, {"id": 5}) + many_1 = mysql_loom.find_many(User, {"id": 1}) + many_2 = mysql_loom.find_many(User, {"id": 1, "name": "Crispen"}) + many_3 = mysql_loom.find_many(User, {"id": 5, "username": "@miller"}) + many_4 = mysql_loom.find_many(User, {"name": "Bob", "username": "@miller"}) + + one_0 = mysql_loom.find_one(User, {"id": 5}) + one_1 = mysql_loom.find_one(User, {"id": 1}) + one_2 = mysql_loom.find_one(User, {"id": 1, "name": "Bob"}) + one_3 = mysql_loom.find_one(User, {"id": 5, "username": "@miller"}) + one_4 = mysql_loom.find_one(User, {"name": "Crispen", "username": "@miller"}) + + assert len(users) == 1 + assert len(posts) == 1 + assert len(many_0) == 0 + assert len(many_1) == 1 + assert len(many_2) == 0 + assert len(many_3) == 0 + assert len(many_4) == 1 + assert rows == len(mysql_loom.find_all(Post)) + + assert [u.to_dict for u in users] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + assert [u.to_dict for u in many_0] == [] + assert [u.to_dict for u in many_3] == [] + assert [u.to_dict for u in many_1] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + assert [u.to_dict for u in many_2] == [] + assert [u.to_dict for u in many_4] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + + assert one_0 is None + assert one_3 is None + assert one_1.to_dict == {"id": 1, "name": "Bob", "username": "@miller"} + assert one_2.to_dict == {"id": 1, "name": "Bob", "username": "@miller"} + assert one_4 is None + assert her is None + assert me == {"id": 1, "name": "Bob", "username": "@miller"} + conn.close() diff --git a/dataloom/tests/postgres/test_insert_pg.py b/dataloom/tests/postgres/test_insert_pg.py index 41560e6..90687f0 100644 --- a/dataloom/tests/postgres/test_insert_pg.py +++ b/dataloom/tests/postgres/test_insert_pg.py @@ -54,49 +54,59 @@ class Post(Model): assert post_id == 1 conn.close() - # def test_insetting_multiple_document(self): - # from dataloom.db import Database - # from dataloom.model.column import Column - # from dataloom.model.model import ( - # Model, - # CreatedAtColumn, - # UpdatedAtColumn, - # ForeignKeyColumn, - # PrimaryKeyColumn, - # ) - # from dataloom.keys import password, database, user - - # db = Database(database, password=password, user=user) + def test_insetting_multiple_document(self): + from dataloom import ( + Dataloom, + Model, + Column, + PrimaryKeyColumn, + CreatedAtColumn, + UpdatedAtColumn, + TableColumn, + ForeignKeyColumn, + ) + from dataloom.keys import PgConfig + from typing import Optional - # class User(Model): - # __tablename__ = "users" - # id = PrimaryKeyColumn(type="bigint", nullable=False, auto_increment=True) - # username = Column(type="text", nullable=False) - # name = Column(type="varchar", unique=False, length=255) - # createAt = CreatedAtColumn() - # updatedAt = UpdatedAtColumn() + pg_loom = Dataloom( + dialect="postgres", + database=PgConfig.database, + password=PgConfig.password, + user=PgConfig.user, + ) - # class Post(Model): - # __tablename__ = "posts" + class User(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="users") + id = PrimaryKeyColumn(type="int", auto_increment=True) + name = Column(type="text", nullable=False, default="Bob") + username = Column(type="varchar", unique=True, length=255) - # id = PrimaryKeyColumn(type="bigint", nullable=False, auto_increment=True) - # title = Column(type="text", nullable=False, default="Hello there!!") - # createAt = CreatedAtColumn() - # updatedAt = UpdatedAtColumn() - # userId = ForeignKeyColumn(User, onDelete="CASCADE", onUpdate="CASCADE") + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() - # conn, _ = db.connect_and_sync([User, Post], drop=True, force=True) - # user = User(name="Crispen", username="heyy") - # userId = db.create(user) - # posts = [ - # Post(userId=userId, title="What are you thinking"), - # Post(userId=userId, title="What are you doing?"), - # Post(userId=userId, title="What are we?"), - # ] - # row_count = db.create_bulk(posts) + class Post(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="posts") + id = PrimaryKeyColumn( + type="int", auto_increment=True, nullable=False, unique=True + ) + completed = Column(type="boolean", default=False) + title = Column(type="varchar", length=255, nullable=False) + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + # relations + userId = ForeignKeyColumn( + User, type="int", required=True, onDelete="CASCADE", onUpdate="CASCADE" + ) - # assert row_count == 3 - # conn.close() + conn, _ = pg_loom.connect_and_sync([Post, User], drop=True, force=True) + user = User(username="@miller") + userId = pg_loom.insert_one(user) + post = Post(title="What are you doing?", userId=userId) + count = pg_loom.insert_bulk([post for i in range(5)]) + assert count == 5 + conn.close() # # def test_relational_instances(self): # from dataloom.db import Database diff --git a/dataloom/tests/postgres/test_query_pg.py b/dataloom/tests/postgres/test_query_pg.py new file mode 100644 index 0000000..6e81813 --- /dev/null +++ b/dataloom/tests/postgres/test_query_pg.py @@ -0,0 +1,102 @@ +class TestQueryingPG: + def test_querying_data(self): + from dataloom import ( + Dataloom, + Model, + Column, + PrimaryKeyColumn, + CreatedAtColumn, + UpdatedAtColumn, + TableColumn, + ForeignKeyColumn, + ) + from dataloom.keys import PgConfig + from typing import Optional + + pg_loom = Dataloom( + dialect="postgres", + database=PgConfig.database, + password=PgConfig.password, + user=PgConfig.user, + ) + + class User(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="users") + id = PrimaryKeyColumn(type="int", auto_increment=True) + name = Column(type="text", nullable=False, default="Bob") + username = Column(type="varchar", unique=True, length=255) + + @property + def to_dict(self): + return { + "id": self.id, + "name": self.name, + "username": self.username, + } + + class Post(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="posts") + id = PrimaryKeyColumn( + type="int", auto_increment=True, nullable=False, unique=True + ) + completed = Column(type="boolean", default=False) + title = Column(type="varchar", length=255, nullable=False) + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + # relations + userId = ForeignKeyColumn( + User, type="int", required=True, onDelete="CASCADE", onUpdate="CASCADE" + ) + + conn, _ = pg_loom.connect_and_sync([Post, User], drop=True, force=True) + user = User(username="@miller") + userId = pg_loom.insert_one(user) + post = Post(title="What are you doing?", userId=userId) + rows = pg_loom.insert_bulk([post for i in range(5)]) + posts = pg_loom.find_many(Post, {"id": 1, "userId": 1}) + users = pg_loom.find_all(User) + me = pg_loom.find_by_pk(User, 1).to_dict + her = pg_loom.find_by_pk(User, 2) + many_0 = pg_loom.find_many(User, {"id": 5}) + many_1 = pg_loom.find_many(User, {"id": 1}) + many_2 = pg_loom.find_many(User, {"id": 1, "name": "Crispen"}) + many_3 = pg_loom.find_many(User, {"id": 5, "username": "@miller"}) + many_4 = pg_loom.find_many(User, {"name": "Bob", "username": "@miller"}) + + one_0 = pg_loom.find_one(User, {"id": 5}) + one_1 = pg_loom.find_one(User, {"id": 1}) + one_2 = pg_loom.find_one(User, {"id": 1, "name": "Bob"}) + one_3 = pg_loom.find_one(User, {"id": 5, "username": "@miller"}) + one_4 = pg_loom.find_one(User, {"name": "Crispen", "username": "@miller"}) + + assert len(users) == 1 + assert len(posts) == 1 + assert len(many_0) == 0 + assert len(many_1) == 1 + assert len(many_2) == 0 + assert len(many_3) == 0 + assert len(many_4) == 1 + assert rows == len(pg_loom.find_all(Post)) + + assert [u.to_dict for u in users] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + assert [u.to_dict for u in many_0] == [] + assert [u.to_dict for u in many_3] == [] + assert [u.to_dict for u in many_1] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + assert [u.to_dict for u in many_2] == [] + assert [u.to_dict for u in many_4] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + + assert one_0 is None + assert one_3 is None + assert one_1.to_dict == {"id": 1, "name": "Bob", "username": "@miller"} + assert one_2.to_dict == {"id": 1, "name": "Bob", "username": "@miller"} + assert one_4 is None + assert her is None + assert me == {"id": 1, "name": "Bob", "username": "@miller"} + conn.close() diff --git a/dataloom/tests/sqlite3/test_insert_sqlite.py b/dataloom/tests/sqlite3/test_insert_sqlite.py index fce2531..6c739e4 100644 --- a/dataloom/tests/sqlite3/test_insert_sqlite.py +++ b/dataloom/tests/sqlite3/test_insert_sqlite.py @@ -48,3 +48,51 @@ class Post(Model): assert userId == 1 assert post_id == 1 conn.close() + + def test_insetting_multiple_document(self): + from dataloom import ( + Dataloom, + Model, + Column, + PrimaryKeyColumn, + CreatedAtColumn, + UpdatedAtColumn, + TableColumn, + ForeignKeyColumn, + ) + from typing import Optional + + sqlite_loom = Dataloom(dialect="sqlite", database="hi.db") + + class User(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="users") + id = PrimaryKeyColumn(type="int", auto_increment=True) + name = Column(type="text", nullable=False, default="Bob") + username = Column(type="varchar", unique=True, length=255) + + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + + class Post(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="posts") + id = PrimaryKeyColumn( + type="int", auto_increment=True, nullable=False, unique=True + ) + completed = Column(type="boolean", default=False) + title = Column(type="varchar", length=255, nullable=False) + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + # relations + userId = ForeignKeyColumn( + User, type="int", required=True, onDelete="CASCADE", onUpdate="CASCADE" + ) + + conn, _ = sqlite_loom.connect_and_sync([Post, User], drop=True, force=True) + user = User(username="@miller") + userId = sqlite_loom.insert_one(user) + post = Post(title="What are you doing?", userId=userId) + count = sqlite_loom.insert_bulk([post for i in range(5)]) + assert count == 5 + conn.close() diff --git a/dataloom/tests/sqlite3/test_query_sqlite.py b/dataloom/tests/sqlite3/test_query_sqlite.py new file mode 100644 index 0000000..ff9fd94 --- /dev/null +++ b/dataloom/tests/sqlite3/test_query_sqlite.py @@ -0,0 +1,97 @@ +class TestQueryingSQLite: + def test_querying_data(self): + from dataloom import ( + Dataloom, + Model, + Column, + PrimaryKeyColumn, + CreatedAtColumn, + UpdatedAtColumn, + TableColumn, + ForeignKeyColumn, + ) + + from typing import Optional + + sqlite_loom = Dataloom(dialect="sqlite", database="hi.db") + + class User(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="users") + id = PrimaryKeyColumn(type="int", auto_increment=True) + name = Column(type="text", nullable=False, default="Bob") + username = Column(type="varchar", unique=True, length=255) + + @property + def to_dict(self): + return { + "id": self.id, + "name": self.name, + "username": self.username, + } + + class Post(Model): + __tablename__: Optional[TableColumn] = TableColumn(name="posts") + id = PrimaryKeyColumn( + type="int", auto_increment=True, nullable=False, unique=True + ) + completed = Column(type="boolean", default=False) + title = Column(type="varchar", length=255, nullable=False) + # timestamps + createdAt = CreatedAtColumn() + updatedAt = UpdatedAtColumn() + # relations + userId = ForeignKeyColumn( + User, type="int", required=True, onDelete="CASCADE", onUpdate="CASCADE" + ) + + conn, _ = sqlite_loom.connect_and_sync([Post, User], drop=True, force=True) + user = User(username="@miller") + userId = sqlite_loom.insert_one(user) + post = Post(title="What are you doing?", userId=userId) + rows = sqlite_loom.insert_bulk([post for i in range(5)]) + posts = sqlite_loom.find_many(Post, {"id": 1, "userId": 1}) + users = sqlite_loom.find_all(User) + me = sqlite_loom.find_by_pk(User, 1).to_dict + her = sqlite_loom.find_by_pk(User, 2) + many_0 = sqlite_loom.find_many(User, {"id": 5}) + many_1 = sqlite_loom.find_many(User, {"id": 1}) + many_2 = sqlite_loom.find_many(User, {"id": 1, "name": "Crispen"}) + many_3 = sqlite_loom.find_many(User, {"id": 5, "username": "@miller"}) + many_4 = sqlite_loom.find_many(User, {"name": "Bob", "username": "@miller"}) + + one_0 = sqlite_loom.find_one(User, {"id": 5}) + one_1 = sqlite_loom.find_one(User, {"id": 1}) + one_2 = sqlite_loom.find_one(User, {"id": 1, "name": "Bob"}) + one_3 = sqlite_loom.find_one(User, {"id": 5, "username": "@miller"}) + one_4 = sqlite_loom.find_one(User, {"name": "Crispen", "username": "@miller"}) + + assert len(users) == 1 + assert len(posts) == 1 + assert len(many_0) == 0 + assert len(many_1) == 1 + assert len(many_2) == 0 + assert len(many_3) == 0 + assert len(many_4) == 1 + assert rows == len(sqlite_loom.find_all(Post)) + + assert [u.to_dict for u in users] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + assert [u.to_dict for u in many_0] == [] + assert [u.to_dict for u in many_3] == [] + assert [u.to_dict for u in many_1] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + assert [u.to_dict for u in many_2] == [] + assert [u.to_dict for u in many_4] == [ + {"id": 1, "name": "Bob", "username": "@miller"} + ] + + assert one_0 is None + assert one_3 is None + assert one_1.to_dict == {"id": 1, "name": "Bob", "username": "@miller"} + assert one_2.to_dict == {"id": 1, "name": "Bob", "username": "@miller"} + assert one_4 is None + assert her is None + assert me == {"id": 1, "name": "Bob", "username": "@miller"} + conn.close() diff --git a/dataloom/tests/test_query.py b/dataloom/tests/test_query.py deleted file mode 100644 index 013bdd6..0000000 --- a/dataloom/tests/test_query.py +++ /dev/null @@ -1,70 +0,0 @@ -# class TestQueryingPG: -# def test_querying_data(self): -# from dataloom.db import Database -# from dataloom.model.column import Column, PrimaryKeyColumn -# from dataloom.model.model import Model -# from dataloom.keys import password, database, user - -# db = Database(database, password=password, user=user) -# conn = db.connect() - -# class User(Model): -# __tablename__ = "users" -# id = PrimaryKeyColumn(type="bigint", nullable=False, auto_increment=True) -# username = Column(type="text", nullable=False, default="Hello there!!") -# name = Column( -# type="varchar", -# unique=True, -# length=255, -# ) - -# def __str__(self) -> str: -# return f"User<{self.id}>" - -# def __repr__(self) -> str: -# return f"User<{self.id}>" - -# def to_dict(self): -# return {"id": self.id, "name": self.name, "username": self.username} - -# db.sync([User], drop=True, force=True) - -# user = User(name="Crispen", username="heyy") -# db.create(user) -# users = db.find_all(User) -# me = db.find_by_pk(User, 1).to_dict() -# her = db.find_by_pk(User, 2) -# many_0 = db.find_many(User, {"id": 5}) -# many_1 = db.find_many(User, {"id": 1}) -# many_2 = db.find_many(User, {"id": 1, "name": "Crispen"}) -# many_3 = db.find_many(User, {"id": 5, "username": "hey"}) -# many_4 = db.find_many(User, {"name": "Crispen", "username": "heyy"}) - -# one_0 = db.find_one(User, {"id": 5}) -# one_1 = db.find_one(User, {"id": 1}) -# one_2 = db.find_one(User, {"id": 1, "name": "Crispen"}) -# one_3 = db.find_one(User, {"id": 5, "username": "hey"}) -# one_4 = db.find_one(User, {"name": "Crispen", "username": "heyy"}) - -# assert [u.to_dict() for u in users] == [ -# {"id": 1, "name": "Crispen", "username": "heyy"} -# ] -# assert [u.to_dict() for u in many_0] == [] -# assert [u.to_dict() for u in many_3] == [] -# assert [u.to_dict() for u in many_1] == [ -# {"id": 1, "name": "Crispen", "username": "heyy"} -# ] -# assert [u.to_dict() for u in many_2] == [ -# {"id": 1, "name": "Crispen", "username": "heyy"} -# ] -# assert [u.to_dict() for u in many_4] == [ -# {"id": 1, "name": "Crispen", "username": "heyy"} -# ] - -# assert one_0 is None -# assert one_3 is None -# assert one_1.to_dict() == {"id": 1, "name": "Crispen", "username": "heyy"} -# assert one_2.to_dict() == {"id": 1, "name": "Crispen", "username": "heyy"} -# assert one_4.to_dict() == {"id": 1, "name": "Crispen", "username": "heyy"} -# assert her is None -# conn.close() diff --git a/hi.db b/hi.db index 30298a9a172ea5337cb42081d55657bf99d6ece4..f1073ff81f9d4e5392977e48520197f73b9a0d00 100644 GIT binary patch delta 572 zcmZp8z}WDBae|Z(({Ba_26iBZ0;a5qI!01JQN64SynLJtY&<~>eC|9!d_w$@ymxsw zZfxY>VrhzQjM@B#Cz??msNy8MxVSiDb7o0mQch}VacWU9m|%4da&-)GRS0Q{ZpoYc zhQ|k}tEB?0i&?X!X7WcqB`zbdN_NebY9LpWhtH0I6YLDlmP(+2j95W_aY=E!A(&$3 zn+cVj?9La&15|fFT)c@D=#(^|>GD7`b3lf010|jS9n{3yQaX7GxA$Z{9%1fA<(4Y2 zE1Og&&*pXkiiHbn@&Z+|@@-?_-^X9WZ^ie6Z`)=;fhBxQ4y=<8$g9a%TA3JG8JZax z7@6oA80i`qD;PqB99Re`U?!x138X*@w-uB3$!qA~mgWLEo&N~~{~!Ku{2%yV@juxt zsBnp2gO!<)k(CuhvaozesM{0ydjuk2Fh$?7Z(?2Y_go3!k_9L<{0Gc z;TWV4>gO34>I!rj$gsS`+|&ex5Z8zh1wVfv4)yU-aB+2W4D|_7Q1?j9$;nqJ$w)0q zRa8{h5}9`MU?FfogBf*sAl2xNgh39;-11OEx2 iW&8Lo%oy1igr$v*o$`|$ax-&sQj4(IiA88pfC2z*_IdmO diff --git a/logs.sql b/logs.sql index e69de29..bd4206c 100644 --- a/logs.sql +++ b/logs.sql @@ -0,0 +1,60 @@ +[2024-02-03 16:22:41.298991] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 16:22:41.347509] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 16:22:41.401427] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 16:22:41.451839] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 16:22:41.530973] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 16:22:41.554016] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 16:22:41.582014] : Dataloom[mysql]: INSERT INTO `posts` (`{f}`, `{f}`) VALUES (%s, %s); +[2024-02-03 16:23:59.198854] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 16:23:59.258885] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 16:23:59.340282] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 16:23:59.380278] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 16:23:59.445327] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 16:23:59.469057] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 16:23:59.493153] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 16:24:49.762976] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 16:24:49.834554] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 16:24:49.929516] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 16:24:49.996566] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 16:24:50.099566] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 16:24:50.133572] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 16:24:50.171565] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 17:26:18.075687] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 17:26:18.136275] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:26:18.224626] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 17:26:18.276587] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:26:18.374157] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 17:26:18.398775] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 17:26:18.425783] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 17:26:51.824044] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 17:26:51.888245] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:26:51.969167] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 17:26:52.022986] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:26:52.107600] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 17:26:52.130623] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 17:26:52.155664] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 17:26:52.184635] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM posts; +[2024-02-03 17:40:29.825415] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 17:40:29.902055] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:40:30.049352] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 17:40:30.137907] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:40:30.226954] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 17:40:30.245957] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 17:40:30.268962] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 17:40:30.293421] : Dataloom[mysql]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = %s AND `userId` = %s; +[2024-02-03 20:24:37.413603] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:24:37.496485] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:24:37.621968] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:24:37.699884] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:24:37.786173] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:24:37.821128] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:24:37.861171] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:24:37.906147] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s; +[2024-02-03 20:35:34.679755] : Dataloom[mysql]: DROP TABLE IF EXISTS `posts`; +[2024-02-03 20:35:34.737810] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `title` VARCHAR(255) NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INT NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:35:34.826811] : Dataloom[mysql]: DROP TABLE IF EXISTS `users`; +[2024-02-03 20:35:34.879010] : Dataloom[mysql]: CREATE TABLE IF NOT EXISTS `users` (`id` INT PRIMARY KEY AUTO_INCREMENT UNIQUE NOT NULL, `name` VARCHAR(255) NOT NULL DEFAULT 'Bob', `username` VARCHAR(255) UNIQUE); +[2024-02-03 20:35:34.965357] : Dataloom[mysql]: SHOW TABLES; +[2024-02-03 20:35:34.991419] : Dataloom[mysql]: INSERT INTO `users` (`username`) VALUES (%s); +[2024-02-03 20:35:35.015520] : Dataloom[mysql]: INSERT INTO `posts` (`title`, `userId`) VALUES (%s, %s); +[2024-02-03 20:35:35.047500] : Dataloom[mysql]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = %s AND `name` = %s; diff --git a/playground.py b/playground.py index c90d6d4..932711c 100644 --- a/playground.py +++ b/playground.py @@ -35,18 +35,12 @@ class User(Model): name = Column(type="text", nullable=False, default="Bob") username = Column(type="varchar", unique=True, length=255) - # timestamps - createdAt = CreatedAtColumn() - updatedAt = UpdatedAtColumn() - @property def to_dict(self): return { "id": self.id, "name": self.name, "username": self.username, - "createdAt": self.createdAt, - "updatedAt": self.updatedAt, } @@ -75,14 +69,20 @@ def to_dict(self): } -conn, tables = sqlite_loom.connect_and_sync([Post, User], drop=True, force=True) +conn, tables = pg_loom.connect_and_sync([Post, User], drop=True, force=True) print(tables) user = User(username="@miller") -userId = sqlite_loom.insert_one(user) +userId = pg_loom.insert_one(user) post = Post(title="What are you doing?", userId=userId) -post_id = sqlite_loom.insert_one(post) +post_id = pg_loom.insert_bulk([post for i in range(5)]) + +posts = pg_loom.find_all(Post) + +print(user.to_dict) + +print([p.to_dict for p in posts]) if __name__ == "__main__": diff --git a/sqlite-logs.sql b/sqlite-logs.sql index 06e7851..a359714 100644 --- a/sqlite-logs.sql +++ b/sqlite-logs.sql @@ -74,3 +74,156 @@ [2024-02-03 15:18:58.574733] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; [2024-02-03 15:18:58.603066] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); [2024-02-03 15:18:58.633085] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 15:41:55.986114] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 15:41:56.012324] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 15:41:56.040113] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 15:41:56.066118] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 15:41:56.091118] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 15:41:56.117113] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 15:41:56.154115] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 15:54:51.581639] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 15:54:51.611685] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 15:54:51.642697] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 15:54:51.699827] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 15:54:51.757647] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 15:55:28.470170] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 15:55:28.493404] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 15:55:28.516809] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 15:55:28.547817] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 15:55:28.581816] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 16:25:16.907971] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 16:25:16.934911] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 16:25:16.963540] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 16:25:16.994964] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 16:25:17.026628] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 16:25:17.053582] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 16:25:17.084576] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 16:28:26.530961] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 16:28:26.560988] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 16:28:26.589949] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 16:28:26.619992] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 16:28:26.650401] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 16:28:26.671406] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 16:28:26.702401] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:27:22.181310] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:27:22.210964] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:27:22.241919] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:27:22.278929] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:27:22.308603] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:27:22.331524] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:27:22.362523] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:27:54.136171] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:27:54.164389] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:27:54.188648] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:27:54.218220] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:27:54.244223] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:27:54.266182] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:27:54.300214] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:27:54.339425] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM posts; +[2024-02-03 17:28:38.668713] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:28:38.704727] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:28:38.734733] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:28:38.765732] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:28:38.796912] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:28:38.823505] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:28:38.855506] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:28:38.886631] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM posts; +[2024-02-03 17:31:34.572639] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:31:34.605679] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:31:34.634685] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:31:34.664672] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:31:34.696645] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:31:34.720701] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:31:34.764641] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:32:20.273645] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:32:20.306642] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:32:20.339597] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:32:20.371602] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:32:20.402599] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:32:20.426607] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:32:20.457600] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:32:41.808422] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:32:41.832423] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:32:41.861428] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:32:41.892417] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:32:41.923420] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:32:41.947420] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:32:41.977423] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:33:18.207377] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:33:18.236386] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:33:18.265384] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:33:18.304386] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:33:18.339377] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:33:18.366376] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:33:18.398865] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:33:18.428378] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM posts WHERE `id` = ? AND `userId` = ?; +[2024-02-03 17:40:52.291130] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:40:52.324934] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:40:52.356767] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:40:52.388713] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +[2024-02-03 17:40:52.420713] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:40:52.442762] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:40:52.474752] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:40:52.506734] : Dataloom[sqlite]: SELECT `completed`, `createdAt`, `id`, `title`, `updatedAt`, `userId` FROM `posts` WHERE `id` = ? AND `userId` = ?; +[2024-02-03 17:54:26.969277] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 17:54:27.002265] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 17:54:27.034266] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 17:54:27.144264] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 17:54:27.180267] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 17:54:27.210261] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 17:54:27.235265] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 17:54:27.260260] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:24:58.858300] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:24:58.888217] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:24:58.920219] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:24:58.953226] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:24:58.983149] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:24:59.010222] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:24:59.053186] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:24:59.094208] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:33:19.154103] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:33:19.189107] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:33:19.220110] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:33:19.258117] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:33:19.290167] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:33:19.317794] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:33:19.350764] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:33:45.880596] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:33:45.914861] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:33:45.944929] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:33:45.979892] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:33:46.016013] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:33:46.049978] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:33:46.086023] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:34:23.863128] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:34:23.898167] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:34:23.930173] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:34:23.963743] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:34:23.997756] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:34:24.023711] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:34:24.050728] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:34:24.084140] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ?; +[2024-02-03 20:34:51.709108] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:34:51.744646] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:34:51.777728] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:34:51.811755] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:34:51.844803] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:34:51.873773] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:34:51.910860] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:34:51.946856] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 20:35:01.438918] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:35:01.472919] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:35:01.504890] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:35:01.536895] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:35:01.569333] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:35:01.597337] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:35:01.637345] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:35:01.676233] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users` WHERE `id` = ? AND `name` = ?; +[2024-02-03 20:35:16.022757] : Dataloom[sqlite]: DROP TABLE IF EXISTS posts; +[2024-02-03 20:35:16.058724] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `posts` (`completed` BOOLEAN DEFAULT False, `id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `title` VARCHAR NOT NULL, `createdAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `updatedAt` TIMESTAMP DEFAULT CURRENT_TIMESTAMP, `userId` INTEGER NOT NULL REFERENCES `users`(`id`) ON DELETE CASCADE ON UPDATE CASCADE); +[2024-02-03 20:35:16.088732] : Dataloom[sqlite]: DROP TABLE IF EXISTS users; +[2024-02-03 20:35:16.119780] : Dataloom[sqlite]: CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE NOT NULL, `name` TEXT NOT NULL DEFAULT 'Bob', `username` VARCHAR UNIQUE); +[2024-02-03 20:35:16.152777] : Dataloom[sqlite]: SELECT name FROM sqlite_master WHERE type='table'; +[2024-02-03 20:35:16.177821] : Dataloom[sqlite]: INSERT INTO `users` (`username`) VALUES (?); +[2024-02-03 20:35:16.206488] : Dataloom[sqlite]: INSERT INTO `posts` (`title`, `userId`) VALUES (?, ?); +[2024-02-03 20:35:16.231493] : Dataloom[sqlite]: SELECT `id`, `name`, `username` FROM `users`;