mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
A lower-level transaction API and a transaction command in the shell
This commit is contained in:
@@ -730,6 +730,19 @@ pgfCommands = Map.fromList [
|
||||
("lang","the language from which to remove the lin or the lincat")
|
||||
],
|
||||
needsTypeCheck = False
|
||||
}),
|
||||
("t", emptyCommandInfo {
|
||||
longname = "transaction",
|
||||
syntax = "transaction (start|commit|rollback)",
|
||||
synopsis = "Starts, commits or rollbacks a transaction",
|
||||
explanation = unlines [
|
||||
"If there is no active transaction, each create and drop command",
|
||||
"starts its own transaction. Start it manually",
|
||||
"if you want to perform several operations in one transaction.",
|
||||
"This also makes batch operations a lot faster."
|
||||
],
|
||||
flags = [],
|
||||
needsTypeCheck = False
|
||||
})
|
||||
]
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user