lambdaorm
Version:
1 lines • 72.9 kB
JavaScript
'use strict';const a162z=a162y;(function(s,y){const r=a162y,g=s();while(!![]){try{const x=-parseInt(r(0x265))/0x1+parseInt(r(0x1f7))/0x2+-parseInt(r(0x222))/0x3*(-parseInt(r(0x225))/0x4)+-parseInt(r(0x1f8))/0x5*(parseInt(r(0x241))/0x6)+parseInt(r(0x1ed))/0x7*(parseInt(r(0x268))/0x8)+parseInt(r(0x270))/0x9+parseInt(r(0x25a))/0xa*(-parseInt(r(0x1fb))/0xb);if(x===y)break;else g['push'](g['shift']());}catch(m){g['push'](g['shift']());}}}(a162s,0xdc332));var __awaiter=this&&this[a162z(0x21e)]||function(s,y,P,g){function x(m){return m instanceof P?m:new P(function(w){w(m);});}return new(P||(P=Promise))(function(m,w){const p=a162y;function t(c){const d=a162y;try{a(g[d(0x248)](c));}catch(k){w(k);}}function v(c){const i=a162y;try{a(g[i(0x257)](c));}catch(k){w(k);}}function a(c){const o=a162y;c[o(0x1fd)]?m(c[o(0x258)]):x(c[o(0x258)])[o(0x25b)](t,v);}a((g=g['apply'](s,y||[]))[p(0x248)]());});};Object['defineProperty'](exports,'__esModule',{'value':!![]});const __1=require(a162z(0x1f6));function a162s(){const h=['953864GfqNYe','Orders.details[]','Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{p:p,product:p.product,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)))','SELECT\x20o.OrderID\x20AS\x20id,\x20o.CustomerID\x20AS\x20customerId,\x20o.EmployeeID\x20AS\x20employeeId,\x20o.OrderDate\x20AS\x20orderDate,\x20o.RequiredDate\x20AS\x20requiredDate,\x20o.ShippedDate\x20AS\x20shippedDate,\x20o.ShipVia\x20AS\x20shipViaId,\x20o.Freight\x20AS\x20freight,\x20o.ShipName\x20AS\x20name,\x20o.ShipAddress\x20AS\x20address,\x20o.ShipCity\x20AS\x20city,\x20o.ShipRegion\x20AS\x20region,\x20o.ShipPostalCode\x20AS\x20postalCode,\x20o.ShipCountry\x20AS\x20country,\x20o.CustomerID\x20AS\x20`__customerId`\x20FROM\x20Orders\x20o\x20\x20WHERE\x20o.OrderID\x20=\x20?\x20','__customerId','customer.region','shipViaId','customer.country','1989288tCyiwD','__id','customer.address','SELECT\x20o1.OrderID\x20AS\x20orderId,\x20o1.ProductID\x20AS\x20productId,\x20o1.UnitPrice\x20AS\x20unitPrice,\x20o1.Quantity\x20AS\x20quantity,\x20o1.Discount\x20AS\x20discount,\x20p.ProductID\x20AS\x20`product.id`,\x20p.ProductName\x20AS\x20`product.name`,\x20p.SupplierID\x20AS\x20`product.supplierId`,\x20p.CategoryID\x20AS\x20`product.categoryId`,\x20p.QuantityPerUnit\x20AS\x20`product.quantity`,\x20p.UnitPrice\x20AS\x20`product.price`,\x20p.UnitsInStock\x20AS\x20`product.inStock`,\x20p.UnitsOnOrder\x20AS\x20`product.onOrder`,\x20p.ReorderLevel\x20AS\x20`product.reorderLevel`,\x20p.Discontinued\x20AS\x20`product.discontinued`,\x20c.CategoryID\x20AS\x20`product.category.id`,\x20c.CategoryName\x20AS\x20`product.category.name`,\x20c.Description\x20AS\x20`product.category.description`,\x20o1.OrderID\x20AS\x20LambdaOrmParentId\x20FROM\x20`Order\x20Details`\x20o1\x20INNER\x20JOIN\x20Products\x20p\x20ON\x20p.ProductID\x20=\x20o1.ProductID\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20\x20o1.OrderID\x20IN\x20(?)\x20','product.inStock','plan','SELECT\x20o1.OrderID\x20AS\x20orderId,\x20o1.ProductID\x20AS\x20productId,\x20o1.UnitPrice\x20AS\x20unitPrice,\x20o1.Quantity\x20AS\x20quantity,\x20o1.Discount\x20AS\x20discount,\x20p.ProductID\x20AS\x20`product.id`,\x20p.ProductName\x20AS\x20`product.name`,\x20p.SupplierID\x20AS\x20`product.supplierId`,\x20p.CategoryID\x20AS\x20`product.categoryId`,\x20p.QuantityPerUnit\x20AS\x20`product.quantity`,\x20p.UnitPrice\x20AS\x20`product.price`,\x20p.UnitsInStock\x20AS\x20`product.inStock`,\x20p.UnitsOnOrder\x20AS\x20`product.onOrder`,\x20p.ReorderLevel\x20AS\x20`product.reorderLevel`,\x20p.Discontinued\x20AS\x20`product.discontinued`,\x20c1.CategoryID\x20AS\x20`product.category.id`,\x20c1.CategoryName\x20AS\x20`product.category.name`,\x20c1.Description\x20AS\x20`product.category.description`,\x20o1.OrderID\x20AS\x20LambdaOrmParentId\x20FROM\x20`Order\x20Details`\x20o1\x20INNER\x20JOIN\x20Products\x20p\x20ON\x20p.ProductID\x20=\x20o1.ProductID\x20INNER\x20JOIN\x20Categories\x20c1\x20ON\x20c1.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20\x20o1.OrderID\x20IN\x20(?)\x20','freight','product.id','77tjMGxx','contact','Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id,__customerId:p.customerId}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{quantity:p.quantity,unitPrice:p.unitPrice,productId:p.productId,__productId:p.productId,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)).include(q=>q.product.map(p=>{id:p.id,name:p.name,supplierId:p.supplierId,categoryId:p.categoryId,quantity:p.quantity,price:p.price,inStock:p.inStock,onOrder:p.onOrder,reorderLevel:p.reorderLevel,discontinued:p.discontinued,LambdaOrmParentId:p.id}).filter(p=>in(p.id,LambdaOrmParentId))))','decimal','categoryId','orm','date','details','MySQL','../../../..','1077230aMsQyf','65ikuSnK','LambdaOrmParentId','Categories','20867hkHHTT','Orders.details','done','shippedDate','product.reorderLevel','dateTime','string','SELECT\x20o1.OrderID\x20AS\x20orderId,\x20o1.ProductID\x20AS\x20productId,\x20o1.UnitPrice\x20AS\x20unitPrice,\x20o1.Quantity\x20AS\x20quantity,\x20o1.Discount\x20AS\x20discount,\x20p.ProductID\x20AS\x20`product.id`,\x20p.ProductName\x20AS\x20`product.name`,\x20p.SupplierID\x20AS\x20`product.supplierId`,\x20p.CategoryID\x20AS\x20`product.categoryId`,\x20p.QuantityPerUnit\x20AS\x20`product.quantity`,\x20p.UnitPrice\x20AS\x20`product.price`,\x20p.UnitsInStock\x20AS\x20`product.inStock`,\x20p.UnitsOnOrder\x20AS\x20`product.onOrder`,\x20p.ReorderLevel\x20AS\x20`product.reorderLevel`,\x20p.Discontinued\x20AS\x20`product.discontinued`,\x20o1.OrderID\x20AS\x20LambdaOrmParentId\x20FROM\x20`Order\x20Details`\x20o1\x20INNER\x20JOIN\x20Products\x20p\x20ON\x20p.ProductID\x20=\x20o1.ProductID\x20WHERE\x20\x20o1.OrderID\x20IN\x20(?)\x20','employeeId','SELECT\x20c.CustomerID\x20AS\x20id,\x20c.CompanyName\x20AS\x20name,\x20c.ContactName\x20AS\x20contact,\x20c.ContactTitle\x20AS\x20phone,\x20c.Address\x20AS\x20address,\x20c.City\x20AS\x20city,\x20c.Region\x20AS\x20region,\x20c.PostalCode\x20AS\x20postalCode,\x20c.Country\x20AS\x20country,\x20c.CustomerID\x20AS\x20LambdaOrmParentId\x20FROM\x20Customers\x20c\x20\x20WHERE\x20\x20c.CustomerID\x20IN\x20(?)\x20','discontinued','product','requiredDate','integer','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product).map(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20unitPrice:\x20p.unitPrice,\x20productId:\x20p.productId\x20})),\x20p.customer])','product.supplierId','description','Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__customerId:p.customerId}).filter(p=>(p.id==id)).include(p=>p.customer.map(p=>{id:p.id,name:p.name,contact:p.contact,phone:p.phone,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,LambdaOrmParentId:p.id}).filter(p=>in(p.id,LambdaOrmParentId)))','./config/northwind.yaml','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p=>\x20p.details.map(p=>\x20[p,p.product]))','product.categoryId','SELECT\x20o.OrderID\x20AS\x20id,\x20o.CustomerID\x20AS\x20customerId,\x20o.EmployeeID\x20AS\x20employeeId,\x20o.OrderDate\x20AS\x20orderDate,\x20o.RequiredDate\x20AS\x20requiredDate,\x20o.ShippedDate\x20AS\x20shippedDate,\x20o.ShipVia\x20AS\x20shipViaId,\x20o.Freight\x20AS\x20freight,\x20o.ShipName\x20AS\x20name,\x20o.ShipAddress\x20AS\x20address,\x20o.ShipCity\x20AS\x20city,\x20o.ShipRegion\x20AS\x20region,\x20o.ShipPostalCode\x20AS\x20postalCode,\x20o.ShipCountry\x20AS\x20country,\x20o.CustomerID\x20AS\x20`__customerId`,\x20o.OrderID\x20AS\x20`__id`\x20FROM\x20Orders\x20o\x20\x20WHERE\x20o.OrderID\x20=\x20?\x20','customer.phone','Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id,__customerId:p.customerId}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{orderId:p.orderId,productId:p.productId,unitPrice:p.unitPrice,quantity:p.quantity,discount:p.discount,__productId:p.productId,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)).include(q=>q.product.map(p=>{id:p.id,name:p.name,supplierId:p.supplierId,categoryId:p.categoryId,quantity:p.quantity,price:p.price,inStock:p.inStock,onOrder:p.onOrder,reorderLevel:p.reorderLevel,discontinued:p.discontinued,__categoryId:p.categoryId,LambdaOrmParentId:p.id}).filter(p=>in(p.id,LambdaOrmParentId)).include(p=>p.category.map(p=>{id:p.id,name:p.name,description:p.description,LambdaOrmParentId:p.id}).filter(p=>in(p.id,LambdaOrmParentId)))))','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p=>\x20p.details.map(p=>\x20[p,p.product,p.product.category])).map(p=>\x20[p,p.customer])','constraints','customer.id','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.customer.map(p\x20=>\x20p.name),\x20p.details.include(p\x20=>\x20p.product.include(p\x20=>\x20p.category.map(p\x20=>\x20p.name)).map(p\x20=>\x20p.name)).map(p\x20=>\x20[p.quantity,\x20p.unitPrice])])','orderId','SELECT\x20p.ProductID\x20AS\x20id,\x20p.ProductName\x20AS\x20name,\x20p.SupplierID\x20AS\x20supplierId,\x20p.CategoryID\x20AS\x20categoryId,\x20p.QuantityPerUnit\x20AS\x20quantity,\x20p.UnitPrice\x20AS\x20price,\x20p.UnitsInStock\x20AS\x20inStock,\x20p.UnitsOnOrder\x20AS\x20onOrder,\x20p.ReorderLevel\x20AS\x20reorderLevel,\x20p.Discontinued\x20AS\x20discontinued,\x20p.CategoryID\x20AS\x20`__categoryId`,\x20p.ProductID\x20AS\x20LambdaOrmParentId\x20FROM\x20Products\x20p\x20\x20WHERE\x20\x20p.ProductID\x20IN\x20(?)\x20','onOrder','Orders.map(p=>{p:p,customer:p.customer,__id:p.id}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{p:p,product:p.product,product_category:p.product.category,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)))','quantity','inStock','SELECT\x20o.OrderID\x20AS\x20id,\x20o.CustomerID\x20AS\x20customerId,\x20o.EmployeeID\x20AS\x20employeeId,\x20o.OrderDate\x20AS\x20orderDate,\x20o.RequiredDate\x20AS\x20requiredDate,\x20o.ShippedDate\x20AS\x20shippedDate,\x20o.ShipVia\x20AS\x20shipViaId,\x20o.Freight\x20AS\x20freight,\x20o.ShipName\x20AS\x20name,\x20o.ShipAddress\x20AS\x20address,\x20o.ShipCity\x20AS\x20city,\x20o.ShipRegion\x20AS\x20region,\x20o.ShipPostalCode\x20AS\x20postalCode,\x20o.ShipCountry\x20AS\x20country,\x20o.OrderID\x20AS\x20`__id`,\x20o.CustomerID\x20AS\x20`__customerId`\x20FROM\x20Orders\x20o\x20\x20WHERE\x20o.OrderID\x20=\x20?\x20','__awaiter','country','toEqual','customer.postalCode','1289631nGInQj','category','productId','12eoEaaB','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product.include(p\x20=>\x20p.category)),\x20p.customer])\x20','customer.contact','address','SELECT\x20o1.Quantity\x20AS\x20quantity,\x20o1.UnitPrice\x20AS\x20unitPrice,\x20o1.ProductID\x20AS\x20`__productId`,\x20o1.OrderID\x20AS\x20LambdaOrmParentId\x20FROM\x20`Order\x20Details`\x20o1\x20\x20WHERE\x20\x20o1.OrderID\x20IN\x20(?)\x20','SELECT\x20p.ProductName\x20AS\x20name,\x20p.CategoryID\x20AS\x20`__categoryId`,\x20p.ProductID\x20AS\x20LambdaOrmParentId\x20FROM\x20Products\x20p\x20\x20WHERE\x20\x20p.ProductID\x20IN\x20(?)\x20','Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id,__customerId:p.customerId}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{quantity:p.quantity,unitPrice:p.unitPrice,productId:p.productId,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)))','toStrictEqual','dotenv','product.category.description','postalCode','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20p.details)','name','customerId','product.price','boolean','Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{orderId:p.orderId,productId:p.productId,unitPrice:p.unitPrice,quantity:p.quantity,discount:p.discount,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)))','price','phone','discount','unitPrice','SELECT\x20o.OrderID\x20AS\x20id,\x20o.CustomerID\x20AS\x20customerId,\x20o.EmployeeID\x20AS\x20employeeId,\x20o.OrderDate\x20AS\x20orderDate,\x20o.RequiredDate\x20AS\x20requiredDate,\x20o.ShippedDate\x20AS\x20shippedDate,\x20o.ShipVia\x20AS\x20shipViaId,\x20o.Freight\x20AS\x20freight,\x20o.ShipName\x20AS\x20name,\x20o.ShipAddress\x20AS\x20address,\x20o.ShipCity\x20AS\x20city,\x20o.ShipRegion\x20AS\x20region,\x20o.ShipPostalCode\x20AS\x20postalCode,\x20o.ShipCountry\x20AS\x20country,\x20c.CustomerID\x20AS\x20`customer.id`,\x20c.CompanyName\x20AS\x20`customer.name`,\x20c.ContactName\x20AS\x20`customer.contact`,\x20c.ContactTitle\x20AS\x20`customer.phone`,\x20c.Address\x20AS\x20`customer.address`,\x20c.City\x20AS\x20`customer.city`,\x20c.Region\x20AS\x20`customer.region`,\x20c.PostalCode\x20AS\x20`customer.postalCode`,\x20c.Country\x20AS\x20`customer.country`,\x20o.OrderID\x20AS\x20`__id`\x20FROM\x20Orders\x20o\x20INNER\x20JOIN\x20Customers\x20c\x20ON\x20c.CustomerID\x20=\x20o.CustomerID\x20WHERE\x20o.OrderID\x20=\x20?\x20','getInfo','SELECT\x20o1.OrderID\x20AS\x20orderId,\x20o1.ProductID\x20AS\x20productId,\x20o1.UnitPrice\x20AS\x20unitPrice,\x20o1.Quantity\x20AS\x20quantity,\x20o1.Discount\x20AS\x20discount,\x20o1.ProductID\x20AS\x20`__productId`,\x20o1.OrderID\x20AS\x20LambdaOrmParentId\x20FROM\x20`Order\x20Details`\x20o1\x20\x20WHERE\x20\x20o1.OrderID\x20IN\x20(?)\x20','select','product.onOrder','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product),\x20p.customer])\x20','city','278988yaiMQN','Orders','Customers','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details,\x20p.customer])','model','normalize','parameters','next','product.name','orderDate','Products','SELECT\x20c1.CustomerID\x20AS\x20id,\x20c1.CompanyName\x20AS\x20name,\x20c1.ContactName\x20AS\x20contact,\x20c1.ContactTitle\x20AS\x20phone,\x20c1.Address\x20AS\x20address,\x20c1.City\x20AS\x20city,\x20c1.Region\x20AS\x20region,\x20c1.PostalCode\x20AS\x20postalCode,\x20c1.Country\x20AS\x20country,\x20c1.CustomerID\x20AS\x20LambdaOrmParentId\x20FROM\x20Customers\x20c1\x20\x20WHERE\x20\x20c1.CustomerID\x20IN\x20(?)\x20','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20p.customer)','supplierId','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.map(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20unitPrice:\x20p.unitPrice,\x20productId:\x20p.productId\x20})),\x20p.customer])','region','customer.city','./config/northwind.env','customer.name','product.category.name','customer','product.quantity','throw','value','Sentence','1010jDWtud','then','SELECT\x20o.OrderID\x20AS\x20id,\x20o.CustomerID\x20AS\x20customerId,\x20o.EmployeeID\x20AS\x20employeeId,\x20o.OrderDate\x20AS\x20orderDate,\x20o.RequiredDate\x20AS\x20requiredDate,\x20o.ShippedDate\x20AS\x20shippedDate,\x20o.ShipVia\x20AS\x20shipViaId,\x20o.Freight\x20AS\x20freight,\x20o.ShipName\x20AS\x20name,\x20o.ShipAddress\x20AS\x20address,\x20o.ShipCity\x20AS\x20city,\x20o.ShipRegion\x20AS\x20region,\x20o.ShipPostalCode\x20AS\x20postalCode,\x20o.ShipCountry\x20AS\x20country,\x20o.OrderID\x20AS\x20`__id`\x20FROM\x20Orders\x20o\x20\x20WHERE\x20o.OrderID\x20=\x20?\x20','product.discontinued','Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__customerId:p.customerId,__id:p.id}).filter(p=>(p.id==id)).include(p=>p.customer.map(p=>{name:p.name,LambdaOrmParentId:p.id}).filter(p=>in(p.id,LambdaOrmParentId)))','SELECT\x20o1.OrderID\x20AS\x20orderId,\x20o1.ProductID\x20AS\x20productId,\x20o1.UnitPrice\x20AS\x20unitPrice,\x20o1.Quantity\x20AS\x20quantity,\x20o1.Discount\x20AS\x20discount,\x20o1.OrderID\x20AS\x20LambdaOrmParentId\x20FROM\x20`Order\x20Details`\x20o1\x20\x20WHERE\x20\x20o1.OrderID\x20IN\x20(?)\x20','__categoryId','product.category.id','reorderLevel','__productId','any','1662832wyDDsd','Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p=>\x20p.details.map(p=>\x20[p,p.product,p.product.category]))','metadata'];a162s=function(){return h;};return a162s();}function a162y(s,y){const O=a162s();return a162y=function(D,g){D=D-0x1ea;let M=O[D];return M;},a162y(s,y);}beforeAll(()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const f=a162z;require(f(0x22d))['config']({'path':f(0x252)}),yield __1['orm']['init'](f(0x20d));})),describe('include',()=>{const j=a162z,s=JSON['parse']('{}');test('normalize',()=>{const q=a162y;expect(__1[q(0x1f2)][q(0x246)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20p.customer)'))[q(0x22c)](q(0x20c)),expect(__1[q(0x1f2)][q(0x246)](q(0x230)))[q(0x22c)](q(0x235)),expect(__1['orm'][q(0x246)](q(0x244)))['toStrictEqual']('Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id,__customerId:p.customerId}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{orderId:p.orderId,productId:p.productId,unitPrice:p.unitPrice,quantity:p.quantity,discount:p.discount,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)))'),expect(__1['orm'][q(0x246)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product),\x20p.customer])\x20'))[q(0x22c)]('Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id,__customerId:p.customerId}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{orderId:p.orderId,productId:p.productId,unitPrice:p.unitPrice,quantity:p.quantity,discount:p.discount,__productId:p.productId,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)).include(q=>q.product.map(p=>{id:p.id,name:p.name,supplierId:p.supplierId,categoryId:p.categoryId,quantity:p.quantity,price:p.price,inStock:p.inStock,onOrder:p.onOrder,reorderLevel:p.reorderLevel,discontinued:p.discontinued,LambdaOrmParentId:p.id}).filter(p=>in(p.id,LambdaOrmParentId))))'),expect(__1[q(0x1f2)]['normalize'](q(0x226)))[q(0x22c)](q(0x212)),expect(__1[q(0x1f2)][q(0x246)](q(0x24f)))[q(0x22c)](q(0x22b)),expect(__1[q(0x1f2)]['normalize']('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product).map(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20unitPrice:\x20p.unitPrice,\x20productId:\x20p.productId\x20})),\x20p.customer])'))[q(0x22c)](q(0x1ef)),expect(__1[q(0x1f2)][q(0x246)](q(0x216)))[q(0x22c)](q(0x25e)),expect(__1[q(0x1f2)]['normalize'](q(0x213)))['toStrictEqual'](q(0x21a)),expect(__1[q(0x1f2)][q(0x246)](q(0x266)))['toStrictEqual']('Orders.map(p=>{id:p.id,customerId:p.customerId,employeeId:p.employeeId,orderDate:p.orderDate,requiredDate:p.requiredDate,shippedDate:p.shippedDate,shipViaId:p.shipViaId,freight:p.freight,name:p.name,address:p.address,city:p.city,region:p.region,postalCode:p.postalCode,country:p.country,__id:p.id}).filter(p=>(p.id==id)).include(p=>p.details.map(p=>{p:p,product:p.product,product_category:p.product.category,LambdaOrmParentId:p.orderId}).filter(p=>in(p.orderId,LambdaOrmParentId)))'),expect(__1[q(0x1f2)][q(0x246)](q(0x20e)))[q(0x22c)](q(0x26a));}),test(j(0x245),()=>{const b=j;expect(__1[b(0x1f2)][b(0x245)](b(0x24d)))[b(0x22c)]([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':'string'},{'name':b(0x203),'type':b(0x208)},{'name':'orderDate','type':b(0x200)},{'name':b(0x207),'type':b(0x1f3)},{'name':b(0x1fe),'type':b(0x1f3)},{'name':'shipViaId','type':b(0x208)},{'name':b(0x1eb),'type':b(0x1f0)},{'name':b(0x231),'type':'string'},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':'string'},{'name':'region','type':'string'},{'name':b(0x22f),'type':'string'},{'name':b(0x21f),'type':b(0x201)},{'name':'customer','type':'Customers','children':[{'name':'id','type':'string'},{'name':b(0x231),'type':b(0x201)},{'name':b(0x1ee),'type':b(0x201)},{'name':'phone','type':b(0x201)},{'name':b(0x228),'type':'string'},{'name':b(0x240),'type':b(0x201)},{'name':'region','type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':'country','type':b(0x201)},{'name':b(0x1f9),'type':'string'}]}]),expect(__1[b(0x1f2)][b(0x245)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20p.details)'))[b(0x22c)]([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':'string'},{'name':b(0x203),'type':b(0x208)},{'name':'orderDate','type':b(0x200)},{'name':b(0x207),'type':'date'},{'name':'shippedDate','type':b(0x1f3)},{'name':b(0x26e),'type':b(0x208)},{'name':b(0x1eb),'type':b(0x1f0)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':'string'},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':'string'},{'name':b(0x1f4),'type':b(0x269),'children':[{'name':b(0x217),'type':b(0x208)},{'name':b(0x224),'type':b(0x208)},{'name':'unitPrice','type':b(0x1f0)},{'name':b(0x21b),'type':'decimal'},{'name':b(0x238),'type':b(0x1f0)},{'name':'LambdaOrmParentId','type':b(0x208)}]}]),expect(__1[b(0x1f2)]['model']('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details,\x20p.customer])'))[b(0x22c)]([{'name':'id','type':'integer'},{'name':'customerId','type':b(0x201)},{'name':b(0x203),'type':'integer'},{'name':'orderDate','type':b(0x200)},{'name':'requiredDate','type':'date'},{'name':b(0x1fe),'type':'date'},{'name':b(0x26e),'type':b(0x208)},{'name':b(0x1eb),'type':b(0x1f0)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x1f4),'type':b(0x269),'children':[{'name':b(0x217),'type':b(0x208)},{'name':'productId','type':'integer'},{'name':b(0x239),'type':b(0x1f0)},{'name':'quantity','type':b(0x1f0)},{'name':'discount','type':b(0x1f0)},{'name':b(0x1f9),'type':b(0x208)}]},{'name':b(0x255),'type':b(0x243),'children':[{'name':'id','type':b(0x201)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x1ee),'type':b(0x201)},{'name':b(0x237),'type':b(0x201)},{'name':'address','type':'string'},{'name':b(0x240),'type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':'string'},{'name':'LambdaOrmParentId','type':b(0x201)}]}]),expect(__1[b(0x1f2)]['model']('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product),\x20p.customer])\x20'))[b(0x22c)]([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':b(0x201)},{'name':b(0x203),'type':b(0x208)},{'name':'orderDate','type':b(0x200)},{'name':'requiredDate','type':'date'},{'name':b(0x1fe),'type':b(0x1f3)},{'name':b(0x26e),'type':b(0x208)},{'name':'freight','type':'decimal'},{'name':b(0x231),'type':'string'},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x1f4),'type':b(0x269),'children':[{'name':'orderId','type':b(0x208)},{'name':b(0x224),'type':b(0x208)},{'name':b(0x239),'type':b(0x1f0)},{'name':b(0x21b),'type':b(0x1f0)},{'name':'discount','type':b(0x1f0)},{'name':b(0x1f9),'type':b(0x208)},{'name':b(0x206),'type':b(0x24b),'children':[{'name':'id','type':b(0x208)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x24e),'type':'integer'},{'name':'categoryId','type':b(0x208)},{'name':'quantity','type':'string'},{'name':b(0x236),'type':b(0x1f0)},{'name':b(0x21c),'type':b(0x1f0)},{'name':b(0x219),'type':b(0x1f0)},{'name':b(0x262),'type':'decimal'},{'name':b(0x205),'type':b(0x234)},{'name':b(0x1f9),'type':b(0x208)}]}]},{'name':'customer','type':b(0x243),'children':[{'name':'id','type':'string'},{'name':b(0x231),'type':'string'},{'name':b(0x1ee),'type':b(0x201)},{'name':'phone','type':'string'},{'name':b(0x228),'type':b(0x201)},{'name':'city','type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x1f9),'type':b(0x201)}]}]),expect(__1[b(0x1f2)]['model']('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product.include(p\x20=>\x20p.category)),\x20p.customer])\x20'))[b(0x22c)]([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':b(0x201)},{'name':'employeeId','type':b(0x208)},{'name':b(0x24a),'type':b(0x200)},{'name':b(0x207),'type':b(0x1f3)},{'name':b(0x1fe),'type':b(0x1f3)},{'name':b(0x26e),'type':b(0x208)},{'name':b(0x1eb),'type':b(0x1f0)},{'name':'name','type':b(0x201)},{'name':b(0x228),'type':b(0x201)},{'name':'city','type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':'postalCode','type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x1f4),'type':'Orders.details[]','children':[{'name':b(0x217),'type':'integer'},{'name':'productId','type':b(0x208)},{'name':'unitPrice','type':'decimal'},{'name':b(0x21b),'type':b(0x1f0)},{'name':b(0x238),'type':b(0x1f0)},{'name':b(0x1f9),'type':'integer'},{'name':b(0x206),'type':b(0x24b),'children':[{'name':'id','type':b(0x208)},{'name':b(0x231),'type':b(0x201)},{'name':'supplierId','type':'integer'},{'name':b(0x1f1),'type':'integer'},{'name':b(0x21b),'type':b(0x201)},{'name':b(0x236),'type':b(0x1f0)},{'name':b(0x21c),'type':b(0x1f0)},{'name':'onOrder','type':b(0x1f0)},{'name':b(0x262),'type':'decimal'},{'name':'discontinued','type':b(0x234)},{'name':b(0x1f9),'type':b(0x208)},{'name':b(0x223),'type':b(0x1fa),'children':[{'name':'id','type':b(0x208)},{'name':b(0x231),'type':'string'},{'name':b(0x20b),'type':b(0x201)},{'name':b(0x1f9),'type':b(0x208)}]}]}]},{'name':b(0x255),'type':b(0x243),'children':[{'name':'id','type':b(0x201)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x1ee),'type':b(0x201)},{'name':b(0x237),'type':b(0x201)},{'name':b(0x228),'type':'string'},{'name':b(0x240),'type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':'string'},{'name':b(0x1f9),'type':'string'}]}]),expect(__1['orm'][b(0x245)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.map(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20unitPrice:\x20p.unitPrice,\x20productId:\x20p.productId\x20})),\x20p.customer])'))['toStrictEqual']([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':b(0x201)},{'name':'employeeId','type':'integer'},{'name':b(0x24a),'type':b(0x200)},{'name':b(0x207),'type':b(0x1f3)},{'name':b(0x1fe),'type':b(0x1f3)},{'name':b(0x26e),'type':'integer'},{'name':b(0x1eb),'type':b(0x1f0)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x228),'type':'string'},{'name':b(0x240),'type':'string'},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':'details','type':'Orders.details[]','children':[{'name':b(0x21b),'type':b(0x1f0)},{'name':b(0x239),'type':b(0x1f0)},{'name':'productId','type':b(0x208)},{'name':b(0x1f9),'type':b(0x208)}]},{'name':b(0x255),'type':'Customers','children':[{'name':'id','type':b(0x201)},{'name':b(0x231),'type':b(0x201)},{'name':'contact','type':b(0x201)},{'name':'phone','type':b(0x201)},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':b(0x201)},{'name':b(0x250),'type':'string'},{'name':b(0x22f),'type':'string'},{'name':b(0x21f),'type':b(0x201)},{'name':'LambdaOrmParentId','type':b(0x201)}]}]),expect(__1['orm'][b(0x245)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product).map(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20unitPrice:\x20p.unitPrice,\x20productId:\x20p.productId\x20})),\x20p.customer])'))[b(0x22c)]([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':b(0x201)},{'name':b(0x203),'type':b(0x208)},{'name':b(0x24a),'type':b(0x200)},{'name':b(0x207),'type':b(0x1f3)},{'name':b(0x1fe),'type':b(0x1f3)},{'name':b(0x26e),'type':b(0x208)},{'name':b(0x1eb),'type':b(0x1f0)},{'name':'name','type':b(0x201)},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':'string'},{'name':'region','type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x1f4),'type':b(0x269),'children':[{'name':b(0x21b),'type':b(0x1f0)},{'name':b(0x239),'type':b(0x1f0)},{'name':b(0x224),'type':b(0x208)},{'name':b(0x1f9),'type':b(0x208)},{'name':'product','type':b(0x24b),'children':[{'name':'id','type':'integer'},{'name':b(0x231),'type':'string'},{'name':'supplierId','type':'integer'},{'name':b(0x1f1),'type':'integer'},{'name':b(0x21b),'type':'string'},{'name':'price','type':b(0x1f0)},{'name':b(0x21c),'type':b(0x1f0)},{'name':'onOrder','type':b(0x1f0)},{'name':b(0x262),'type':b(0x1f0)},{'name':b(0x205),'type':'boolean'},{'name':b(0x1f9),'type':b(0x208)}]}]},{'name':b(0x255),'type':b(0x243),'children':[{'name':'id','type':b(0x201)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x1ee),'type':b(0x201)},{'name':b(0x237),'type':'string'},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':b(0x201)},{'name':b(0x250),'type':'string'},{'name':b(0x22f),'type':'string'},{'name':'country','type':b(0x201)},{'name':b(0x1f9),'type':'string'}]}]),expect(__1[b(0x1f2)][b(0x245)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.customer.map(p\x20=>\x20p.name),\x20p.details.include(p\x20=>\x20p.product.include(p\x20=>\x20p.category.map(p\x20=>\x20p.name)).map(p\x20=>\x20p.name)).map(p\x20=>\x20[p.quantity,\x20p.unitPrice])])'))[b(0x22c)]([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':'string'},{'name':b(0x203),'type':b(0x208)},{'name':b(0x24a),'type':'dateTime'},{'name':'requiredDate','type':b(0x1f3)},{'name':'shippedDate','type':b(0x1f3)},{'name':b(0x26e),'type':b(0x208)},{'name':b(0x1eb),'type':'decimal'},{'name':b(0x231),'type':b(0x201)},{'name':'address','type':b(0x201)},{'name':b(0x240),'type':'string'},{'name':b(0x250),'type':'string'},{'name':b(0x22f),'type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x255),'type':b(0x243),'children':[{'name':b(0x231),'type':b(0x201)},{'name':b(0x1f9),'type':'string'}]},{'name':'details','type':b(0x269),'children':[{'name':b(0x21b),'type':b(0x1f0)},{'name':b(0x239),'type':b(0x1f0)},{'name':b(0x1f9),'type':b(0x208)},{'name':b(0x206),'type':b(0x24b),'children':[{'name':'name','type':b(0x201)},{'name':b(0x1f9),'type':'integer'},{'name':'category','type':b(0x1fa),'children':[{'name':b(0x231),'type':'string'},{'name':b(0x1f9),'type':b(0x208)}]}]}]}]),expect(__1[b(0x1f2)][b(0x245)](b(0x213)))[b(0x22c)]([{'name':'id','type':'integer'},{'name':'customerId','type':b(0x201)},{'name':b(0x203),'type':b(0x208)},{'name':b(0x24a),'type':b(0x200)},{'name':b(0x207),'type':b(0x1f3)},{'name':b(0x1fe),'type':'date'},{'name':b(0x26e),'type':'integer'},{'name':b(0x1eb),'type':b(0x1f0)},{'name':b(0x231),'type':b(0x201)},{'name':b(0x228),'type':b(0x201)},{'name':'city','type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':'postalCode','type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x215),'type':b(0x201)},{'name':b(0x253),'type':b(0x201)},{'name':b(0x227),'type':'string'},{'name':b(0x211),'type':b(0x201)},{'name':b(0x272),'type':'string'},{'name':'customer.city','type':'string'},{'name':b(0x26d),'type':b(0x201)},{'name':b(0x221),'type':b(0x201)},{'name':b(0x26f),'type':b(0x201)},{'name':'details','type':b(0x269),'children':[{'name':'orderId','type':b(0x208)},{'name':b(0x224),'type':b(0x208)},{'name':'unitPrice','type':b(0x1f0)},{'name':b(0x21b),'type':b(0x1f0)},{'name':b(0x238),'type':b(0x1f0)},{'name':b(0x1ec),'type':'integer'},{'name':b(0x249),'type':b(0x201)},{'name':b(0x20a),'type':'integer'},{'name':b(0x20f),'type':b(0x208)},{'name':b(0x256),'type':'string'},{'name':b(0x233),'type':'decimal'},{'name':b(0x274),'type':b(0x1f0)},{'name':b(0x23e),'type':b(0x1f0)},{'name':b(0x1ff),'type':'decimal'},{'name':b(0x25d),'type':b(0x234)},{'name':b(0x261),'type':b(0x208)},{'name':b(0x254),'type':'string'},{'name':'product.category.description','type':'string'},{'name':b(0x1f9),'type':b(0x208)}]}]),expect(__1[b(0x1f2)][b(0x245)](b(0x266)))['toStrictEqual']([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':'string'},{'name':b(0x203),'type':b(0x208)},{'name':b(0x24a),'type':b(0x200)},{'name':b(0x207),'type':b(0x1f3)},{'name':b(0x1fe),'type':b(0x1f3)},{'name':b(0x26e),'type':b(0x208)},{'name':b(0x1eb),'type':b(0x1f0)},{'name':'name','type':b(0x201)},{'name':b(0x228),'type':b(0x201)},{'name':b(0x240),'type':b(0x201)},{'name':'region','type':b(0x201)},{'name':'postalCode','type':b(0x201)},{'name':b(0x21f),'type':b(0x201)},{'name':b(0x1f4),'type':b(0x269),'children':[{'name':'orderId','type':b(0x208)},{'name':b(0x224),'type':b(0x208)},{'name':'unitPrice','type':b(0x1f0)},{'name':b(0x21b),'type':b(0x1f0)},{'name':b(0x238),'type':b(0x1f0)},{'name':b(0x1ec),'type':b(0x208)},{'name':b(0x249),'type':'string'},{'name':b(0x20a),'type':b(0x208)},{'name':b(0x20f),'type':b(0x208)},{'name':b(0x256),'type':b(0x201)},{'name':b(0x233),'type':'decimal'},{'name':b(0x274),'type':b(0x1f0)},{'name':b(0x23e),'type':b(0x1f0)},{'name':b(0x1ff),'type':b(0x1f0)},{'name':b(0x25d),'type':'boolean'},{'name':'product.category.id','type':b(0x208)},{'name':b(0x254),'type':b(0x201)},{'name':'product.category.description','type':'string'},{'name':'LambdaOrmParentId','type':b(0x208)}]}]),expect(__1[b(0x1f2)][b(0x245)](b(0x20e)))[b(0x22c)]([{'name':'id','type':b(0x208)},{'name':b(0x232),'type':'string'},{'name':b(0x203),'type':b(0x208)},{'name':b(0x24a),'type':b(0x200)},{'name':b(0x207),'type':b(0x1f3)},{'name':b(0x1fe),'type':b(0x1f3)},{'name':b(0x26e),'type':b(0x208)},{'name':'freight','type':'decimal'},{'name':'name','type':b(0x201)},{'name':'address','type':b(0x201)},{'name':'city','type':b(0x201)},{'name':b(0x250),'type':b(0x201)},{'name':b(0x22f),'type':b(0x201)},{'name':'country','type':b(0x201)},{'name':b(0x1f4),'type':'Orders.details[]','children':[{'name':b(0x217),'type':b(0x208)},{'name':b(0x224),'type':b(0x208)},{'name':'unitPrice','type':b(0x1f0)},{'name':b(0x21b),'type':b(0x1f0)},{'name':'discount','type':b(0x1f0)},{'name':b(0x1ec),'type':b(0x208)},{'name':b(0x249),'type':b(0x201)},{'name':'product.supplierId','type':'integer'},{'name':b(0x20f),'type':b(0x208)},{'name':b(0x256),'type':'string'},{'name':b(0x233),'type':b(0x1f0)},{'name':'product.inStock','type':'decimal'},{'name':b(0x23e),'type':'decimal'},{'name':b(0x1ff),'type':b(0x1f0)},{'name':b(0x25d),'type':b(0x234)},{'name':b(0x1f9),'type':b(0x208)}]}]);}),test('parameters',()=>{const l=j;expect(__1[l(0x1f2)][l(0x247)](l(0x24d)))['toStrictEqual']([{'name':'id','type':l(0x208)},{'name':'customer','type':l(0x243),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]),expect(__1[l(0x1f2)]['parameters'](l(0x230)))['toStrictEqual']([{'name':'id','type':l(0x208)},{'name':l(0x1f4),'type':l(0x1fc),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]),expect(__1[l(0x1f2)]['parameters'](l(0x244)))[l(0x22c)]([{'name':'id','type':'integer'},{'name':l(0x1f4),'type':'Orders.details','children':[{'name':'LambdaOrmParentId','type':l(0x264)}]},{'name':l(0x255),'type':l(0x243),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]),expect(__1['orm'][l(0x247)](l(0x23f)))[l(0x22c)]([{'name':'id','type':l(0x208)},{'name':l(0x1f4),'type':l(0x1fc),'children':[{'name':l(0x1f9),'type':'any'},{'name':l(0x206),'type':'Products','children':[{'name':'LambdaOrmParentId','type':'any'}]}]},{'name':l(0x255),'type':l(0x243),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]),expect(__1[l(0x1f2)][l(0x247)](l(0x226)))['toStrictEqual']([{'name':'id','type':'integer'},{'name':l(0x1f4),'type':'Orders.details','children':[{'name':'LambdaOrmParentId','type':l(0x264)},{'name':l(0x206),'type':l(0x24b),'children':[{'name':'LambdaOrmParentId','type':l(0x264)},{'name':l(0x223),'type':l(0x1fa),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]}]},{'name':l(0x255),'type':l(0x243),'children':[{'name':l(0x1f9),'type':'any'}]}]),expect(__1['orm'][l(0x247)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.map(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20unitPrice:\x20p.unitPrice,\x20productId:\x20p.productId\x20})),\x20p.customer])'))[l(0x22c)]([{'name':'id','type':l(0x208)},{'name':l(0x1f4),'type':l(0x1fc),'children':[{'name':'LambdaOrmParentId','type':l(0x264)}]},{'name':l(0x255),'type':l(0x243),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]),expect(__1[l(0x1f2)][l(0x247)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product).map(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20unitPrice:\x20p.unitPrice,\x20productId:\x20p.productId\x20})),\x20p.customer])'))[l(0x22c)]([{'name':'id','type':'integer'},{'name':l(0x1f4),'type':l(0x1fc),'children':[{'name':l(0x1f9),'type':'any'},{'name':l(0x206),'type':'Products','children':[{'name':l(0x1f9),'type':l(0x264)}]}]},{'name':'customer','type':l(0x243),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]),expect(__1[l(0x1f2)][l(0x247)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.customer.map(p\x20=>\x20p.name),\x20p.details.include(p\x20=>\x20p.product.include(p\x20=>\x20p.category.map(p\x20=>\x20p.name)).map(p\x20=>\x20p.name)).map(p\x20=>\x20[p.quantity,\x20p.unitPrice])])'))['toStrictEqual']([{'name':'id','type':l(0x208)},{'name':'customer','type':l(0x243),'children':[{'name':l(0x1f9),'type':l(0x264)}]},{'name':l(0x1f4),'type':l(0x1fc),'children':[{'name':l(0x1f9),'type':l(0x264)},{'name':'product','type':'Products','children':[{'name':l(0x1f9),'type':l(0x264)},{'name':'category','type':l(0x1fa),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]}]}]),expect(__1['orm'][l(0x247)](l(0x213)))['toStrictEqual']([{'name':'id','type':l(0x208)},{'name':l(0x1f4),'type':l(0x1fc),'children':[{'name':'LambdaOrmParentId','type':'any'}]}]),expect(__1[l(0x1f2)][l(0x247)](l(0x266)))['toStrictEqual']([{'name':'id','type':l(0x208)},{'name':l(0x1f4),'type':l(0x1fc),'children':[{'name':l(0x1f9),'type':l(0x264)}]}]),expect(__1[l(0x1f2)][l(0x247)](l(0x20e)))['toStrictEqual']([{'name':'id','type':l(0x208)},{'name':'details','type':l(0x1fc),'children':[{'name':'LambdaOrmParentId','type':l(0x264)}]}]);}),test(j(0x214),()=>{const u=j;expect(__1['orm'][u(0x214)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20p.customer)'))[u(0x22c)]({'entity':u(0x242),'constraints':[],'children':[{'entity':u(0x243),'constraints':[]}]}),expect(__1['orm'][u(0x214)](u(0x230)))[u(0x22c)]({'entity':'Orders','constraints':[],'children':[{'entity':u(0x1fc),'constraints':[]}]}),expect(__1[u(0x1f2)][u(0x214)](u(0x244)))[u(0x22c)]({'entity':'Orders','constraints':[],'children':[{'entity':u(0x1fc),'constraints':[]},{'entity':u(0x243),'constraints':[]}]}),expect(__1[u(0x1f2)][u(0x214)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product),\x20p.customer])\x20'))[u(0x22c)]({'entity':u(0x242),'constraints':[],'children':[{'entity':u(0x1fc),'constraints':[],'children':[{'entity':'Products','constraints':[]}]},{'entity':u(0x243),'constraints':[]}]}),expect(__1[u(0x1f2)][u(0x214)](u(0x226)))['toStrictEqual']({'entity':u(0x242),'constraints':[],'children':[{'entity':u(0x1fc),'constraints':[],'children':[{'entity':u(0x24b),'constraints':[],'children':[{'entity':u(0x1fa),'constraints':[]}]}]},{'entity':u(0x243),'constraints':[]}]}),expect(__1[u(0x1f2)][u(0x214)](u(0x24f)))['toStrictEqual']({'entity':'Orders','constraints':[],'children':[{'entity':u(0x1fc),'constraints':[]},{'entity':'Customers','constraints':[]}]}),expect(__1[u(0x1f2)][u(0x214)](u(0x209)))['toStrictEqual']({'entity':'Orders','constraints':[],'children':[{'entity':u(0x1fc),'constraints':[],'children':[{'entity':u(0x24b),'constraints':[]}]},{'entity':u(0x243),'constraints':[]}]}),expect(__1[u(0x1f2)][u(0x214)](u(0x216)))['toStrictEqual']({'entity':u(0x242),'constraints':[],'children':[{'entity':u(0x243),'constraints':[]},{'entity':u(0x1fc),'constraints':[],'children':[{'entity':u(0x24b),'constraints':[],'children':[{'entity':u(0x1fa),'constraints':[]}]}]}]}),expect(__1['orm']['constraints'](u(0x213)))[u(0x22c)]({'entity':'Orders','constraints':[],'children':[{'entity':'Orders.details','constraints':[]}]}),expect(__1[u(0x1f2)]['constraints'](u(0x266)))[u(0x22c)]({'entity':u(0x242),'constraints':[],'children':[{'entity':u(0x1fc),'constraints':[]}]}),expect(__1[u(0x1f2)][u(0x214)](u(0x20e)))[u(0x22c)]({'entity':u(0x242),'constraints':[],'children':[{'entity':u(0x1fc),'constraints':[]}]});}),test(j(0x267),()=>{const e=j;expect(__1[e(0x1f2)][e(0x267)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20p.customer)'))[e(0x220)]({'classtype':e(0x259),'pos':{'ln':0x0,'col':0x28},'name':e(0x23d),'children':[{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x2d},'name':e(0x23d),'children':[],'type':'any','entity':e(0x243),'columns':[{'name':'id','type':'string'},{'name':e(0x231),'type':'string'},{'name':e(0x1ee),'type':e(0x201)},{'name':'phone','type':e(0x201)},{'name':e(0x228),'type':'string'},{'name':e(0x240),'type':e(0x201)},{'name':e(0x250),'type':e(0x201)},{'name':e(0x22f),'type':e(0x201)},{'name':e(0x21f),'type':e(0x201)},{'name':e(0x1f9),'type':'string'}],'parameters':[{'name':e(0x1f9),'type':e(0x264)}],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'c'}],'type':e(0x264),'entity':e(0x242),'columns':[{'name':'id','type':e(0x208)},{'name':e(0x232),'type':e(0x201)},{'name':e(0x203),'type':'integer'},{'name':e(0x24a),'type':'dateTime'},{'name':e(0x207),'type':e(0x1f3)},{'name':'shippedDate','type':'date'},{'name':e(0x26e),'type':e(0x208)},{'name':'freight','type':'decimal'},{'name':e(0x231),'type':e(0x201)},{'name':'address','type':e(0x201)},{'name':e(0x240),'type':e(0x201)},{'name':'region','type':e(0x201)},{'name':e(0x22f),'type':e(0x201)},{'name':'country','type':e(0x201)},{'name':'__customerId','type':'string'}],'parameters':[{'name':'id','type':e(0x208)}],'constraints':[],'values':[],'defaults':[],'clause':e(0x23d),'alias':'o'}),expect(__1[e(0x1f2)][e(0x267)](e(0x230)))['toEqual']({'classtype':'Sentence','pos':{'ln':0x0,'col':0x28},'name':e(0x23d),'children':[{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x2d},'name':e(0x23d),'children':[],'type':'any','entity':e(0x1fc),'columns':[{'name':e(0x217),'type':e(0x208)},{'name':e(0x224),'type':e(0x208)},{'name':e(0x239),'type':e(0x1f0)},{'name':e(0x21b),'type':'decimal'},{'name':'discount','type':e(0x1f0)},{'name':e(0x1f9),'type':e(0x208)}],'parameters':[{'name':e(0x1f9),'type':e(0x264)}],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'o1'}],'type':e(0x264),'entity':e(0x242),'columns':[{'name':'id','type':'integer'},{'name':e(0x232),'type':e(0x201)},{'name':e(0x203),'type':e(0x208)},{'name':e(0x24a),'type':'dateTime'},{'name':'requiredDate','type':e(0x1f3)},{'name':e(0x1fe),'type':e(0x1f3)},{'name':'shipViaId','type':e(0x208)},{'name':'freight','type':e(0x1f0)},{'name':e(0x231),'type':e(0x201)},{'name':'address','type':e(0x201)},{'name':e(0x240),'type':e(0x201)},{'name':e(0x250),'type':e(0x201)},{'name':'postalCode','type':e(0x201)},{'name':e(0x21f),'type':e(0x201)},{'name':e(0x271),'type':'integer'}],'parameters':[{'name':'id','type':e(0x208)}],'constraints':[],'values':[],'defaults':[],'clause':e(0x23d),'alias':'o'}),expect(__1['orm']['metadata'](e(0x244)))[e(0x220)]({'classtype':e(0x259),'pos':{'ln':0x0,'col':0x28},'name':'select','children':[{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x2e},'name':e(0x23d),'children':[],'type':e(0x264),'entity':e(0x1fc),'columns':[{'name':e(0x217),'type':e(0x208)},{'name':e(0x224),'type':e(0x208)},{'name':e(0x239),'type':'decimal'},{'name':e(0x21b),'type':e(0x1f0)},{'name':'discount','type':'decimal'},{'name':'LambdaOrmParentId','type':e(0x208)}],'parameters':[{'name':e(0x1f9),'type':e(0x264)}],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'o1'},{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x39},'name':'select','children':[],'type':e(0x264),'entity':'Customers','columns':[{'name':'id','type':'string'},{'name':'name','type':e(0x201)},{'name':'contact','type':e(0x201)},{'name':'phone','type':'string'},{'name':'address','type':'string'},{'name':e(0x240),'type':e(0x201)},{'name':e(0x250),'type':e(0x201)},{'name':e(0x22f),'type':e(0x201)},{'name':e(0x21f),'type':'string'},{'name':'LambdaOrmParentId','type':e(0x201)}],'parameters':[{'name':e(0x1f9),'type':e(0x264)}],'constraints':[],'values':[],'defaults':[],'clause':e(0x23d),'alias':'c'}],'type':e(0x264),'entity':e(0x242),'columns':[{'name':'id','type':'integer'},{'name':e(0x232),'type':e(0x201)},{'name':e(0x203),'type':'integer'},{'name':'orderDate','type':'dateTime'},{'name':e(0x207),'type':e(0x1f3)},{'name':e(0x1fe),'type':e(0x1f3)},{'name':e(0x26e),'type':e(0x208)},{'name':e(0x1eb),'type':e(0x1f0)},{'name':e(0x231),'type':e(0x201)},{'name':'address','type':e(0x201)},{'name':e(0x240),'type':e(0x201)},{'name':e(0x250),'type':e(0x201)},{'name':'postalCode','type':e(0x201)},{'name':e(0x21f),'type':e(0x201)},{'name':e(0x271),'type':'integer'},{'name':e(0x26c),'type':e(0x201)}],'parameters':[{'name':'id','type':'integer'}],'constraints':[],'values':[],'defaults':[],'clause':e(0x23d),'alias':'o'}),expect(__1[e(0x1f2)][e(0x267)]('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product),\x20p.customer])\x20'))[e(0x220)]({'classtype':e(0x259),'pos':{'ln':0x0,'col':0x28},'name':e(0x23d),'children':[{'classtype':'Sentence','pos':{'ln':0x0,'col':0x40},'name':'select','children':[{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x45},'name':e(0x23d),'children':[],'type':e(0x264),'entity':e(0x24b),'columns':[{'name':'id','type':e(0x208)},{'name':'name','type':e(0x201)},{'name':e(0x24e),'type':e(0x208)},{'name':e(0x1f1),'type':'integer'},{'name':e(0x21b),'type':'string'},{'name':'price','type':e(0x1f0)},{'name':e(0x21c),'type':e(0x1f0)},{'name':e(0x219),'type':'decimal'},{'name':e(0x262),'type':e(0x1f0)},{'name':e(0x205),'type':e(0x234)},{'name':'LambdaOrmParentId','type':'integer'}],'parameters':[{'name':e(0x1f9),'type':'any'}],'constraints':[],'values':[],'defaults':[],'clause':e(0x23d),'alias':'p'}],'type':e(0x264),'entity':'Orders.details','columns':[{'name':'orderId','type':e(0x208)},{'name':e(0x224),'type':e(0x208)},{'name':e(0x239),'type':e(0x1f0)},{'name':'quantity','type':e(0x1f0)},{'name':e(0x238),'type':e(0x1f0)},{'name':e(0x263),'type':e(0x208)},{'name':'LambdaOrmParentId','type':e(0x208)}],'parameters':[{'name':'LambdaOrmParentId','type':'any'}],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'o1'},{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x51},'name':e(0x23d),'children':[],'type':e(0x264),'entity':e(0x243),'columns':[{'name':'id','type':e(0x201)},{'name':e(0x231),'type':'string'},{'name':e(0x1ee),'type':e(0x201)},{'name':e(0x237),'type':'string'},{'name':e(0x228),'type':e(0x201)},{'name':'city','type':e(0x201)},{'name':'region','type':'string'},{'name':e(0x22f),'type':e(0x201)},{'name':'country','type':e(0x201)},{'name':e(0x1f9),'type':e(0x201)}],'parameters':[{'name':'LambdaOrmParentId','type':e(0x264)}],'constraints':[],'values':[],'defaults':[],'clause':e(0x23d),'alias':'c'}],'type':e(0x264),'entity':e(0x242),'columns':[{'name':'id','type':'integer'},{'name':e(0x232),'type':e(0x201)},{'name':e(0x203),'type':e(0x208)},{'name':'orderDate','type':e(0x200)},{'name':'requiredDate','type':'date'},{'name':e(0x1fe),'type':e(0x1f3)},{'name':e(0x26e),'type':e(0x208)},{'name':e(0x1eb),'type':e(0x1f0)},{'name':e(0x231),'type':e(0x201)},{'name':'address','type':e(0x201)},{'name':e(0x240),'type':e(0x201)},{'name':e(0x250),'type':e(0x201)},{'name':e(0x22f),'type':'string'},{'name':e(0x21f),'type':e(0x201)},{'name':e(0x271),'type':e(0x208)},{'name':'__customerId','type':e(0x201)}],'parameters':[{'name':'id','type':e(0x208)}],'constraints':[],'values':[],'defaults':[],'clause':e(0x23d),'alias':'o'}),expect(__1[e(0x1f2)]['metadata']('Orders.filter(p\x20=>\x20p.id\x20===\x20id).include(p\x20=>\x20[p.details.include(q\x20=>\x20q.product.include(p\x20=>\x20p.category)),\x20p.customer])\x20'))[e(0x220)]({'classtype':e(0x259),'pos':{'ln':0x0,'col':0x28},'name':e(0x23d),'children':[{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x40},'name':'select','children':[{'classtype':'Sentence','pos':{'ln':0x0,'col':0x57},'name':'select','children':[{'classtype':e(0x259),'pos':{'ln':0x0,'col':0x5c},'name':'select','children':[],'type':e(0x264),'entity'