UNPKG
calibre-db
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
<description>
calibre-db
/
lib
/
utils
/
makeWhere.d.ts
4 lines
(3 loc)
•
249 B
TypeScript
View Raw
1
2
3
4
export
declare
type
ILocator
=
string
|
'*'
|
''
|
'/'
;
export
declare
function
makeWhere<T
extends
Record
<
string
,
any
>>(
tableName
:
string
,
locator
:
ILocator
,
columnName
?: keyof T,
sep
?:
string
):
readonly
[
string
,
string
];
export
default
makeWhere;