lambdaorm
Version:
1 lines • 85.4 kB
JavaScript
'use strict';function a159s(){const sl=['toBe','query\x202','normalize','config','query\x203','SELECT\x20p.ProductID\x20AS\x20\x22id\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.SupplierID\x20AS\x20\x22supplierId\x22,\x20p.CategoryID\x20AS\x20\x22categoryId\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitPrice\x20AS\x20\x22price\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22,\x20p.UnitsOnOrder\x20AS\x20\x22onOrder\x22,\x20p.ReorderLevel\x20AS\x20\x22reorderLevel\x22,\x20p.Discontinued\x20AS\x20\x22discontinued\x22\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductName\x20asc\x20','SqlServer','SELECT\x20c.CategoryName\x20AS\x20\x22category\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20p.Discontinued\x20<>\x20\x27N\x27\x20ORDER\x20BY\x20\x22category\x22\x20asc,\x20p.ProductName\x20desc\x20','decimal','Products.filter(p\x20=>\x20p.discontinued\x20!==\x20false).map(p\x20=>\x20({\x20category:\x20p.category.name,\x20name:\x20p.name,\x20quantity:\x20p.quantity,\x20inStock:\x20p.inStock\x20})).sort(p\x20=>\x20[p.category,\x20desc(p.name)])','Products.map(p\x20=>\x20({\x20name:\x20p.name,\x20category:\x20p.category.name\x20})).sort(p\x20=>\x20[p.category,\x20p.name])','apply','init','model','SELECT\x20c.CategoryName\x20AS\x20\x22category\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20\x22category\x22\x20asc\x20\x20OFFSET\x200\x20ROWS\x20FETCH\x20NEXT\x201\x20ROWS\x20ONLY\x20','20376HUrpBx','[{\x22$lookup\x22:{\x22from\x22:\x22Categories\x22,\x22localField\x22:\x22CategoryID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22c\x22}},{\x22$project\x22:{\x22_id\x22:0,\x22category\x22:{\x22$arrayElemAt\x22:[\x22$c.CategoryName\x22,0]},\x22name\x22:\x22$ProductName\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22inStock\x22:\x22$UnitsInStock\x22}},{\x22$sort\x22:{\x22ProductName\x22:1}}]','supplierId','Products.map(p\x20=>\x20p).sort(p\x20=>\x20p.id).page(1,\x201)','toStrictEqual','category','Products.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}).sort(p=>desc(p.id)).page(1,1)','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\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductID\x20desc\x20\x20LIMIT\x200,1\x20','SELECT\x20p.ProductID\x20AS\x20\x22id\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.SupplierID\x20AS\x20\x22supplierId\x22,\x20p.CategoryID\x20AS\x20\x22categoryId\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitPrice\x20AS\x20\x22price\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22,\x20p.UnitsOnOrder\x20AS\x20\x22onOrder\x22,\x20p.ReorderLevel\x20AS\x20\x22reorderLevel\x22,\x20p.Discontinued\x20AS\x20\x22discontinued\x22\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductID\x20asc\x20\x20OFFSET\x200\x20LIMIT\x201\x20','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\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductName\x20asc\x20','Sentences','Normalize\x20Expression','metadata','Products.distinct(p\x20=>\x20p).sort(p\x20=>\x20p.id)','MongoDB','SELECT\x20p.ProductID\x20AS\x20\x22id\x22\x20FROM\x20Products\x20p\x20\x20WHERE\x20p.Discontinued\x20<>\x20\x27N\x27\x20ORDER\x20BY\x20p.ProductID\x20desc\x20\x20OFFSET\x200\x20ROWS\x20FETCH\x20NEXT\x201\x20ROWS\x20ONLY\x20','toDate','SELECT\x20c.CategoryName\x20AS\x20category,\x20p.ProductName\x20AS\x20product,\x20o.UnitPrice\x20AS\x20unitPrice,\x20o.Quantity\x20AS\x20quantity\x20FROM\x20`Order\x20Details`\x20o\x20INNER\x20JOIN\x20Orders\x20o1\x20ON\x20o1.OrderID\x20=\x20o.OrderID\x20INNER\x20JOIN\x20Products\x20p\x20ON\x20p.ProductID\x20=\x20o.ProductID\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20(o1.ShippedDate\x20BETWEEN\x20?\x20AND\x20?\x20AND\x20o.UnitPrice\x20>\x20?)\x20ORDER\x20BY\x20category\x20asc,\x20product\x20asc,\x20o.UnitPrice\x20asc,\x20o.Quantity\x20asc\x20','reorderLevel','SELECT\x20p.ProductName\x20AS\x20name,\x20c.CategoryName\x20AS\x20category\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20category\x20asc,\x20p.ProductName\x20asc\x20','[{\x22$project\x22:{\x22_id\x22:0,\x22id\x22:\x22$_id\x22,\x22name\x22:\x22$ProductName\x22,\x22supplierId\x22:\x22$SupplierID\x22,\x22categoryId\x22:\x22$CategoryID\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22price\x22:\x22$UnitPrice\x22,\x22inStock\x22:\x22$UnitsInStock\x22,\x22onOrder\x22:\x22$UnitsOnOrder\x22,\x22reorderLevel\x22:\x22$ReorderLevel\x22,\x22discontinued\x22:\x22$Discontinued\x22}},{\x22$sort\x22:{\x22_id\x22:-1}},{\x22$skip\x22:0},{\x22$limit\x22:1}\x20]','product','2399432HHOocr','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\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductID\x20asc\x20\x20LIMIT\x200,1\x20','query\x2010','query\x2018','SELECT\x20c.CategoryName\x20AS\x20category,\x20p.ProductName\x20AS\x20name,\x20p.QuantityPerUnit\x20AS\x20quantity,\x20p.UnitsInStock\x20AS\x20inStock\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20p.Discontinued\x20<>\x200\x20ORDER\x20BY\x20category\x20asc,\x20p.ProductName\x20desc\x20','next','Products.map(p=>distinct({quantity:p.quantity,category:p.category.name})).sort(p=>[asc(p.quantity),asc(p.category)])','SELECT\x20DISTINCT\x20p.QuantityPerUnit\x20AS\x20quantity,\x20c.CategoryName\x20AS\x20category\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20p.QuantityPerUnit\x20asc,\x20category\x20asc\x20','query\x205','SELECT\x20c.CategoryName\x20AS\x20\x22category\x22,\x20p.ProductName\x20AS\x20\x22product\x22,\x20o.UnitPrice\x20AS\x20\x22unitPrice\x22,\x20o.Quantity\x20AS\x20\x22quantity\x22\x20FROM\x20\x22Order\x20Details\x22\x20o\x20INNER\x20JOIN\x20Orders\x20o1\x20ON\x20o1.OrderID\x20=\x20o.OrderID\x20INNER\x20JOIN\x20Products\x20p\x20ON\x20p.ProductID\x20=\x20o.ProductID\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20(o1.ShippedDate\x20BETWEEN\x20$1\x20AND\x20$2\x20AND\x20o.UnitPrice\x20>\x20$3)\x20ORDER\x20BY\x20\x22category\x22\x20asc,\x20\x22product\x22\x20asc,\x20o.UnitPrice\x20asc,\x20o.Quantity\x20asc\x20','[{\x22$unwind\x22:\x22$\x5c\x22Order\x20Details\x5c\x22\x22},{\x22$replaceRoot\x22:{\x22newRoot\x22:\x22$\x5c\x22Order\x20Details\x5c\x22\x22}},{\x22$lookup\x22:{\x22from\x22:\x22Orders\x22,\x22localField\x22:\x22OrderID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22o1\x22}},{\x22$lookup\x22:{\x22from\x22:\x22Products\x22,\x22localField\x22:\x22ProductID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22p\x22}},{\x22$lookup\x22:{\x22from\x22:\x22Categories\x22,\x22localField\x22:\x22CategoryID\x22,\x22foreignField\x22:\x22p._id\x22,\x22as\x22:\x22c\x22}},{\x22$match\x22:{\x22$and\x22:[{\x22o1.ShippedDate\x22:{\x22$gte\x22:\x22$fromDate$\x22,\x22$lt\x22:\x22$toDate$\x22}},{\x22UnitPrice\x22:{\x22$gt\x22:\x22$minValue$\x22}}]}},{\x22$project\x22:{\x22_id\x22:0,\x22category\x22:{\x22$arrayElemAt\x22:[\x22$c.CategoryName\x22,0]},\x22product\x22:{\x22$arrayElemAt\x22:[\x22$p.ProductName\x22,0]},\x22unitPrice\x22:\x22$UnitPrice\x22,\x22quantity\x22:\x22$Quantity\x22}},{\x22$sort\x22:{\x22category\x22:1,\x22product\x22:1,\x22UnitPrice\x22:1,\x22Quantity\x22:1}}]','[{\x22$lookup\x22:{\x22from\x22:\x22Categories\x22,\x22localField\x22:\x22CategoryID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22c\x22}},{\x22$project\x22:{\x22_id\x22:0,\x22name\x22:\x22$ProductName\x22,\x22category\x22:{\x22$arrayElemAt\x22:[\x22$c.CategoryName\x22,0]}}},{\x22$sort\x22:{\x22category\x22:1,\x22ProductName\x22:1}}]','plan','[{\x22$group\x22:{\x22_id\x22:null,\x22__distinct\x22:{\x22$addToSet\x22:{\x22id\x22:\x22$_id\x22,\x22name\x22:\x22$ProductName\x22,\x22supplierId\x22:\x22$SupplierID\x22,\x22categoryId\x22:\x22$CategoryID\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22price\x22:\x22$UnitPrice\x22,\x22inStock\x22:\x22$UnitsInStock\x22,\x22onOrder\x22:\x22$UnitsOnOrder\x22,\x22reorderLevel\x22:\x22$ReorderLevel\x22,\x22discontinued\x22:\x22$Discontinued\x22}}}},{\x22$sort\x22:{\x22_id\x22:1}},{\x22$project\x22:{\x22_id\x22:0}}]','columns','unitPrice','Products.filter(p\x20=>\x20p.discontinued\x20!==\x20false).last(p\x20=>\x20p.id)','SELECT\x20c.CategoryName\x20AS\x20\x22category\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20p.ProductName\x20asc\x20','SELECT\x20p.ProductID\x20AS\x20id\x20FROM\x20Products\x20p\x20\x20WHERE\x20p.Discontinued\x20<>\x20FALSE\x20ORDER\x20BY\x20p.ProductID\x20desc\x20\x20LIMIT\x200,1\x20','query\x208','throw','Orders.details.filter(p\x20=>\x20between(p.order.shippedDate,\x20fromDate,\x20toDate)\x20&&\x20p.unitPrice\x20>\x20minValue).map(p\x20=>\x20({\x20category:\x20p.product.category.name,\x20product:\x20p.product.name,\x20unitPrice:\x20p.unitPrice,\x20quantity:\x20p.quantity\x20})).sort(p\x20=>\x20[p.category,\x20p.product,\x20p.unitPrice,\x20p.quantity])','categoryId','query\x209','Products.map(p\x20=>\x20({\x20category:\x20p.category.name,\x20name:\x20p.name,\x20quantity:\x20p.quantity,\x20inStock:\x20p.inStock\x20})).sort(p\x20=>\x20p.name)','onOrder','SELECT\x20c.CategoryName\x20AS\x20category\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20category\x20asc\x20','MySQL','query\x201','Sentence','defineProperty','Products.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}).sort(p=>asc(p.name))','SELECT\x20c.CategoryName\x20AS\x20\x22category\x22,\x20p.ProductName\x20AS\x20\x22product\x22,\x20o.UnitPrice\x20AS\x20\x22unitPrice\x22,\x20o.Quantity\x20AS\x20\x22quantity\x22\x20FROM\x20\x22Order\x20Details\x22\x20o\x20INNER\x20JOIN\x20Orders\x20o1\x20ON\x20o1.OrderID\x20=\x20o.OrderID\x20INNER\x20JOIN\x20Products\x20p\x20ON\x20p.ProductID\x20=\x20o.ProductID\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20(o1.ShippedDate\x20BETWEEN\x20:fromDate\x20AND\x20:toDate\x20AND\x20o.UnitPrice\x20>\x20:minValue)\x20ORDER\x20BY\x20\x22category\x22\x20asc,\x20\x22product\x22\x20asc,\x20o.UnitPrice\x20asc,\x20o.Quantity\x20asc\x20','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\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductID\x20asc\x20\x20OFFSET\x200\x20ROWS\x20FETCH\x20NEXT\x201\x20ROWS\x20ONLY\x20','then','SELECT\x20p.ProductName\x20AS\x20\x22name\x22,\x20c.CategoryName\x20AS\x20\x22category\x22\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20\x22category\x22\x20asc,\x20p.ProductName\x20asc\x20','SELECT\x20p.ProductID\x20AS\x20\x22id\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.SupplierID\x20AS\x20\x22supplierId\x22,\x20p.CategoryID\x20AS\x20\x22categoryId\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitPrice\x20AS\x20\x22price\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22,\x20p.UnitsOnOrder\x20AS\x20\x22onOrder\x22,\x20p.ReorderLevel\x20AS\x20\x22reorderLevel\x22,\x20p.Discontinued\x20AS\x20\x22discontinued\x22\x20FROM\x20Products\x20p\x20\x20WHERE\x20p.ProductID\x20=\x20:id\x20ORDER\x20BY\x20p.ProductID\x20asc\x20','__esModule','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\x20FROM\x20Products\x20p\x20\x20WHERE\x20p.ProductID\x20=\x20@id\x20ORDER\x20BY\x20p.ProductID\x20asc\x20','dotenv','Products.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}).sort(p=>asc(p.id)).page(1,1)','Oracle','Products.map(p=>{category:p.category.name,name:p.name,quantity:p.quantity,inStock:p.inStock}).sort(p=>asc(p.category)).page(1,1)','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\x20FROM\x20Products\x20p\x20\x20WHERE\x20p.ProductID\x20=\x20?\x20ORDER\x20BY\x20p.ProductID\x20asc\x20','Products.map(p=>distinct({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})).sort(p=>asc(p.id))','6VNdeZp','query\x207','[{\x22$lookup\x22:{\x22from\x22:\x22Categories\x22,\x22localField\x22:\x22CategoryID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22c\x22}},{\x22$project\x22:{\x22_id\x22:0,\x22category\x22:{\x22$arrayElemAt\x22:[\x22$c.CategoryName\x22,0]},\x22name\x22:\x22$ProductName\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22inStock\x22:\x22$UnitsInStock\x22}},{\x22$sort\x22:{\x22category\x22:1}},{\x22$skip\x22:0},{\x22$limit\x22:1}\x20]','name','../../..','SELECT\x20DISTINCT\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\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductID\x20asc\x20','SELECT\x20c.CategoryName\x20AS\x20\x22category\x22\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20\x22category\x22\x20asc\x20','inStock','10796562MEnYeK','query\x204','SELECT\x20c.CategoryName\x20AS\x20category,\x20p.ProductName\x20AS\x20name,\x20p.QuantityPerUnit\x20AS\x20quantity,\x20p.UnitsInStock\x20AS\x20inStock\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20category\x20asc\x20\x20LIMIT\x200,1\x20','Products.distinct(p\x20=>\x20({\x20category:\x20p.category.name\x20})).sort(p\x20=>\x20p.category)','[{\x22$match\x22:{\x22Discontinued\x22:{\x22$ne\x22:false}}},{\x22$project\x22:{\x22_id\x22:0,\x22id\x22:\x22$_id\x22}},{\x22$sort\x22:{\x22_id\x22:-1}},{\x22$skip\x22:0},{\x22$limit\x22:1}\x20]','Products.map(p=>{category:p.category.name,name:p.name,quantity:p.quantity,inStock:p.inStock}).sort(p=>asc(p.name))','1842628hYmASw','SELECT\x20c.CategoryName\x20AS\x20category,\x20p.ProductName\x20AS\x20name,\x20p.QuantityPerUnit\x20AS\x20quantity,\x20p.UnitsInStock\x20AS\x20inStock\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20p.ProductName\x20asc\x20','PostgreSQL','SELECT\x20c.CategoryName\x20AS\x20category,\x20p.ProductName\x20AS\x20product,\x20o.UnitPrice\x20AS\x20unitPrice,\x20o.Quantity\x20AS\x20quantity\x20FROM\x20[Order\x20Details]\x20o\x20INNER\x20JOIN\x20Orders\x20o1\x20ON\x20o1.OrderID\x20=\x20o.OrderID\x20INNER\x20JOIN\x20Products\x20p\x20ON\x20p.ProductID\x20=\x20o.ProductID\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20(o1.ShippedDate\x20BETWEEN\x20@fromDate\x20AND\x20@toDate\x20AND\x20o.UnitPrice\x20>\x20@minValue)\x20ORDER\x20BY\x20category\x20asc,\x20product\x20asc,\x20o.UnitPrice\x20asc,\x20o.Quantity\x20asc\x20','Products.filter(p\x20=>\x20p.id\x20===\x20id).map(p\x20=>\x20p).sort(p\x20=>\x20p.id)','SELECT\x20p.ProductID\x20AS\x20\x22id\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.SupplierID\x20AS\x20\x22supplierId\x22,\x20p.CategoryID\x20AS\x20\x22categoryId\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitPrice\x20AS\x20\x22price\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22,\x20p.UnitsOnOrder\x20AS\x20\x22onOrder\x22,\x20p.ReorderLevel\x20AS\x20\x22reorderLevel\x22,\x20p.Discontinued\x20AS\x20\x22discontinued\x22\x20FROM\x20Products\x20p\x20\x20ORDER\x20BY\x20p.ProductID\x20asc\x20\x20OFFSET\x200\x20ROWS\x20FETCH\x20NEXT\x201\x20ROWS\x20ONLY\x20','minValue','Products.last(p\x20=>\x20p)','39045MnGSGZ','query\x2013','SELECT\x20c.CategoryName\x20AS\x20\x22category\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20\x22category\x22\x20asc\x20\x20OFFSET\x200\x20LIMIT\x201\x20','any','SELECT\x20DISTINCT\x20c.CategoryName\x20AS\x20category\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20category\x20asc\x20','109298UnIIrr','query\x2016','[{\x22$lookup\x22:{\x22from\x22:\x22Categories\x22,\x22localField\x22:\x22CategoryID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22c\x22}},{\x22$project\x22:{\x22_id\x22:0,\x22category\x22:{\x22$arrayElemAt\x22:[\x22$c.CategoryName\x22,0]}}},{\x22$sort\x22:{\x22category\x22:1}}]','fromDate','Products.distinct(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20category:\x20p.category.name\x20})).sort(p\x20=>\x20[p.quantity,\x20p.category])','SELECT\x20DISTINCT\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20c.CategoryName\x20AS\x20\x22category\x22\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20p.QuantityPerUnit\x20asc,\x20\x22category\x22\x20asc\x20','Products.first(p\x20=>\x20p)','Products.sort(p\x20=>\x20p.id).page(1,\x201)','Products.map(p=>distinct({category:p.category.name})).sort(p=>asc(p.category))','string','Products','boolean','[{\x22$match\x22:{\x22_id\x22:\x22$id$\x22}},{\x22$project\x22:{\x22_id\x22:0,\x22id\x22:\x22$_id\x22,\x22name\x22:\x22$ProductName\x22,\x22supplierId\x22:\x22$SupplierID\x22,\x22categoryId\x22:\x22$CategoryID\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22price\x22:\x22$UnitPrice\x22,\x22inStock\x22:\x22$UnitsInStock\x22,\x22onOrder\x22:\x22$UnitsOnOrder\x22,\x22reorderLevel\x22:\x22$ReorderLevel\x22,\x22discontinued\x22:\x22$Discontinued\x22}},{\x22$sort\x22:{\x22_id\x22:1}}]','query\x206','price','1007094JEQKjx','__awaiter','Products.filter(p\x20=>\x20p.id\x20===\x20id).sort(p\x20=>\x20p.id)','./config/northwind.yaml','quantity','query\x2011','SELECT\x20p.ProductID\x20AS\x20\x22id\x22\x20FROM\x20Products\x20p\x20\x20WHERE\x20p.Discontinued\x20<>\x20FALSE\x20ORDER\x20BY\x20p.ProductID\x20desc\x20\x20OFFSET\x200\x20LIMIT\x201\x20','SELECT\x20c.CategoryName\x20AS\x20category,\x20p.ProductName\x20AS\x20name,\x20p.QuantityPerUnit\x20AS\x20quantity,\x20p.UnitsInStock\x20AS\x20inStock\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20ORDER\x20BY\x20category\x20asc\x20\x20OFFSET\x200\x20ROWS\x20FETCH\x20NEXT\x201\x20ROWS\x20ONLY\x20','Products.map(p=>{id:p.id}).filter(p=>(p.discontinued!=false)).sort(p=>desc(p.id)).page(1,1)','Products.map(p=>{category:p.category.name,name:p.name,quantity:p.quantity,inStock:p.inStock}).filter(p=>(p.discontinued!=false)).sort(p=>[asc(p.category),desc(p.name)])','Products.first(p\x20=>\x20({\x20category:\x20p.category.name,\x20name:\x20p.name,\x20quantity:\x20p.quantity,\x20inStock:\x20p.inStock\x20}))','constraints','SELECT\x20c.CategoryName\x20AS\x20category,\x20p.ProductName\x20AS\x20name,\x20p.QuantityPerUnit\x20AS\x20quantity,\x20p.UnitsInStock\x20AS\x20inStock\x20FROM\x20Products\x20p\x20INNER\x20JOIN\x20Categories\x20c\x20ON\x20c.CategoryID\x20=\x20p.CategoryID\x20WHERE\x20p.Discontinued\x20<>\x20FALSE\x20ORDER\x20BY\x20category\x20asc,\x20p.ProductName\x20desc\x20','[{\x22$project\x22:{\x22_id\x22:0,\x22id\x22:\x22$_id\x22,\x22name\x22:\x22$ProductName\x22,\x22supplierId\x22:\x22$SupplierID\x22,\x22categoryId\x22:\x22$CategoryID\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22price\x22:\x22$UnitPrice\x22,\x22inStock\x22:\x22$UnitsInStock\x22,\x22onOrder\x22:\x22$UnitsOnOrder\x22,\x22reorderLevel\x22:\x22$ReorderLevel\x22,\x22discontinued\x22:\x22$Discontinued\x22}},{\x22$sort\x22:{\x22_id\x22:1}},{\x22$skip\x22:0},{\x22$limit\x22:1}\x20]','query\x2015','discontinued','Orders.details','MariaDB','10mvpkpO','parameters','date','Products.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}).filter(p=>(p.id==id)).sort(p=>asc(p.id))','Products.map(p=>{category:p.category.name}).sort(p=>asc(p.category))','select','Products.map(p\x20=>\x20({\x20category:\x20p.category.name\x20})).sort(p\x20=>\x20p.category)','Products.sort(p\x20=>\x20p.name)','integer','[{\x22$lookup\x22:{\x22from\x22:\x22Categories\x22,\x22localField\x22:\x22CategoryID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22c\x22}},{\x22$match\x22:{\x22Discontinued\x22:{\x22$ne\x22:false}}},{\x22$project\x22:{\x22_id\x22:0,\x22category\x22:{\x22$arrayElemAt\x22:[\x22$c.CategoryName\x22,0]},\x22name\x22:\x22$ProductName\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22inStock\x22:\x22$UnitsInStock\x22}},{\x22$sort\x22:{\x22category\x22:1,\x22ProductName\x22:-1}}]','[{\x22$lookup\x22:{\x22from\x22:\x22Categories\x22,\x22localField\x22:\x22CategoryID\x22,\x22foreignField\x22:\x22_id\x22,\x22as\x22:\x22c\x22}},{\x22$group\x22:{\x22_id\x22:null,\x22__distinct\x22:{\x22$addToSet\x22:{\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22category\x22:{\x22$arrayElemAt\x22:[\x22$c.CategoryName\x22,0]}}}}},{\x22$sort\x22:{\x22QuantityPerUnit\x22:1,\x22category\x22:1}},{\x22$project\x22:{\x22_id\x22:0}}]','192EjFAaK','SELECT\x20p.ProductID\x20AS\x20id\x20FROM\x20Products\x20p\x20\x20WHERE\x20p.Discontinued\x20<>\x200\x20ORDER\x20BY\x20p.ProductID\x20desc\x20\x20OFFSET\x200\x20ROWS\x20FETCH\x20NEXT\x201\x20ROWS\x20ONLY\x20','query\x2012','Orders.details.map(p=>{category:p.product.category.name,product:p.product.name,unitPrice:p.unitPrice,quantity:p.quantity}).filter(p=>(between(p.order.shippedDate,fromDate,toDate)&&(p.unitPrice>minValue))).sort(p=>[asc(p.category),asc(p.product),asc(p.unitPrice),asc(p.quantity)])','query\x2014','query\x2017','orm'];a159s=function(){return sl;};return a159s();}const a159z=a159y;(function(s,y){const r=a159y,g=s();while(!![]){try{const x=parseInt(r(0x223))/0x1+parseInt(r(0x1b6))/0x2+parseInt(r(0x1f9))/0x3*(parseInt(r(0x207))/0x4)+-parseInt(r(0x20f))/0x5+-parseInt(r(0x1a0))/0x6*(parseInt(r(0x214))/0x7)+parseInt(r(0x1cc))/0x8+parseInt(r(0x201))/0x9*(-parseInt(r(0x195))/0xa);if(x===y)break;else g['push'](g['shift']());}catch(m){g['push'](g['shift']());}}}(a159s,0x81bfa));var __awaiter=this&&this[a159z(0x224)]||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=a159y;function t(c){const d=a159y;try{a(g[d(0x1d1)](c));}catch(k){w(k);}}function v(c){const i=a159y;try{a(g[i(0x1e0)](c));}catch(k){w(k);}}function a(c){const o=a159y;c['done']?m(c['value']):x(c['value'])[o(0x1ee)](t,v);}a((g=g[p(0x1b2)](s,y||[]))[p(0x1d1)]());});};Object[a159z(0x1ea)](exports,a159z(0x1f1),{'value':!![]});const __1=require(a159z(0x1fd));function a159y(s,y){const O=a159s();return a159y=function(D,g){D=D-0x18c;let M=O[D];return M;},a159y(s,y);}beforeAll(()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const f=a159z;require(f(0x1f3))[f(0x1aa)]({'path':'./config/northwind.env'}),yield __1['orm'][f(0x1b3)](f(0x226));})),describe(a159z(0x1c1),()=>{const q=a159z;test(q(0x1e8),()=>{const j=q,s='Products.sort(p\x20=>\x20p.name)',y=j(0x1eb),g=__1[j(0x1a6)][j(0x1a9)](s);expect(y)[j(0x1a7)](g);}),test('query\x202',()=>{const b=q,s=b(0x1b9),y=b(0x1f4),g=__1[b(0x1a6)][b(0x1a9)](s);expect(y)[b(0x1a7)](g);}),test(q(0x1ab),()=>{const l=q,s=l(0x21b),y=l(0x1f4),g=__1[l(0x1a6)]['normalize'](s);expect(y)['toBe'](g);}),test(q(0x202),()=>{const u=q,s='Products.filter(p\x20=>\x20p.id\x20===\x20id).map(p\x20=>\x20p).sort(p\x20=>\x20p.id)',y=u(0x198),g=__1[u(0x1a6)][u(0x1a9)](s);expect(y)[u(0x1a7)](g);}),test(q(0x1d4),()=>{const e=q,s=e(0x225),y=e(0x198),g=__1[e(0x1a6)][e(0x1a9)](s);expect(y)[e(0x1a7)](g);}),test('query\x206',()=>{const n=q,s='Products.map(p\x20=>\x20({\x20category:\x20p.category.name\x20})).sort(p\x20=>\x20p.category)',y=n(0x199),g=__1[n(0x1a6)]['normalize'](s);expect(y)[n(0x1a7)](g);}),test(q(0x1fa),()=>{const h=q,s=h(0x1b1),y='Products.map(p=>{name:p.name,category:p.category.name}).sort(p=>[asc(p.category),asc(p.name)])',g=__1['orm'][h(0x1a9)](s);expect(y)['toBe'](g);}),test(q(0x1df),()=>{const s0=q,s=s0(0x1e4),y=s0(0x206),g=__1[s0(0x1a6)][s0(0x1a9)](s);expect(y)[s0(0x1a7)](g);}),test('query\x209',()=>{const s1=q,s=s1(0x1b0),y=s1(0x18c),g=__1[s1(0x1a6)]['normalize'](s);expect(y)['toBe'](g);}),test(q(0x1ce),()=>{const s2=q,s=s2(0x1e1),y=s2(0x1a3),g=__1[s2(0x1a6)]['normalize'](s);expect(y)[s2(0x1a7)](g);}),test(q(0x228),()=>{const s3=q,s=s3(0x21b),y=s3(0x1f4),g=__1[s3(0x1a6)][s3(0x1a9)](s);expect(y)[s3(0x1a7)](g);}),test(q(0x1a2),()=>{const s4=q,s=s4(0x21a),y=s4(0x1f4),g=__1[s4(0x1a6)][s4(0x1a9)](s);expect(y)[s4(0x1a7)](g);}),test(q(0x210),()=>{const s5=q,s=s5(0x20e),y=s5(0x1bc),g=__1[s5(0x1a6)][s5(0x1a9)](s);expect(y)[s5(0x1a7)](g);}),test(q(0x1a4),()=>{const s6=q,s=s6(0x18d),y=s6(0x1f6),g=__1[s6(0x1a6)][s6(0x1a9)](s);expect(y)['toBe'](g);}),test(q(0x191),()=>{const s7=q,s='Products.filter(p\x20=>\x20p.discontinued\x20!==\x20false).last(p\x20=>\x20p.id)',y=s7(0x22b),g=__1['orm'][s7(0x1a9)](s);expect(y)[s7(0x1a7)](g);}),test(q(0x215),()=>{const s8=q,s='Products.distinct(p\x20=>\x20p).sort(p\x20=>\x20p.id)',y=s8(0x1f8),g=__1['orm'][s8(0x1a9)](s);expect(y)[s8(0x1a7)](g);}),test(q(0x1a5),()=>{const s9=q,s=s9(0x204),y=s9(0x21c),g=__1['orm'][s9(0x1a9)](s);expect(y)[s9(0x1a7)](g);}),test('query\x2018',()=>{const ss=q,s=ss(0x218),y=ss(0x1d2),g=__1[ss(0x1a6)][ss(0x1a9)](s);expect(y)[ss(0x1a7)](g);});}),describe('Metadata',()=>{const sy=a159z;test(sy(0x1e8),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sO=sy,s=sO(0x19c),y=[{'name':'id','type':sO(0x19d)},{'name':sO(0x1fc),'type':sO(0x21d)},{'name':sO(0x1b8),'type':sO(0x19d)},{'name':'categoryId','type':'integer'},{'name':sO(0x227),'type':sO(0x21d)},{'name':sO(0x222),'type':sO(0x1af)},{'name':sO(0x200),'type':'decimal'},{'name':'onOrder','type':'decimal'},{'name':sO(0x1c8),'type':sO(0x1af)},{'name':sO(0x192),'type':'boolean'}],g=[],x={'classtype':'Sentence','pos':{'ln':0x0,'col':0xe},'name':sO(0x19a),'children':[],'type':sO(0x212),'entity':sO(0x21e),'columns':[{'name':'id','type':sO(0x19d)},{'name':sO(0x1fc),'type':'string'},{'name':sO(0x1b8),'type':sO(0x19d)},{'name':sO(0x1e2),'type':sO(0x19d)},{'name':sO(0x227),'type':sO(0x21d)},{'name':sO(0x222),'type':'decimal'},{'name':sO(0x200),'type':sO(0x1af)},{'name':sO(0x1e5),'type':'decimal'},{'name':sO(0x1c8),'type':sO(0x1af)},{'name':sO(0x192),'type':sO(0x21f)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sO(0x19a),'alias':'p'},m={'entity':sO(0x21e),'constraints':[]},w=__1[sO(0x1a6)][sO(0x1b4)](s),t=__1[sO(0x1a6)][sO(0x196)](s),v=__1[sO(0x1a6)][sO(0x18e)](s),a=__1[sO(0x1a6)][sO(0x1c2)](s);expect(y)['toStrictEqual'](w),expect(x['columns'])[sO(0x1ba)](a['columns']),expect(g)[sO(0x1ba)](t),expect(m)['toStrictEqual'](v);})),test(sy(0x1a8),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sD=sy,s=sD(0x1b9),y=[{'name':'id','type':sD(0x19d)},{'name':'name','type':sD(0x21d)},{'name':'supplierId','type':sD(0x19d)},{'name':sD(0x1e2),'type':sD(0x19d)},{'name':'quantity','type':'string'},{'name':sD(0x222),'type':sD(0x1af)},{'name':sD(0x200),'type':'decimal'},{'name':sD(0x1e5),'type':sD(0x1af)},{'name':'reorderLevel','type':sD(0x1af)},{'name':sD(0x192),'type':sD(0x21f)}],g=[],x={'classtype':sD(0x1e9),'pos':{'ln':0x0,'col':0x2a},'name':sD(0x19a),'children':[],'type':'any','entity':sD(0x21e),'columns':[{'name':'id','type':sD(0x19d)},{'name':sD(0x1fc),'type':sD(0x21d)},{'name':sD(0x1b8),'type':sD(0x19d)},{'name':sD(0x1e2),'type':'integer'},{'name':sD(0x227),'type':'string'},{'name':sD(0x222),'type':sD(0x1af)},{'name':sD(0x200),'type':sD(0x1af)},{'name':'onOrder','type':'decimal'},{'name':sD(0x1c8),'type':sD(0x1af)},{'name':'discontinued','type':'boolean'}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'p'},m={'entity':sD(0x21e),'constraints':[]},w=__1[sD(0x1a6)][sD(0x1b4)](s),t=__1['orm']['parameters'](s),v=__1[sD(0x1a6)]['constraints'](s),a=__1[sD(0x1a6)]['metadata'](s);expect(y)[sD(0x1ba)](w),expect(x[sD(0x1da)])[sD(0x1ba)](a[sD(0x1da)]),expect(g)[sD(0x1ba)](t),expect(m)[sD(0x1ba)](v);})),test('query\x203',()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sg=sy,s=sg(0x21b),y=[{'name':'id','type':sg(0x19d)},{'name':sg(0x1fc),'type':sg(0x21d)},{'name':sg(0x1b8),'type':sg(0x19d)},{'name':sg(0x1e2),'type':sg(0x19d)},{'name':sg(0x227),'type':'string'},{'name':'price','type':'decimal'},{'name':'inStock','type':'decimal'},{'name':sg(0x1e5),'type':'decimal'},{'name':sg(0x1c8),'type':'decimal'},{'name':'discontinued','type':sg(0x21f)}],g=[],x={'classtype':'Sentence','pos':{'ln':0x0,'col':0x1e},'name':sg(0x19a),'children':[],'type':sg(0x212),'entity':sg(0x21e),'columns':[{'name':'id','type':sg(0x19d)},{'name':sg(0x1fc),'type':'string'},{'name':sg(0x1b8),'type':sg(0x19d)},{'name':'categoryId','type':'integer'},{'name':sg(0x227),'type':sg(0x21d)},{'name':sg(0x222),'type':sg(0x1af)},{'name':sg(0x200),'type':sg(0x1af)},{'name':sg(0x1e5),'type':sg(0x1af)},{'name':sg(0x1c8),'type':sg(0x1af)},{'name':'discontinued','type':'boolean'}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sg(0x19a),'alias':'p'},m={'entity':sg(0x21e),'constraints':[]},w=__1['orm']['model'](s),t=__1['orm']['parameters'](s),v=__1[sg(0x1a6)][sg(0x18e)](s),a=__1[sg(0x1a6)][sg(0x1c2)](s);expect(y)['toStrictEqual'](w),expect(x['columns'])[sg(0x1ba)](a[sg(0x1da)]),expect(g)[sg(0x1ba)](t),expect(m)[sg(0x1ba)](v);})),test('query\x204',()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sM=sy,s=sM(0x20b),y=[{'name':'id','type':sM(0x19d)},{'name':sM(0x1fc),'type':'string'},{'name':sM(0x1b8),'type':sM(0x19d)},{'name':sM(0x1e2),'type':sM(0x19d)},{'name':'quantity','type':sM(0x21d)},{'name':sM(0x222),'type':sM(0x1af)},{'name':sM(0x200),'type':sM(0x1af)},{'name':sM(0x1e5),'type':'decimal'},{'name':'reorderLevel','type':sM(0x1af)},{'name':sM(0x192),'type':sM(0x21f)}],g=[{'name':'id','type':sM(0x19d)}],x={'classtype':'Sentence','pos':{'ln':0x0,'col':0x33},'name':'select','children':[],'type':sM(0x212),'entity':sM(0x21e),'columns':[{'name':'id','type':sM(0x19d)},{'name':sM(0x1fc),'type':sM(0x21d)},{'name':'supplierId','type':sM(0x19d)},{'name':sM(0x1e2),'type':sM(0x19d)},{'name':'quantity','type':sM(0x21d)},{'name':'price','type':sM(0x1af)},{'name':sM(0x200),'type':sM(0x1af)},{'name':sM(0x1e5),'type':'decimal'},{'name':sM(0x1c8),'type':'decimal'},{'name':sM(0x192),'type':sM(0x21f)}],'parameters':[{'name':'id','type':'integer'}],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'p'},m={'entity':'Products','constraints':[]},w=__1['orm'][sM(0x1b4)](s),t=__1[sM(0x1a6)]['parameters'](s),v=__1[sM(0x1a6)][sM(0x18e)](s),a=__1['orm'][sM(0x1c2)](s);expect(y)[sM(0x1ba)](w),expect(x[sM(0x1da)])[sM(0x1ba)](a[sM(0x1da)]),expect(g)[sM(0x1ba)](t),expect(m)['toStrictEqual'](v);})),test(sy(0x1d4),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sE=sy,s=sE(0x225),y=[{'name':'id','type':sE(0x19d)},{'name':'name','type':sE(0x21d)},{'name':sE(0x1b8),'type':sE(0x19d)},{'name':sE(0x1e2),'type':sE(0x19d)},{'name':sE(0x227),'type':sE(0x21d)},{'name':'price','type':sE(0x1af)},{'name':sE(0x200),'type':sE(0x1af)},{'name':sE(0x1e5),'type':'decimal'},{'name':sE(0x1c8),'type':sE(0x1af)},{'name':sE(0x192),'type':sE(0x21f)}],g=[{'name':'id','type':sE(0x19d)}],x={'classtype':sE(0x1e9),'pos':{'ln':0x0,'col':0x27},'name':sE(0x19a),'children':[],'type':sE(0x212),'entity':'Products','columns':[{'name':'id','type':sE(0x19d)},{'name':'name','type':sE(0x21d)},{'name':sE(0x1b8),'type':sE(0x19d)},{'name':sE(0x1e2),'type':sE(0x19d)},{'name':sE(0x227),'type':'string'},{'name':sE(0x222),'type':'decimal'},{'name':sE(0x200),'type':sE(0x1af)},{'name':'onOrder','type':sE(0x1af)},{'name':sE(0x1c8),'type':sE(0x1af)},{'name':sE(0x192),'type':sE(0x21f)}],'parameters':[{'name':'id','type':'integer'}],'constraints':[],'values':[],'defaults':[],'clause':sE(0x19a),'alias':'p'},m={'entity':sE(0x21e),'constraints':[]},w=__1[sE(0x1a6)][sE(0x1b4)](s),t=__1['orm'][sE(0x196)](s),v=__1[sE(0x1a6)][sE(0x18e)](s),a=__1[sE(0x1a6)][sE(0x1c2)](s);expect(y)[sE(0x1ba)](w),expect(x[sE(0x1da)])[sE(0x1ba)](a[sE(0x1da)]),expect(g)[sE(0x1ba)](t),expect(m)['toStrictEqual'](v);})),test(sy(0x221),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sx=sy,s=sx(0x19b),y=[{'name':sx(0x1bb),'type':'string'}],g=[],x={'classtype':sx(0x1e9),'pos':{'ln':0x0,'col':0x38},'name':'select','children':[],'type':'any','entity':sx(0x21e),'columns':[{'name':sx(0x1bb),'type':sx(0x21d)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'p'},m={'entity':sx(0x21e),'constraints':[]},w=__1['orm'][sx(0x1b4)](s),t=__1['orm'][sx(0x196)](s),v=__1[sx(0x1a6)][sx(0x18e)](s),a=__1[sx(0x1a6)][sx(0x1c2)](s);expect(y)['toStrictEqual'](w),expect(x[sx(0x1da)])[sx(0x1ba)](a[sx(0x1da)]),expect(g)[sx(0x1ba)](t),expect(m)[sx(0x1ba)](v);})),test(sy(0x1fa),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sm=sy,s=sm(0x1b1),y=[{'name':sm(0x1fc),'type':sm(0x21d)},{'name':sm(0x1bb),'type':sm(0x21d)}],g=[],x={'classtype':sm(0x1e9),'pos':{'ln':0x0,'col':0x46},'name':sm(0x19a),'children':[],'type':sm(0x212),'entity':sm(0x21e),'columns':[{'name':sm(0x1fc),'type':sm(0x21d)},{'name':sm(0x1bb),'type':sm(0x21d)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sm(0x19a),'alias':'p'},m={'entity':'Products','constraints':[]},w=__1[sm(0x1a6)][sm(0x1b4)](s),t=__1[sm(0x1a6)][sm(0x196)](s),v=__1[sm(0x1a6)][sm(0x18e)](s),a=__1['orm']['metadata'](s);expect(y)[sm(0x1ba)](w),expect(x[sm(0x1da)])[sm(0x1ba)](a[sm(0x1da)]),expect(g)[sm(0x1ba)](t),expect(m)[sm(0x1ba)](v);})),test(sy(0x1df),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sH=sy,s=sH(0x1e4),y=[{'name':sH(0x1bb),'type':'string'},{'name':sH(0x1fc),'type':'string'},{'name':sH(0x227),'type':sH(0x21d)},{'name':sH(0x200),'type':sH(0x1af)}],g=[],x={'classtype':sH(0x1e9),'pos':{'ln':0x0,'col':0x70},'name':sH(0x19a),'children':[],'type':sH(0x212),'entity':sH(0x21e),'columns':[{'name':'category','type':sH(0x21d)},{'name':'name','type':sH(0x21d)},{'name':'quantity','type':sH(0x21d)},{'name':sH(0x200),'type':sH(0x1af)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sH(0x19a),'alias':'p'},m={'entity':sH(0x21e),'constraints':[]},w=__1[sH(0x1a6)][sH(0x1b4)](s),t=__1[sH(0x1a6)]['parameters'](s),v=__1['orm'][sH(0x18e)](s),a=__1[sH(0x1a6)][sH(0x1c2)](s);expect(y)['toStrictEqual'](w),expect(x[sH(0x1da)])[sH(0x1ba)](a[sH(0x1da)]),expect(g)[sH(0x1ba)](t),expect(m)['toStrictEqual'](v);})),test(sy(0x1e3),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sw=sy,s=sw(0x1b0),y=[{'name':sw(0x1bb),'type':'string'},{'name':'name','type':'string'},{'name':sw(0x227),'type':sw(0x21d)},{'name':sw(0x200),'type':sw(0x1af)}],g=[],x={'classtype':sw(0x1e9),'pos':{'ln':0x0,'col':0x96},'name':sw(0x19a),'children':[],'type':sw(0x212),'entity':sw(0x21e),'columns':[{'name':sw(0x1bb),'type':sw(0x21d)},{'name':'name','type':sw(0x21d)},{'name':sw(0x227),'type':'string'},{'name':sw(0x200),'type':sw(0x1af)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sw(0x19a),'alias':'p'},m={'entity':'Products','constraints':[]},w=__1[sw(0x1a6)][sw(0x1b4)](s),t=__1[sw(0x1a6)][sw(0x196)](s),v=__1['orm'][sw(0x18e)](s),a=__1['orm'][sw(0x1c2)](s);expect(y)[sw(0x1ba)](w),expect(x[sw(0x1da)])[sw(0x1ba)](a[sw(0x1da)]),expect(g)[sw(0x1ba)](t),expect(m)['toStrictEqual'](v);})),test(sy(0x1ce),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sI=sy,s=sI(0x1e1),y=[{'name':sI(0x1bb),'type':sI(0x21d)},{'name':sI(0x1cb),'type':sI(0x21d)},{'name':sI(0x1db),'type':sI(0x1af)},{'name':'quantity','type':sI(0x1af)}],g=[{'name':sI(0x217),'type':'date'},{'name':sI(0x1c6),'type':sI(0x197)},{'name':sI(0x20d),'type':sI(0x1af)}],x={'classtype':sI(0x1e9),'pos':{'ln':0x0,'col':0xe3},'name':sI(0x19a),'children':[],'type':sI(0x212),'entity':sI(0x193),'columns':[{'name':'category','type':sI(0x21d)},{'name':'product','type':sI(0x21d)},{'name':sI(0x1db),'type':sI(0x1af)},{'name':'quantity','type':sI(0x1af)}],'parameters':[{'name':sI(0x217),'type':'date'},{'name':sI(0x1c6),'type':sI(0x197)},{'name':sI(0x20d),'type':'decimal'}],'constraints':[],'values':[],'defaults':[],'clause':sI(0x19a),'alias':'o'},m={'entity':sI(0x193),'constraints':[]},w=__1['orm'][sI(0x1b4)](s),t=__1['orm'][sI(0x196)](s),v=__1[sI(0x1a6)][sI(0x18e)](s),a=__1[sI(0x1a6)]['metadata'](s);expect(y)['toStrictEqual'](w),expect(x['columns'])[sI(0x1ba)](a[sI(0x1da)]),expect(g)[sI(0x1ba)](t),expect(m)['toStrictEqual'](v);})),test(sy(0x228),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sF=sy,s='Products.sort(p\x20=>\x20p.id).page(1,\x201)',y=[{'name':'id','type':sF(0x19d)},{'name':'name','type':sF(0x21d)},{'name':'supplierId','type':sF(0x19d)},{'name':sF(0x1e2),'type':sF(0x19d)},{'name':sF(0x227),'type':'string'},{'name':'price','type':'decimal'},{'name':sF(0x200),'type':sF(0x1af)},{'name':'onOrder','type':sF(0x1af)},{'name':sF(0x1c8),'type':'decimal'},{'name':sF(0x192),'type':sF(0x21f)}],g=[],x={'classtype':sF(0x1e9),'pos':{'ln':0x0,'col':0x1e},'name':sF(0x19a),'children':[],'type':sF(0x212),'entity':sF(0x21e),'columns':[{'name':'id','type':'integer'},{'name':sF(0x1fc),'type':sF(0x21d)},{'name':sF(0x1b8),'type':sF(0x19d)},{'name':sF(0x1e2),'type':sF(0x19d)},{'name':'quantity','type':'string'},{'name':'price','type':sF(0x1af)},{'name':sF(0x200),'type':sF(0x1af)},{'name':'onOrder','type':'decimal'},{'name':sF(0x1c8),'type':'decimal'},{'name':sF(0x192),'type':'boolean'}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sF(0x19a),'alias':'p'},m={'entity':'Products','constraints':[]},w=__1[sF(0x1a6)][sF(0x1b4)](s),t=__1['orm'][sF(0x196)](s),v=__1['orm']['constraints'](s),a=__1['orm'][sF(0x1c2)](s);expect(y)['toStrictEqual'](w),expect(x[sF(0x1da)])['toStrictEqual'](a[sF(0x1da)]),expect(g)[sF(0x1ba)](t),expect(m)[sF(0x1ba)](v);})),test(sy(0x1a2),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const st=sy,s=st(0x21a),y=[{'name':'id','type':'integer'},{'name':'name','type':st(0x21d)},{'name':'supplierId','type':st(0x19d)},{'name':'categoryId','type':st(0x19d)},{'name':st(0x227),'type':'string'},{'name':st(0x222),'type':'decimal'},{'name':st(0x200),'type':st(0x1af)},{'name':st(0x1e5),'type':'decimal'},{'name':st(0x1c8),'type':st(0x1af)},{'name':'discontinued','type':st(0x21f)}],g=[],x={'classtype':st(0x1e9),'pos':{'ln':0x0,'col':0xf},'name':st(0x19a),'children':[],'type':'any','entity':st(0x21e),'columns':[{'name':'id','type':st(0x19d)},{'name':'name','type':st(0x21d)},{'name':st(0x1b8),'type':st(0x19d)},{'name':st(0x1e2),'type':st(0x19d)},{'name':st(0x227),'type':st(0x21d)},{'name':'price','type':st(0x1af)},{'name':st(0x200),'type':st(0x1af)},{'name':'onOrder','type':st(0x1af)},{'name':'reorderLevel','type':st(0x1af)},{'name':st(0x192),'type':st(0x21f)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':st(0x19a),'alias':'p'},m={'entity':st(0x21e),'constraints':[]},w=__1[st(0x1a6)][st(0x1b4)](s),t=__1[st(0x1a6)][st(0x196)](s),v=__1[st(0x1a6)][st(0x18e)](s),a=__1[st(0x1a6)][st(0x1c2)](s);expect(y)['toStrictEqual'](w),expect(x['columns'])[st(0x1ba)](a[st(0x1da)]),expect(g)[st(0x1ba)](t),expect(m)[st(0x1ba)](v);})),test(sy(0x210),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sv=sy,s=sv(0x20e),y=[{'name':'id','type':sv(0x19d)},{'name':sv(0x1fc),'type':'string'},{'name':'supplierId','type':sv(0x19d)},{'name':'categoryId','type':sv(0x19d)},{'name':'quantity','type':sv(0x21d)},{'name':sv(0x222),'type':sv(0x1af)},{'name':sv(0x200),'type':'decimal'},{'name':sv(0x1e5),'type':'decimal'},{'name':sv(0x1c8),'type':'decimal'},{'name':sv(0x192),'type':sv(0x21f)}],g=[],x={'classtype':sv(0x1e9),'pos':{'ln':0x0,'col':0xe},'name':'select','children':[],'type':sv(0x212),'entity':sv(0x21e),'columns':[{'name':'id','type':sv(0x19d)},{'name':sv(0x1fc),'type':sv(0x21d)},{'name':sv(0x1b8),'type':sv(0x19d)},{'name':'categoryId','type':sv(0x19d)},{'name':sv(0x227),'type':'string'},{'name':sv(0x222),'type':sv(0x1af)},{'name':sv(0x200),'type':sv(0x1af)},{'name':sv(0x1e5),'type':sv(0x1af)},{'name':sv(0x1c8),'type':'decimal'},{'name':sv(0x192),'type':sv(0x21f)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sv(0x19a),'alias':'p'},m={'entity':'Products','constraints':[]},w=__1[sv(0x1a6)][sv(0x1b4)](s),t=__1[sv(0x1a6)][sv(0x196)](s),v=__1[sv(0x1a6)][sv(0x18e)](s),a=__1[sv(0x1a6)][sv(0x1c2)](s);expect(y)['toStrictEqual'](w),expect(x['columns'])[sv(0x1ba)](a[sv(0x1da)]),expect(g)[sv(0x1ba)](t),expect(m)[sv(0x1ba)](v);})),test(sy(0x1a4),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sR=sy,s=sR(0x18d),y=[{'name':sR(0x1bb),'type':sR(0x21d)},{'name':sR(0x1fc),'type':sR(0x21d)},{'name':sR(0x227),'type':sR(0x21d)},{'name':sR(0x200),'type':sR(0x1af)}],g=[],x={'classtype':sR(0x1e9),'pos':{'ln':0x0,'col':0xf},'name':sR(0x19a),'children':[],'type':'any','entity':sR(0x21e),'columns':[{'name':sR(0x1bb),'type':sR(0x21d)},{'name':sR(0x1fc),'type':sR(0x21d)},{'name':'quantity','type':'string'},{'name':'inStock','type':sR(0x1af)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'p'},m={'entity':sR(0x21e),'constraints':[]},w=__1[sR(0x1a6)]['model'](s),t=__1[sR(0x1a6)]['parameters'](s),v=__1['orm']['constraints'](s),a=__1[sR(0x1a6)][sR(0x1c2)](s);expect(y)[sR(0x1ba)](w),expect(x[sR(0x1da)])[sR(0x1ba)](a[sR(0x1da)]),expect(g)[sR(0x1ba)](t),expect(m)[sR(0x1ba)](v);})),test(sy(0x191),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sY=sy,s=sY(0x1dc),y=[{'name':'id','type':'integer'}],g=[],x={'classtype':sY(0x1e9),'pos':{'ln':0x0,'col':0x34},'name':sY(0x19a),'children':[],'type':'any','entity':sY(0x21e),'columns':[{'name':'id','type':sY(0x19d)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':'select','alias':'p'},m={'entity':'Products','constraints':[]},w=__1[sY(0x1a6)]['model'](s),t=__1['orm'][sY(0x196)](s),v=__1['orm'][sY(0x18e)](s),a=__1[sY(0x1a6)][sY(0x1c2)](s);expect(y)[sY(0x1ba)](w),expect(x[sY(0x1da)])['toStrictEqual'](a[sY(0x1da)]),expect(g)['toStrictEqual'](t),expect(m)[sY(0x1ba)](v);})),test(sy(0x215),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sa=sy,s=sa(0x1c3),y=[{'name':'id','type':sa(0x19d)},{'name':sa(0x1fc),'type':sa(0x21d)},{'name':sa(0x1b8),'type':'integer'},{'name':sa(0x1e2),'type':sa(0x19d)},{'name':sa(0x227),'type':sa(0x21d)},{'name':sa(0x222),'type':sa(0x1af)},{'name':'inStock','type':sa(0x1af)},{'name':'onOrder','type':'decimal'},{'name':'reorderLevel','type':sa(0x1af)},{'name':sa(0x192),'type':sa(0x21f)}],g=[],x={'classtype':'Sentence','pos':{'ln':0x0,'col':0x1f},'name':sa(0x19a),'children':[],'type':sa(0x212),'entity':sa(0x21e),'columns':[{'name':'id','type':sa(0x19d)},{'name':sa(0x1fc),'type':sa(0x21d)},{'name':'supplierId','type':'integer'},{'name':'categoryId','type':'integer'},{'name':sa(0x227),'type':sa(0x21d)},{'name':sa(0x222),'type':sa(0x1af)},{'name':sa(0x200),'type':sa(0x1af)},{'name':sa(0x1e5),'type':'decimal'},{'name':'reorderLevel','type':sa(0x1af)},{'name':sa(0x192),'type':'boolean'}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sa(0x19a),'alias':'p'},m={'entity':sa(0x21e),'constraints':[]},w=__1['orm']['model'](s),t=__1[sa(0x1a6)][sa(0x196)](s),v=__1[sa(0x1a6)][sa(0x18e)](s),a=__1['orm'][sa(0x1c2)](s);expect(y)[sa(0x1ba)](w),expect(x[sa(0x1da)])[sa(0x1ba)](a[sa(0x1da)]),expect(g)[sa(0x1ba)](t),expect(m)['toStrictEqual'](v);})),test(sy(0x1a5),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sc=sy,s=sc(0x204),y=[{'name':sc(0x1bb),'type':sc(0x21d)}],g=[],x={'classtype':sc(0x1e9),'pos':{'ln':0x0,'col':0x3d},'name':sc(0x19a),'children':[],'type':sc(0x212),'entity':sc(0x21e),'columns':[{'name':sc(0x1bb),'type':sc(0x21d)}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sc(0x19a),'alias':'p'},m={'entity':sc(0x21e),'constraints':[]},w=__1[sc(0x1a6)][sc(0x1b4)](s),t=__1['orm'][sc(0x196)](s),v=__1[sc(0x1a6)][sc(0x18e)](s),a=__1[sc(0x1a6)][sc(0x1c2)](s);expect(y)[sc(0x1ba)](w),expect(x[sc(0x1da)])['toStrictEqual'](a[sc(0x1da)]),expect(g)['toStrictEqual'](t),expect(m)[sc(0x1ba)](v);})),test(sy(0x1cf),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sk=sy,s='Products.distinct(p\x20=>\x20({\x20quantity:\x20p.quantity,\x20category:\x20p.category.name\x20})).sort(p\x20=>\x20[p.quantity,\x20p.category])',y=[{'name':sk(0x227),'type':sk(0x21d)},{'name':'category','type':'string'}],g=[],x={'classtype':'Sentence','pos':{'ln':0x0,'col':0x53},'name':sk(0x19a),'children':[],'type':'any','entity':sk(0x21e),'columns':[{'name':sk(0x227),'type':sk(0x21d)},{'name':'category','type':'string'}],'parameters':[],'constraints':[],'values':[],'defaults':[],'clause':sk(0x19a),'alias':'p'},m={'entity':sk(0x21e),'constraints':[]},w=__1[sk(0x1a6)]['model'](s),t=__1[sk(0x1a6)]['parameters'](s),v=__1[sk(0x1a6)][sk(0x18e)](s),a=__1['orm']['metadata'](s);expect(y)[sk(0x1ba)](w),expect(x[sk(0x1da)])[sk(0x1ba)](a[sk(0x1da)]),expect(g)[sk(0x1ba)](t),expect(m)['toStrictEqual'](v);}));}),describe(a159z(0x1c0),()=>{const sC=a159z;test(sC(0x1e8),()=>__awaiter(void 0x0,void 0x0,void 0x0,function*(){const sJ=sC,s=sJ(0x19c),MySQLExpected={'entity':'Products','dialect':sJ(0x1e7),'source':sJ(0x1e7),'sentence':sJ(0x1bf)};let MySQL=__1[sJ(0x1a6)][sJ(0x1d8)](s,{'stage':sJ(0x1e7)});expect(MySQLExpected)['toStrictEqual'](MySQL);const MariaDBExpected={'entity':sJ(0x21e),'dialect':sJ(0x194),'source':sJ(0x194),'sentence':sJ(0x1bf)};let MariaDB=__1[sJ(0x1a6)][sJ(0x1d8)](s,{'stage':sJ(0x194)});expect(MariaDBExpected)['toStrictEqual'](MariaDB);const PostgreSQLExpected={'entity':sJ(0x21e),'dialect':'PostgreSQL','source':sJ(0x209),'sentence':sJ(0x1ac)};let PostgreSQL=__1[sJ(0x1a6)][sJ(0x1d8)](s,{'stage':'PostgreSQL'});expect(PostgreSQLExpected)[sJ(0x1ba)](PostgreSQL);const SqlServerExpected={'entity':sJ(0x21e),'dialect':sJ(0x1ad),'source':sJ(0x1ad),'sentence':sJ(0x1bf)};let SqlServer=__1[sJ(0x1a6)][sJ(0x1d8)](s,{'stage':sJ(0x1ad)});expect(SqlServerExpected)[sJ(0x1ba)](SqlServer);const MongoDBExpected={'entity':sJ(0x21e),'dialect':sJ(0x1c4),'source':sJ(0x1c4),'sentence':'[{\x22$project\x22:{\x22_id\x22:0,\x22id\x22:\x22$_id\x22,\x22name\x22:\x22$ProductName\x22,\x22supplierId\x22:\x22$SupplierID\x22,\x22categoryId\x22:\x22$CategoryID\x22,\x22quantity\x22:\x22$QuantityPerUnit\x22,\x22price\x22:\x22$UnitPrice\x22,\x22inStock\x22:\x22$UnitsInStock\x22,\x22onOrder\x22:\x22$UnitsOnOrder\x22,\x22reorderLevel\x22:\x22$ReorderLevel\x22,\x22discontinued\x22:\x22$Discontinued\x22}},{\x22$sort\x22:{\x22ProductName\x22:1}}]'};let MongoDB=__1['orm'][sJ(0x1d8)](s,{'stage':'MongoDB'});expect(MongoDBExpected)['toStrictEqual'](MongoDB);const OracleExpected={'entity':'Products','dialect':'Oracle','source':sJ(0x1f5),'sentence':'SELECT\x20p.ProductID\x20AS\x20\x22id\x22,\x20p.ProductName\x20AS\x20\x22name\x22,\x20p.SupplierID\x20AS\x20\x22supplierId\x22,\x20p.CategoryID\x20AS\x20\x22categoryId\x22,\x20p.QuantityPerUnit\x20AS\x20\x22quantity\x22,\x20p.UnitPrice\x20AS\x20\x22price\x22,\x20p.UnitsInStock\x20AS\x20\x22inStock\x22,\x20p.UnitsOnOrder\x20AS\x20\x22onOrder\x22,\x20p.ReorderLevel\x20AS\x20\x22reorderLevel\x22,\x20p.Discontinued\x2