Documentation
Preparing search index...
@saltcorn/sqlite
sqlite
selectMaybeOne
Function selectMaybeOne
selectMaybeOne
(
tbl
:
string
,
where
:
Where
,
selectopts
?:
SelectOptions
,
)
:
Promise
<
null
|
Row
>
Select one record or null if no records
Parameters
tbl
:
string
table name
where
:
Where
where object
Optional
selectopts
:
SelectOptions
= {}
select options
Returns
Promise
<
null
|
Row
>
null if no record or first record data
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Select one record or null if no records