Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 789 Bytes

File metadata and controls

38 lines (29 loc) · 789 Bytes

SQLite3

:execlastid - Implementation

:execlastid - Implementation

Implemented via a RETURNING clause, allowing the INSERT command to return the newly created id. Only integer data type is supported as id for this annotation.

INSERT INTO tab1 (field1, field2) VALUES ('a', 1) RETURNING id_field;
:copyfrom - Implementation Implemented via a multi `VALUES` clause, like this:
INSERT INTO tab1 (field1, field2) VALUES 
('a', 1),
('b', 2),
('c', 3);
Supported Data Types
DB Type Supported?
integer
real
text
blob