@carbonorm/carbonnode 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +246 -507
- package/dist/api/executors/SqlExecutor.d.ts +6 -0
- package/dist/api/handlers/ExpressHandler.d.ts +2 -1
- package/dist/api/orm/builders/ConditionBuilder.d.ts +2 -0
- package/dist/api/types/ormInterfaces.d.ts +12 -0
- package/dist/api/utils/sqlAllowList.d.ts +2 -0
- package/dist/index.cjs.js +279 -20
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +278 -21
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/scripts/assets/handlebars/C6.test.ts.handlebars +578 -32
- package/scripts/generateRestBindings.cjs +5 -5
- package/scripts/generateRestBindings.ts +5 -5
- package/src/__tests__/fixtures/createTestServer.ts +11 -3
- package/src/__tests__/fixtures/sqlResponses/actor.get.json +13 -0
- package/src/__tests__/fixtures/sqlResponses/sqlAllowList.blocked.json +3 -0
- package/src/__tests__/fixtures/sqlResponses/sqlAllowList.json +3 -0
- package/src/__tests__/sakila-db/C6.js +1 -1
- package/src/__tests__/sakila-db/C6.mysql.cnf +6 -0
- package/src/__tests__/sakila-db/C6.mysqldump.json +1 -0
- package/src/__tests__/sakila-db/C6.mysqldump.sql +720 -0
- package/src/__tests__/sakila-db/C6.sqlAllowList.json +94 -0
- package/src/__tests__/sakila-db/C6.test.ts +578 -32
- package/src/__tests__/sakila-db/C6.ts +1 -1
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.get.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.join.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.post.json +12 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.post.latest.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.put.lookup.json +16 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.actor.seed.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.fk.current.json +358 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.fk.referenced.json +158 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.get.json +22 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.join.json +24 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.post.json +16 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.post.latest.json +22 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.put.lookup.json +24 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.address.seed.json +22 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.get.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.join.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.post.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.post.latest.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.put.lookup.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.category.seed.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.fk.current.json +158 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.fk.referenced.json +133 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.get.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.join.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.post.json +12 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.post.latest.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.put.lookup.json +16 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.city.seed.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.get.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.join.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.post.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.post.latest.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.put.lookup.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.country.seed.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.fk.current.json +283 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.fk.referenced.json +358 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.get.json +19 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.join.json +29 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.post.json +17 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.post.latest.json +19 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.put.lookup.json +21 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.customer.seed.json +19 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.fk.current.json +383 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.fk.referenced.json +38 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.get.json +23 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.join.json +24 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.post.json +20 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.post.latest.json +23 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.put.lookup.json +25 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.film.seed.json +23 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.fk.current.json +158 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.fk.referenced.json +20 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.get.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.join.json +25 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.post.json +12 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.post.latest.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.put.lookup.json +16 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.inventory.seed.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.get.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.join.json +24 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.post.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.post.latest.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.put.lookup.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.language.seed.json +13 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.fk.current.json +233 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.fk.referenced.json +233 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.get.json +17 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.join.json +24 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.post.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.post.latest.json +17 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.put.lookup.json +19 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.payment.seed.json +17 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.delete.json +10 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.delete.lookup.json +9 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.fk.current.json +233 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.fk.referenced.json +34 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.get.json +17 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.join.json +24 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.post.json +15 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.post.latest.json +17 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.put.json +11 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.put.lookup.json +19 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.rental.seed.json +17 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.staff.fk.current.json +34 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.staff.fk.referenced.json +20 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.staff.get.json +21 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.staff.join.json +31 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.staff.seed.json +21 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.store.fk.current.json +20 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.store.fk.referenced.json +34 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.store.get.json +14 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.store.join.json +24 -0
- package/src/__tests__/sakila-db/sqlResponses/C6.store.seed.json +14 -0
- package/src/__tests__/sakila.generated.test.ts +31 -0
- package/src/__tests__/sqlAllowList.test.ts +135 -0
- package/src/__tests__/sqlBuilders.test.ts +17 -0
- package/src/api/executors/SqlExecutor.ts +156 -0
- package/src/api/handlers/ExpressHandler.ts +10 -1
- package/src/api/orm/builders/ConditionBuilder.ts +27 -7
- package/src/api/types/ormInterfaces.ts +15 -0
- package/src/api/utils/sqlAllowList.ts +54 -0
- package/src/index.ts +1 -0
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rest": [
|
|
3
|
+
{
|
|
4
|
+
"film_id": 1,
|
|
5
|
+
"title": "ACADEMY DINOSAUR",
|
|
6
|
+
"description": "A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies",
|
|
7
|
+
"release_year": 2006,
|
|
8
|
+
"language_id": 1,
|
|
9
|
+
"original_language_id": null,
|
|
10
|
+
"rental_duration": 6,
|
|
11
|
+
"rental_rate": "0.99",
|
|
12
|
+
"length": 86,
|
|
13
|
+
"replacement_cost": "20.99",
|
|
14
|
+
"rating": "PG",
|
|
15
|
+
"special_features": "Deleted Scenes,Behind the Scenes",
|
|
16
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"film_id": 2,
|
|
20
|
+
"title": "ACE GOLDFINGER",
|
|
21
|
+
"description": "A Astounding Epistle of a Database Administrator And a Explorer who must Find a Car in Ancient China",
|
|
22
|
+
"release_year": 2006,
|
|
23
|
+
"language_id": 1,
|
|
24
|
+
"original_language_id": null,
|
|
25
|
+
"rental_duration": 3,
|
|
26
|
+
"rental_rate": "4.99",
|
|
27
|
+
"length": 48,
|
|
28
|
+
"replacement_cost": "12.99",
|
|
29
|
+
"rating": "G",
|
|
30
|
+
"special_features": "Trailers,Deleted Scenes",
|
|
31
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"film_id": 3,
|
|
35
|
+
"title": "ADAPTATION HOLES",
|
|
36
|
+
"description": "A Astounding Reflection of a Lumberjack And a Car who must Sink a Lumberjack in A Baloon Factory",
|
|
37
|
+
"release_year": 2006,
|
|
38
|
+
"language_id": 1,
|
|
39
|
+
"original_language_id": null,
|
|
40
|
+
"rental_duration": 7,
|
|
41
|
+
"rental_rate": "2.99",
|
|
42
|
+
"length": 50,
|
|
43
|
+
"replacement_cost": "18.99",
|
|
44
|
+
"rating": "NC-17",
|
|
45
|
+
"special_features": "Trailers,Deleted Scenes",
|
|
46
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"film_id": 4,
|
|
50
|
+
"title": "AFFAIR PREJUDICE",
|
|
51
|
+
"description": "A Fanciful Documentary of a Frisbee And a Lumberjack who must Chase a Monkey in A Shark Tank",
|
|
52
|
+
"release_year": 2006,
|
|
53
|
+
"language_id": 1,
|
|
54
|
+
"original_language_id": null,
|
|
55
|
+
"rental_duration": 5,
|
|
56
|
+
"rental_rate": "2.99",
|
|
57
|
+
"length": 117,
|
|
58
|
+
"replacement_cost": "26.99",
|
|
59
|
+
"rating": "G",
|
|
60
|
+
"special_features": "Commentaries,Behind the Scenes",
|
|
61
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"film_id": 5,
|
|
65
|
+
"title": "AFRICAN EGG",
|
|
66
|
+
"description": "A Fast-Paced Documentary of a Pastry Chef And a Dentist who must Pursue a Forensic Psychologist in The Gulf of Mexico",
|
|
67
|
+
"release_year": 2006,
|
|
68
|
+
"language_id": 1,
|
|
69
|
+
"original_language_id": null,
|
|
70
|
+
"rental_duration": 6,
|
|
71
|
+
"rental_rate": "2.99",
|
|
72
|
+
"length": 130,
|
|
73
|
+
"replacement_cost": "22.99",
|
|
74
|
+
"rating": "G",
|
|
75
|
+
"special_features": "Deleted Scenes",
|
|
76
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"film_id": 6,
|
|
80
|
+
"title": "AGENT TRUMAN",
|
|
81
|
+
"description": "A Intrepid Panorama of a Robot And a Boy who must Escape a Sumo Wrestler in Ancient China",
|
|
82
|
+
"release_year": 2006,
|
|
83
|
+
"language_id": 1,
|
|
84
|
+
"original_language_id": null,
|
|
85
|
+
"rental_duration": 3,
|
|
86
|
+
"rental_rate": "2.99",
|
|
87
|
+
"length": 169,
|
|
88
|
+
"replacement_cost": "17.99",
|
|
89
|
+
"rating": "PG",
|
|
90
|
+
"special_features": "Deleted Scenes",
|
|
91
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"film_id": 7,
|
|
95
|
+
"title": "AIRPLANE SIERRA",
|
|
96
|
+
"description": "A Touching Saga of a Hunter And a Butler who must Discover a Butler in A Jet Boat",
|
|
97
|
+
"release_year": 2006,
|
|
98
|
+
"language_id": 1,
|
|
99
|
+
"original_language_id": null,
|
|
100
|
+
"rental_duration": 6,
|
|
101
|
+
"rental_rate": "4.99",
|
|
102
|
+
"length": 62,
|
|
103
|
+
"replacement_cost": "28.99",
|
|
104
|
+
"rating": "PG-13",
|
|
105
|
+
"special_features": "Trailers,Deleted Scenes",
|
|
106
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"film_id": 8,
|
|
110
|
+
"title": "AIRPORT POLLOCK",
|
|
111
|
+
"description": "A Epic Tale of a Moose And a Girl who must Confront a Monkey in Ancient India",
|
|
112
|
+
"release_year": 2006,
|
|
113
|
+
"language_id": 1,
|
|
114
|
+
"original_language_id": null,
|
|
115
|
+
"rental_duration": 6,
|
|
116
|
+
"rental_rate": "4.99",
|
|
117
|
+
"length": 54,
|
|
118
|
+
"replacement_cost": "15.99",
|
|
119
|
+
"rating": "R",
|
|
120
|
+
"special_features": "Trailers",
|
|
121
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"film_id": 9,
|
|
125
|
+
"title": "ALABAMA DEVIL",
|
|
126
|
+
"description": "A Thoughtful Panorama of a Database Administrator And a Mad Scientist who must Outgun a Mad Scientist in A Jet Boat",
|
|
127
|
+
"release_year": 2006,
|
|
128
|
+
"language_id": 1,
|
|
129
|
+
"original_language_id": null,
|
|
130
|
+
"rental_duration": 3,
|
|
131
|
+
"rental_rate": "2.99",
|
|
132
|
+
"length": 114,
|
|
133
|
+
"replacement_cost": "21.99",
|
|
134
|
+
"rating": "PG-13",
|
|
135
|
+
"special_features": "Trailers,Deleted Scenes",
|
|
136
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"film_id": 10,
|
|
140
|
+
"title": "ALADDIN CALENDAR",
|
|
141
|
+
"description": "A Action-Packed Tale of a Man And a Lumberjack who must Reach a Feminist in Ancient China",
|
|
142
|
+
"release_year": 2006,
|
|
143
|
+
"language_id": 1,
|
|
144
|
+
"original_language_id": null,
|
|
145
|
+
"rental_duration": 6,
|
|
146
|
+
"rental_rate": "4.99",
|
|
147
|
+
"length": 63,
|
|
148
|
+
"replacement_cost": "24.99",
|
|
149
|
+
"rating": "NC-17",
|
|
150
|
+
"special_features": "Trailers,Deleted Scenes",
|
|
151
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"film_id": 11,
|
|
155
|
+
"title": "ALAMO VIDEOTAPE",
|
|
156
|
+
"description": "A Boring Epistle of a Butler And a Cat who must Fight a Pastry Chef in A MySQL Convention",
|
|
157
|
+
"release_year": 2006,
|
|
158
|
+
"language_id": 1,
|
|
159
|
+
"original_language_id": null,
|
|
160
|
+
"rental_duration": 6,
|
|
161
|
+
"rental_rate": "0.99",
|
|
162
|
+
"length": 126,
|
|
163
|
+
"replacement_cost": "16.99",
|
|
164
|
+
"rating": "G",
|
|
165
|
+
"special_features": "Commentaries,Behind the Scenes",
|
|
166
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"film_id": 12,
|
|
170
|
+
"title": "ALASKA PHANTOM",
|
|
171
|
+
"description": "A Fanciful Saga of a Hunter And a Pastry Chef who must Vanquish a Boy in Australia",
|
|
172
|
+
"release_year": 2006,
|
|
173
|
+
"language_id": 1,
|
|
174
|
+
"original_language_id": null,
|
|
175
|
+
"rental_duration": 6,
|
|
176
|
+
"rental_rate": "0.99",
|
|
177
|
+
"length": 136,
|
|
178
|
+
"replacement_cost": "22.99",
|
|
179
|
+
"rating": "PG",
|
|
180
|
+
"special_features": "Commentaries,Deleted Scenes",
|
|
181
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"film_id": 13,
|
|
185
|
+
"title": "ALI FOREVER",
|
|
186
|
+
"description": "A Action-Packed Drama of a Dentist And a Crocodile who must Battle a Feminist in The Canadian Rockies",
|
|
187
|
+
"release_year": 2006,
|
|
188
|
+
"language_id": 1,
|
|
189
|
+
"original_language_id": null,
|
|
190
|
+
"rental_duration": 4,
|
|
191
|
+
"rental_rate": "4.99",
|
|
192
|
+
"length": 150,
|
|
193
|
+
"replacement_cost": "21.99",
|
|
194
|
+
"rating": "PG",
|
|
195
|
+
"special_features": "Deleted Scenes,Behind the Scenes",
|
|
196
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"film_id": 14,
|
|
200
|
+
"title": "ALICE FANTASIA",
|
|
201
|
+
"description": "A Emotional Drama of a A Shark And a Database Administrator who must Vanquish a Pioneer in Soviet Georgia",
|
|
202
|
+
"release_year": 2006,
|
|
203
|
+
"language_id": 1,
|
|
204
|
+
"original_language_id": null,
|
|
205
|
+
"rental_duration": 6,
|
|
206
|
+
"rental_rate": "0.99",
|
|
207
|
+
"length": 94,
|
|
208
|
+
"replacement_cost": "23.99",
|
|
209
|
+
"rating": "NC-17",
|
|
210
|
+
"special_features": "Trailers,Deleted Scenes,Behind the Scenes",
|
|
211
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"film_id": 15,
|
|
215
|
+
"title": "ALIEN CENTER",
|
|
216
|
+
"description": "A Brilliant Drama of a Cat And a Mad Scientist who must Battle a Feminist in A MySQL Convention",
|
|
217
|
+
"release_year": 2006,
|
|
218
|
+
"language_id": 1,
|
|
219
|
+
"original_language_id": null,
|
|
220
|
+
"rental_duration": 5,
|
|
221
|
+
"rental_rate": "2.99",
|
|
222
|
+
"length": 46,
|
|
223
|
+
"replacement_cost": "10.99",
|
|
224
|
+
"rating": "NC-17",
|
|
225
|
+
"special_features": "Trailers,Commentaries,Behind the Scenes",
|
|
226
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"film_id": 16,
|
|
230
|
+
"title": "ALLEY EVOLUTION",
|
|
231
|
+
"description": "A Fast-Paced Drama of a Robot And a Composer who must Battle a Astronaut in New Orleans",
|
|
232
|
+
"release_year": 2006,
|
|
233
|
+
"language_id": 1,
|
|
234
|
+
"original_language_id": null,
|
|
235
|
+
"rental_duration": 6,
|
|
236
|
+
"rental_rate": "2.99",
|
|
237
|
+
"length": 180,
|
|
238
|
+
"replacement_cost": "23.99",
|
|
239
|
+
"rating": "NC-17",
|
|
240
|
+
"special_features": "Trailers,Commentaries",
|
|
241
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"film_id": 17,
|
|
245
|
+
"title": "ALONE TRIP",
|
|
246
|
+
"description": "A Fast-Paced Character Study of a Composer And a Dog who must Outgun a Boat in An Abandoned Fun House",
|
|
247
|
+
"release_year": 2006,
|
|
248
|
+
"language_id": 1,
|
|
249
|
+
"original_language_id": null,
|
|
250
|
+
"rental_duration": 3,
|
|
251
|
+
"rental_rate": "0.99",
|
|
252
|
+
"length": 82,
|
|
253
|
+
"replacement_cost": "14.99",
|
|
254
|
+
"rating": "R",
|
|
255
|
+
"special_features": "Trailers,Behind the Scenes",
|
|
256
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"film_id": 18,
|
|
260
|
+
"title": "ALTER VICTORY",
|
|
261
|
+
"description": "A Thoughtful Drama of a Composer And a Feminist who must Meet a Secret Agent in The Canadian Rockies",
|
|
262
|
+
"release_year": 2006,
|
|
263
|
+
"language_id": 1,
|
|
264
|
+
"original_language_id": null,
|
|
265
|
+
"rental_duration": 6,
|
|
266
|
+
"rental_rate": "0.99",
|
|
267
|
+
"length": 57,
|
|
268
|
+
"replacement_cost": "27.99",
|
|
269
|
+
"rating": "PG-13",
|
|
270
|
+
"special_features": "Trailers,Behind the Scenes",
|
|
271
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"film_id": 19,
|
|
275
|
+
"title": "AMADEUS HOLY",
|
|
276
|
+
"description": "A Emotional Display of a Pioneer And a Technical Writer who must Battle a Man in A Baloon",
|
|
277
|
+
"release_year": 2006,
|
|
278
|
+
"language_id": 1,
|
|
279
|
+
"original_language_id": null,
|
|
280
|
+
"rental_duration": 6,
|
|
281
|
+
"rental_rate": "0.99",
|
|
282
|
+
"length": 113,
|
|
283
|
+
"replacement_cost": "20.99",
|
|
284
|
+
"rating": "PG",
|
|
285
|
+
"special_features": "Commentaries,Deleted Scenes,Behind the Scenes",
|
|
286
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"film_id": 20,
|
|
290
|
+
"title": "AMELIE HELLFIGHTERS",
|
|
291
|
+
"description": "A Boring Drama of a Woman And a Squirrel who must Conquer a Student in A Baloon",
|
|
292
|
+
"release_year": 2006,
|
|
293
|
+
"language_id": 1,
|
|
294
|
+
"original_language_id": null,
|
|
295
|
+
"rental_duration": 4,
|
|
296
|
+
"rental_rate": "4.99",
|
|
297
|
+
"length": 79,
|
|
298
|
+
"replacement_cost": "23.99",
|
|
299
|
+
"rating": "R",
|
|
300
|
+
"special_features": "Commentaries,Deleted Scenes,Behind the Scenes",
|
|
301
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"film_id": 21,
|
|
305
|
+
"title": "AMERICAN CIRCUS",
|
|
306
|
+
"description": "A Insightful Drama of a Girl And a Astronaut who must Face a Database Administrator in A Shark Tank",
|
|
307
|
+
"release_year": 2006,
|
|
308
|
+
"language_id": 1,
|
|
309
|
+
"original_language_id": null,
|
|
310
|
+
"rental_duration": 3,
|
|
311
|
+
"rental_rate": "4.99",
|
|
312
|
+
"length": 129,
|
|
313
|
+
"replacement_cost": "17.99",
|
|
314
|
+
"rating": "R",
|
|
315
|
+
"special_features": "Commentaries,Behind the Scenes",
|
|
316
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"film_id": 22,
|
|
320
|
+
"title": "AMISTAD MIDSUMMER",
|
|
321
|
+
"description": "A Emotional Character Study of a Dentist And a Crocodile who must Meet a Sumo Wrestler in California",
|
|
322
|
+
"release_year": 2006,
|
|
323
|
+
"language_id": 1,
|
|
324
|
+
"original_language_id": null,
|
|
325
|
+
"rental_duration": 6,
|
|
326
|
+
"rental_rate": "2.99",
|
|
327
|
+
"length": 85,
|
|
328
|
+
"replacement_cost": "10.99",
|
|
329
|
+
"rating": "G",
|
|
330
|
+
"special_features": "Commentaries,Behind the Scenes",
|
|
331
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"film_id": 23,
|
|
335
|
+
"title": "ANACONDA CONFESSIONS",
|
|
336
|
+
"description": "A Lacklusture Display of a Dentist And a Dentist who must Fight a Girl in Australia",
|
|
337
|
+
"release_year": 2006,
|
|
338
|
+
"language_id": 1,
|
|
339
|
+
"original_language_id": null,
|
|
340
|
+
"rental_duration": 3,
|
|
341
|
+
"rental_rate": "0.99",
|
|
342
|
+
"length": 92,
|
|
343
|
+
"replacement_cost": "9.99",
|
|
344
|
+
"rating": "R",
|
|
345
|
+
"special_features": "Trailers,Deleted Scenes",
|
|
346
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"film_id": 24,
|
|
350
|
+
"title": "ANALYZE HOOSIERS",
|
|
351
|
+
"description": "A Thoughtful Display of a Explorer And a Pastry Chef who must Overcome a Feminist in The Sahara Desert",
|
|
352
|
+
"release_year": 2006,
|
|
353
|
+
"language_id": 1,
|
|
354
|
+
"original_language_id": null,
|
|
355
|
+
"rental_duration": 6,
|
|
356
|
+
"rental_rate": "2.99",
|
|
357
|
+
"length": 181,
|
|
358
|
+
"replacement_cost": "19.99",
|
|
359
|
+
"rating": "R",
|
|
360
|
+
"special_features": "Trailers,Behind the Scenes",
|
|
361
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"film_id": 25,
|
|
365
|
+
"title": "ANGELS LIFE",
|
|
366
|
+
"description": "A Thoughtful Display of a Woman And a Astronaut who must Battle a Robot in Berlin",
|
|
367
|
+
"release_year": 2006,
|
|
368
|
+
"language_id": 1,
|
|
369
|
+
"original_language_id": null,
|
|
370
|
+
"rental_duration": 3,
|
|
371
|
+
"rental_rate": "2.99",
|
|
372
|
+
"length": 74,
|
|
373
|
+
"replacement_cost": "15.99",
|
|
374
|
+
"rating": "G",
|
|
375
|
+
"special_features": "Trailers",
|
|
376
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"sql": {
|
|
380
|
+
"sql": "SELECT * FROM `film` LIMIT 25",
|
|
381
|
+
"values": []
|
|
382
|
+
}
|
|
383
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rest": [
|
|
3
|
+
{
|
|
4
|
+
"language_id": 1,
|
|
5
|
+
"name": "English",
|
|
6
|
+
"last_update": "2006-02-15T05:02:19.000Z"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"language_id": 2,
|
|
10
|
+
"name": "Italian",
|
|
11
|
+
"last_update": "2006-02-15T05:02:19.000Z"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"language_id": 3,
|
|
15
|
+
"name": "Japanese",
|
|
16
|
+
"last_update": "2006-02-15T05:02:19.000Z"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"language_id": 4,
|
|
20
|
+
"name": "Mandarin",
|
|
21
|
+
"last_update": "2006-02-15T05:02:19.000Z"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"language_id": 5,
|
|
25
|
+
"name": "French",
|
|
26
|
+
"last_update": "2006-02-15T05:02:19.000Z"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"language_id": 6,
|
|
30
|
+
"name": "German",
|
|
31
|
+
"last_update": "2006-02-15T05:02:19.000Z"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"sql": {
|
|
35
|
+
"sql": "SELECT * FROM `language` LIMIT 25",
|
|
36
|
+
"values": []
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rest": [
|
|
3
|
+
{
|
|
4
|
+
"film_id": 1,
|
|
5
|
+
"title": "ACADEMY DINOSAUR",
|
|
6
|
+
"description": "A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies",
|
|
7
|
+
"release_year": 2006,
|
|
8
|
+
"language_id": 1,
|
|
9
|
+
"original_language_id": null,
|
|
10
|
+
"rental_duration": 6,
|
|
11
|
+
"rental_rate": "0.99",
|
|
12
|
+
"length": 86,
|
|
13
|
+
"replacement_cost": "20.99",
|
|
14
|
+
"rating": "PG",
|
|
15
|
+
"special_features": "Deleted Scenes,Behind the Scenes",
|
|
16
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"sql": {
|
|
20
|
+
"sql": "SELECT * FROM `film` LIMIT 1",
|
|
21
|
+
"values": []
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rest": [
|
|
3
|
+
{
|
|
4
|
+
"film_id": 1,
|
|
5
|
+
"title": "ACADEMY DINOSAUR",
|
|
6
|
+
"description": "A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies",
|
|
7
|
+
"release_year": 2006,
|
|
8
|
+
"language_id": 1,
|
|
9
|
+
"original_language_id": null,
|
|
10
|
+
"rental_duration": 6,
|
|
11
|
+
"rental_rate": "0.99",
|
|
12
|
+
"length": 86,
|
|
13
|
+
"replacement_cost": "20.99",
|
|
14
|
+
"rating": "PG",
|
|
15
|
+
"special_features": "Deleted Scenes,Behind the Scenes",
|
|
16
|
+
"last_update": "2006-02-15T05:02:19.000Z",
|
|
17
|
+
"name": "English"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"sql": {
|
|
21
|
+
"sql": "SELECT * FROM `film` INNER JOIN `language` AS `language_ref` ON ((language_ref.language_id) = film.language_id) LIMIT 1",
|
|
22
|
+
"values": []
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"affected": 1,
|
|
3
|
+
"rest": [],
|
|
4
|
+
"sql": {
|
|
5
|
+
"sql": "INSERT INTO `film` (\n `title`, `release_year`, `language_id`, `original_language_id`, `rental_duration`, `rental_rate`, `length`, `replacement_cost`, `rating`, `special_features`, `last_update`\n ) VALUES (\n ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?\n )",
|
|
6
|
+
"values": [
|
|
7
|
+
"title_1769217096055",
|
|
8
|
+
2026,
|
|
9
|
+
2,
|
|
10
|
+
1,
|
|
11
|
+
7,
|
|
12
|
+
1,
|
|
13
|
+
87,
|
|
14
|
+
1,
|
|
15
|
+
"PG",
|
|
16
|
+
"Deleted Scenes,Behind the Scenes",
|
|
17
|
+
"2026-01-24 01:11:36"
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rest": [
|
|
3
|
+
{
|
|
4
|
+
"film_id": 1001,
|
|
5
|
+
"title": "title_1769217096055",
|
|
6
|
+
"description": null,
|
|
7
|
+
"release_year": 2026,
|
|
8
|
+
"language_id": 2,
|
|
9
|
+
"original_language_id": 1,
|
|
10
|
+
"rental_duration": 7,
|
|
11
|
+
"rental_rate": "1.00",
|
|
12
|
+
"length": 87,
|
|
13
|
+
"replacement_cost": "1.00",
|
|
14
|
+
"rating": "PG",
|
|
15
|
+
"special_features": "Deleted Scenes,Behind the Scenes",
|
|
16
|
+
"last_update": "2026-01-24T01:11:36.000Z"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"sql": {
|
|
20
|
+
"sql": "SELECT * FROM `film` ORDER BY film.film_id DESC LIMIT 1",
|
|
21
|
+
"values": []
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rest": [
|
|
3
|
+
{
|
|
4
|
+
"film_id": 1001,
|
|
5
|
+
"title": "title_updated_1769217096093",
|
|
6
|
+
"description": null,
|
|
7
|
+
"release_year": 2026,
|
|
8
|
+
"language_id": 2,
|
|
9
|
+
"original_language_id": 1,
|
|
10
|
+
"rental_duration": 7,
|
|
11
|
+
"rental_rate": "1.00",
|
|
12
|
+
"length": 87,
|
|
13
|
+
"replacement_cost": "1.00",
|
|
14
|
+
"rating": "PG",
|
|
15
|
+
"special_features": "Deleted Scenes,Behind the Scenes",
|
|
16
|
+
"last_update": "2026-01-24T01:11:36.000Z"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"sql": {
|
|
20
|
+
"sql": "SELECT * FROM `film` WHERE (film.film_id) = ? LIMIT 100",
|
|
21
|
+
"values": [
|
|
22
|
+
1001
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rest": [
|
|
3
|
+
{
|
|
4
|
+
"film_id": 1,
|
|
5
|
+
"title": "ACADEMY DINOSAUR",
|
|
6
|
+
"description": "A Epic Drama of a Feminist And a Mad Scientist who must Battle a Teacher in The Canadian Rockies",
|
|
7
|
+
"release_year": 2006,
|
|
8
|
+
"language_id": 1,
|
|
9
|
+
"original_language_id": null,
|
|
10
|
+
"rental_duration": 6,
|
|
11
|
+
"rental_rate": "0.99",
|
|
12
|
+
"length": 86,
|
|
13
|
+
"replacement_cost": "20.99",
|
|
14
|
+
"rating": "PG",
|
|
15
|
+
"special_features": "Deleted Scenes,Behind the Scenes",
|
|
16
|
+
"last_update": "2006-02-15T05:03:42.000Z"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"sql": {
|
|
20
|
+
"sql": "SELECT * FROM `film` LIMIT 1",
|
|
21
|
+
"values": []
|
|
22
|
+
}
|
|
23
|
+
}
|