0
0
mirror of https://github.com/mattn/go-sqlite3.git synced 2025-05-24 14:54:48 +00:00
Files
go-sqlite3/driver/const.go
Gert-Jan Timmer b80de55e55 Update
* Renamed SQLiteConn.loc => SQLiteConn.tz
* Fix code format
* Added Documentation for LIMIT Constants
* Updated Crypt Encoders
* Changed
* Encoders now use CryptEncoder & CryptSaltedEncoder interfaces this allows for custom implementation by users
* Added Configuration
* Config implements Connector (Golang:1.10)
* Driver implements DriverContext (Golang:1.10)
2018-06-23 09:42:05 +02:00

35 lines
644 B
Go

// 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 (
// SQLITE_DELETE authorizer action code
SQLITE_DELETE = C.SQLITE_DELETE
// SQLITE_INSERT authorizer action code
SQLITE_INSERT = C.SQLITE_INSERT
// SQLITE_UPDATE authorizer action code
SQLITE_UPDATE = C.SQLITE_UPDATE
)
const (
columnDate string = "date"
columnDatetime string = "datetime"
columnTimestamp string = "timestamp"
)