AskSQL API Reference (core v0.10.0)
GitHub
Preparing search index...
@asksql/core
HistoryStore
Interface HistoryStore
interface
HistoryStore
{
add
(
entry
:
HistoryEntry
)
:
Promise
<
void
>
;
list
(
connectionId
:
string
,
opts
?:
{
limit
?:
number
;
offset
?:
number
;
userId
?:
string
}
,
)
:
Promise
<
HistoryPage
>
;
}
Implemented by
MemoryHistoryStore
Index
Methods
add
list
Methods
add
add
(
entry
:
HistoryEntry
)
:
Promise
<
void
>
Parameters
entry
:
HistoryEntry
Returns
Promise
<
void
>
list
list
(
connectionId
:
string
,
opts
?:
{
limit
?:
number
;
offset
?:
number
;
userId
?:
string
}
,
)
:
Promise
<
HistoryPage
>
Parameters
connectionId
:
string
Optional
opts
:
{
limit
?:
number
;
offset
?:
number
;
userId
?:
string
}
Returns
Promise
<
HistoryPage
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
add
list
GitHub
AskSQL API Reference (core v0.10.0)
Loading...