projects
/
urlittler
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
minor updates
[urlittler]
/
src
/
db
/
postgres
/
sql
/
link-get-by-id.sql
1
SELECT
*,
2
extract
(
epoch
from
created
)
AS
created
,
3
extract
(
epoch
from
last_access
)
AS
last_access
,
4
extract
(
epoch
from
expires
)
AS
expires
5
FROM link WHERE id
=
$
(
id
)