mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fmt: remove space in front of ? and ! (#14366)
This commit is contained in:
parent
df029da942
commit
d679146a80
324 changed files with 1865 additions and 1879 deletions
|
@ -8,8 +8,8 @@ fn main() {
|
|||
password: ''
|
||||
dbname: 'mysql'
|
||||
}
|
||||
conn.connect() ?
|
||||
res := conn.query('show tables') ?
|
||||
conn.connect()?
|
||||
res := conn.query('show tables')?
|
||||
for row in res.rows() {
|
||||
println(row.vals.join(', '))
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import sqlite
|
||||
|
||||
fn main() {
|
||||
db := sqlite.connect(':memory:') ?
|
||||
db := sqlite.connect(':memory:')?
|
||||
db.exec("create table users (id integer primary key, name text default '');")
|
||||
|
||||
db.exec("insert into users (name) values ('Sam')")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue