mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
removed unused draft
This commit is contained in:
@@ -100,32 +100,3 @@ export const generateFilteredCrossSearchSqlWithAdmin = (limit: number, offset: n
|
||||
${offset}
|
||||
`
|
||||
}
|
||||
|
||||
export const oldGenerateFilteredCrossSearchSql = (limit: number) => {
|
||||
return Prisma.sql`
|
||||
SELECT
|
||||
now_plr.pid,
|
||||
now_loc.lid,
|
||||
loc_name,
|
||||
country,
|
||||
com_species.species_id
|
||||
FROM
|
||||
now_ls
|
||||
LEFT JOIN
|
||||
now_loc
|
||||
ON
|
||||
now_ls.lid = now_loc.lid
|
||||
LEFT JOIN
|
||||
com_species
|
||||
ON
|
||||
now_ls.species_id = com_species.species_id
|
||||
LEFT JOIN
|
||||
now_plr
|
||||
ON
|
||||
now_loc.lid = now_plr.lid
|
||||
ORDER BY
|
||||
now_loc.lid
|
||||
LIMIT
|
||||
${limit}
|
||||
`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user