mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
time: add .format_ss_milli and .format_ss_micro methods
This commit is contained in:
parent
0af415fa28
commit
8f23accc4e
4 changed files with 33 additions and 1 deletions
|
@ -24,6 +24,10 @@ mut:
|
|||
conn &C.sqlite3
|
||||
}
|
||||
|
||||
pub fn (db DB) str() string {
|
||||
return 'sqlite.DB{ conn: ' + ptr_str(db.conn) + ' }'
|
||||
}
|
||||
|
||||
pub struct Row {
|
||||
pub mut:
|
||||
vals []string
|
||||
|
@ -145,4 +149,3 @@ pub fn (db DB) exec_param(query string, param string) []Row {
|
|||
|
||||
pub fn (db DB) insert<T>(x T) {
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue