go-sqlite3/driver/const.go

35 lines
644 B
Go
Raw Normal View History

2018-06-19 18:53:53 +03:00
// Copyright (C) 2018 The Go-SQLite3 Authors.
//
// Use of this source code is governed by an MIT-style
// license that can be found in the LICENSE file.
// +build cgo
package sqlite3
/*
#ifndef USE_LIBSQLITE3
#include <sqlite3-binding.h>
#else
#include <sqlite3.h>
#endif
*/
import "C"
const (
2018-06-21 16:51:19 +03:00
// SQLITE_DELETE authorizer action code
SQLITE_DELETE = C.SQLITE_DELETE
2018-06-21 16:51:19 +03:00
// SQLITE_INSERT authorizer action code
SQLITE_INSERT = C.SQLITE_INSERT
2018-06-21 16:51:19 +03:00
// SQLITE_UPDATE authorizer action code
SQLITE_UPDATE = C.SQLITE_UPDATE
2018-06-19 18:53:53 +03:00
)
const (
columnDate string = "date"
columnDatetime string = "datetime"
columnTimestamp string = "timestamp"
)