Skip to content

Conversation

superalsrk
Copy link

Some times in sqlite, the field may be just an integer.

if we use sql like

create table foo (id integer not null primary key, name text, 1 float);

it runs wrong, so a better solution is to use sql like

create table foo ([id] integer not null primary key, [name] text, [1] float);

@superalsrk superalsrk changed the title optimize creqte table sql in examples optimize create table sql in examples Feb 11, 2015
@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.01% when pulling ef218ac on LeiFung:master into 25d045f on mattn:master.

@mattn
Copy link
Owner

mattn commented Feb 24, 2015

I don't use this syntax without it need to do. Sorry.

@mattn mattn closed this Feb 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants