Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apecloud/myduckserver
/ functions
Functions
1,318 in github.com/apecloud/myduckserver
⨍
Functions
1,318
◇
Types & classes
179
↓ 2 callers
Method
Action
()
binlogreplication/writer.go:22
↓ 2 callers
Method
AllDatabases
AllDatabases implements sql.DatabaseProvider.
catalog/provider.go:414
↓ 2 callers
Method
AttachCatalog
(file interface { IsDir() bool Name() string }, ignoreNonDB bool)
catalog/provider.go:273
↓ 2 callers
Function
CauseImplicitCommitAfter
CauseImplicitCommitAfter returns true if the statement cause an implicit commit after executing: https://dev.mysql.com/doc/refman/8.4/en/implicit-comm
mysqlutil/mysqlutil.go:22
↓ 2 callers
Method
CloseTxn
CloseTxn implements adapter.ConnectionHolder.
backend/session.go:239
↓ 2 callers
Method
CloseTxn
()
adapter/adapter.go:19
↓ 2 callers
Method
ConnectionClosed
ConnectionClosed reports that a connection has been closed.
pgserver/handler.go:41
↓ 2 callers
Method
CountAllStmt
()
catalog/internal_tables.go:148
↓ 2 callers
Function
CreatePublicationIfNotExists
CreatePublicationIfNotExists creates a publication with the given name if it does not already exist. Mostly useful for testing. Customers should run t
pgserver/logrepl/replication.go:552
↓ 2 callers
Method
CreateReplicationSlotIfNotExists
CreateReplicationSlotIfNotExists creates the replication slot named if it doesn't already exist.
pgserver/logrepl/replication.go:611
↓ 2 callers
Function
CreateSubscription
(ctx *sql.Context, name, conn, pub, lsn string, enabled bool)
pgserver/logrepl/subscription.go:106
↓ 2 callers
Method
CurrentCatalog
CurrentCatalog retrieves the current catalog of the connection. Returns an empty string if the connection is not established or the catalog cannot be
catalog/connpool.go:68
↓ 2 callers
Function
Decode
(id sql.CharacterSetID, encoded string)
charset/charset.go:85
↓ 2 callers
Function
DenormalizeStrings
normalizes a query string to convert any Postgres syntax to MySQL syntax
transpiler/converter.go:172
↓ 2 callers
Method
Disconnect
()
compatibility/mysql/csharp/MySQLTest.cs:31
↓ 2 callers
Method
Disconnect
()
compatibility/pg/csharp/PGTest.cs:31
↓ 2 callers
Function
Encode
(id sql.CharacterSetID, utf8 string)
charset/charset.go:75
↓ 2 callers
Method
Err
()
flightsqlserver/sqlite_tables_schema_batch_reader.go:71
↓ 2 callers
Method
FlushDeltaBuffer
FlushDelta writes the accumulated changes to the database.
binlogreplication/writer.go:54
↓ 2 callers
Function
GetCatalogConn
(ctx *sql.Context)
adapter/adapter.go:27
↓ 2 callers
Method
GetCatalogConn
GetCatalogConn implements adapter.ConnectionHolder.
backend/session.go:209
↓ 2 callers
Method
GetCatalogTxn
(ctx context.Context, options *stdsql.TxOptions)
adapter/adapter.go:15
↓ 2 callers
Function
GetSqlTableFromContext
GetSqlTableFromContext returns the table from the context. Uses the context's current database if an empty database name is provided. Returns nil if n
pgserver/core.go:44
↓ 2 callers
Function
GetStatementTag
(stmt *duckdb.Stmt)
pgserver/stmt.go:37
↓ 2 callers
Method
GetTableNames
GetTableNames implements sql.Database.
catalog/database.go:41
↓ 2 callers
Function
GetTxn
(ctx *sql.Context, options *stdsql.TxOptions)
adapter/adapter.go:35
↓ 2 callers
Function
GetTypeInfoResult
(mem memory.Allocator)
flightsqlserver/type_info.go:31
↓ 2 callers
Function
GoDuckDBTypeNameToPostgresType
GoDuckDBTypeNameToPostgresType parses a type name reported by the go-duckdb driver into a corresponding pgtype.Type with its precision and scale (if a
pgtypes/pgtypes.go:257
↓ 2 callers
Function
GuessStatementTag
(query string)
pgserver/stmt.go:88
↓ 2 callers
Method
Insert
(ctx *sql.Context, rows []sql.Row)
replica/updater.go:247
↓ 2 callers
Function
IsDuckDBSetSchemaNotFoundError
ERROR 1105 (HY000): unknown error: Catalog Error: SET schema: No catalog + schema named "mysql.db0" found.
catalog/errors.go:32
↓ 2 callers
Function
IsDuckDBTableAlreadyExistsError
(err error)
catalog/errors.go:18
↓ 2 callers
Function
IsDuckDBTableNotFoundError
(err error)
catalog/errors.go:23
↓ 2 callers
Function
IsPureDataQuery
IsPureDataQuery inspects if the plan is a pure data query, i.e., it operates on (>=1) data tables and does not touch any system tables. The following
backend/executor.go:291
↓ 2 callers
Method
IsReadOnly
IsReadOnly implements sql.SystemVariable.
pgserver/pgconfig/parameters.go:136
↓ 2 callers
Method
IsRunning
IsRunning returns true if this instance is processing binlog events and has not been stopped.
binlogreplication/binlog_replica_event_producer.go:89
↓ 2 callers
Method
IsStringType
()
binlogreplication/binlog_replication_alltypes_test.go:149
↓ 2 callers
Function
IsSupported
(id sql.CharacterSetID)
charset/charset.go:18
↓ 2 callers
Function
IsSupportedNonUTF8
(id sql.CharacterSetID)
charset/charset.go:41
↓ 2 callers
Function
IsUTF8
(id sql.CharacterSetID)
charset/charset.go:33
↓ 2 callers
Method
IsUnique
IsUnique returns whether this index is unique
catalog/index.go:55
↓ 2 callers
Method
Name
Name implements sql.Database.
catalog/database.go:123
↓ 2 callers
Function
NewBucket
(config *aws.Config)
storage/object_storage_client.go:26
↓ 2 callers
Function
NewController
()
delta/controller.go:37
↓ 2 callers
Function
NewDatabase
(name string, catalogName string)
catalog/database.go:32
↓ 2 callers
Function
NewIndex
(dbName, tableName, name string, unique bool, comment *Comment[any], exprs []sql.Expression)
catalog/index.go:17
↓ 2 callers
Function
NewListenerWithOpts
(listenerCfg mysql.ListenerConfig, opts ...ListenerOpt)
pgserver/listener.go:76
↓ 2 callers
Function
NewLogicalReplicator
NewLogicalReplicator creates a new logical replicator instance which connects to the primary and replication databases using the connection strings pr
pgserver/logrepl/replication.go:64
↓ 2 callers
Function
NewQueryRemover
(regex string)
pgserver/query_modifier.go:15
↓ 2 callers
Function
NewRestoreConfig
(dbName, remotePath string, storageConfig *storage.ObjectStorageConfig)
pgserver/restore_handler.go:38
↓ 2 callers
Function
NewSQLRowIter
(rows *stdsql.Rows, schema sql.Schema)
backend/iter.go:52
↓ 2 callers
Function
NewSQLiteFlightSQLServer
(db *sql.DB)
flightsqlserver/sqlite_server.go:224
↓ 2 callers
Function
NewServer
(provider *catalog.DatabaseProvider, host string, port int, password string, newCtx func() *sql.Context, optio
pgserver/server.go:17
↓ 2 callers
Function
NewSessionBuilder
NewSessionBuilder returns a session builder for the given database provider.
backend/session.go:51
↓ 2 callers
Function
NormalizeIntsAndFloats
NormalizeIntsAndFloats normalizes all int and float types to int64 and float64, respectively.
pgtest/framework.go:323
↓ 2 callers
Function
NormalizeVal
NormalizeVal normalizes values to the Doltgres type expects, so it can be used to convert the values using the given Doltgres type. This is used to no
pgtest/framework.go:260
↓ 2 callers
Method
NumAugmentedFields
()
delta/delta.go:69
↓ 2 callers
Function
ParseFormat
(s string)
pgserver/copy.go:30
↓ 2 callers
Method
Persist
Persist implements the interface mysql_db.MySQLDbPersistence.
persist.go:37
↓ 2 callers
Function
QueryRow
(ctx *sql.Context, query string, args ...any)
adapter/adapter.go:67
↓ 2 callers
Function
RemoveLeadingComments
(query string)
pgserver/stmt.go:103
↓ 2 callers
Method
Schema
()
delta/delta.go:81
↓ 2 callers
Method
Schema
()
flightsqlserver/sqlite_tables_schema_batch_reader.go:89
↓ 2 callers
Method
SelectAllStmt
()
catalog/internal_tables.go:140
↓ 2 callers
Method
SelectStmt
()
catalog/internal_tables.go:96
↓ 2 callers
Method
SetupScriptsToSkip
(setupScripts ...[]setup.SetupScript)
harness/duck_harness.go:213
↓ 2 callers
Method
Storage
()
catalog/provider.go:383
↓ 2 callers
Method
String
()
pgtypes/pgtypes.go:457
↓ 2 callers
Method
ToDNS
ToDNS Format SubscriptionConfig into a DNS
pgserver/subscription_handler.go:157
↓ 2 callers
Method
TryGetTxn
()
adapter/adapter.go:16
↓ 2 callers
Method
TxnGroup
()
binlogreplication/writer.go:25
↓ 2 callers
Method
TxnSeqNumber
()
binlogreplication/writer.go:26
↓ 2 callers
Method
TxnServer
()
binlogreplication/writer.go:24
↓ 2 callers
Method
TxnStmtOrdinal
()
binlogreplication/writer.go:27
↓ 2 callers
Method
TxnTag
()
binlogreplication/writer.go:23
↓ 2 callers
Function
UnmarshalAndMarshalJsonString
UnmarshalAndMarshalJsonString is used to normalize expected json type value to compare the actual value. JSON type value is in string format, and sinc
pgtest/framework.go:158
↓ 2 callers
Function
UpdateAllSubscriptionStatus
(ctx *sql.Context, enabled bool)
pgserver/logrepl/subscription.go:116
↓ 2 callers
Method
UpdateStmt
(keyColumns []string, valueColumns []string)
catalog/internal_tables.go:18
↓ 2 callers
Function
UpdateSubscriptionStatus
(ctx *sql.Context, enabled bool, name string)
pgserver/logrepl/subscription.go:111
↓ 2 callers
Method
UploadFile
(ctx context.Context, bucketName string, objectKey string, fileName string)
storage/object_storage_client.go:30
↓ 2 callers
Function
WaitForSqlServerToStart
WaitForSqlServerToStart polls the specified database to wait for it to become available, pausing between retry attempts, and returning an error if it
testutil/testutil.go:171
↓ 2 callers
Function
WithConnID
(connID *atomic.Uint32)
pgserver/listener.go:65
↓ 2 callers
Function
WithEngine
(engine *gms.Engine)
pgserver/listener.go:53
↓ 2 callers
Function
WithSessionManager
(sm *server.SessionManager)
pgserver/listener.go:59
↓ 2 callers
Method
Zero
()
pgtypes/pgtypes.go:453
↓ 2 callers
Method
addTest
(query string, expectedResults [][]string)
compatibility/mysql/go/mysql.go:40
↓ 2 callers
Method
addTest
(query, expectedResults)
compatibility/mysql/node/mysql_test.js:88
↓ 2 callers
Method
addTest
(query string, expectedResults [][]string)
compatibility/pg/go/pg.go:40
↓ 2 callers
Method
addTest
(query, expectedResults)
compatibility/pg/node/pg_test.js:71
↓ 2 callers
Method
add_test
(self, query, expected_results)
compatibility/mysql/python/mysql_test.py:54
↓ 2 callers
Method
add_test
(self, query, expected_results)
compatibility/pg/python/pg_test.py:56
↓ 2 callers
Function
appendByteSlices
(bytes ...[]byte)
binlogreplication/binlog_json_serialization_test.go:310
↓ 2 callers
Function
applyRequestModifiers
applyRequestModifiers applies request modifiers to a query
backend/request_modifier.go:21
↓ 2 callers
Function
areAllExpressionsNil
(exprs []sql.Expression)
backend/loaddata.go:36
↓ 2 callers
Function
assertCreateTableStatement
(t *testing.T, database *sqlx.DB, table string, expectedStatement string)
binlogreplication/binlog_replication_test.go:802
↓ 2 callers
Function
assertNullValues
(t *testing.T, row map[string]interface{})
binlogreplication/binlog_replication_alltypes_test.go:538
↓ 2 callers
Method
base64HeaderBytes
base64HeaderBytes returns the GS2 header encoded as bytes.
pgserver/authentication_scram.go:346
↓ 2 callers
Function
buildCondenseDeltaSQL
(viewName string, appender *DeltaAppender)
delta/controller.go:654
↓ 2 callers
Method
buildConfig
()
storage/object_storage.go:86
↓ 2 callers
Function
buildDeleteTemplate
(tableName string, columnCount int, schema sql.Schema, pkColumns []int, identifyColumns mysql.Bitmap)
replica/updater.go:155
← previous
next →
201–300 of 1,318, ranked by callers